Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Azure Storage Client 1.7 を 4.3 に移行するときに知っておきたい3...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
TonyTonyKun
December 10, 2017
Technology
330
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Azure Storage Client 1.7 を 4.3 に移行するときに知っておきたい3つのこと
JAZUG 4周年総会の LT 資料です。
TonyTonyKun
December 10, 2017
More Decks by TonyTonyKun
See All by TonyTonyKun
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/aidevday2026
thara0402
0
480
Azure Static Web Apps の自動ビルドがタイムアウトしやすくなった状況に対応した件/global-azure2026
thara0402
0
890
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
460
これでバッチリ!Azure マルチテナントアーキテクチャ設計のコツ/jat06
thara0402
0
810
Azure Load Testing を使って Azure Functions Flex Consumption の HTTP Trigger のパフォーマンスとコストを最適化してみよう/global-azure2025
thara0402
0
390
Prompty を使って生成 AI アプリケーション開発のプロンプトを管理する/jat03
thara0402
0
100
Azure OpenAI Service で意図せず PTU モデルをデプロイして高額請求されてしまった件/jat04
thara0402
0
120
「Durable Task Scheduler」をチョイ見せ!/jat05
thara0402
0
81
Azure App Service on Linux の Sidecar に Phi-3 を配置してインテリジェントなアプリケーションを作ってみよう/jazug-anniv14
thara0402
0
1.6k
Other Decks in Technology
See All in Technology
Running Kotlin + Quarkus with Lambda
nealle
1
4k
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
280
React改造してみた
tsukina_7mochi
0
120
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
7
5.1k
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
480
Metadata - Section 1: HTML Basics
mohab1
0
120
S3 Filesで挑む! 八戸せんべい汁の食べ頃問題
usanchuu
0
120
ウォンテッドリーの最近のプロダクトと技術の紹介
stomk
0
130
sue445's proposals 2026
sue445
0
100
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
PRO
0
440
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
620
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
A Soul's Torment
seathinner
8
3.8k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
How to make the Groovebox
asonas
2
2.5k
Odyssey Design
rkendrick25
PRO
2
880
Bash Introduction
62gerente
615
220k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Prompt Engineering for Job Search
mfonobong
0
520
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
Transcript
Azure Storage Client 1.7 を 4.3 に移⾏ するときに知っておきたい3つのこと
⾃⼰紹介 • 名前 • Twitter : @TonyTonyKun(トニー) • 仕事 •
C#で業務アプリケーションを開発しています。 • 得意分野は、Azure と ASP.NET Web API • Auzre 歴 • 2010年頃〜 • Blog • ROMANCE DAWN for the new world • http://gooner.hateblo.jp/
2010年頃の Azure 提供されていたサービス 管理ポータルからの VIP Swap
先⽉、告知されました。 • どのバージョンが使えなくなるの? • .NET の場合、Client Library 1.x • いつ使えなくなるの?
• 2015年8⽉1⽇ • 対応は? • 新しいバージョンの Client Library に更新する(最新版は、4.3)
うちのクラウドサービス 全部 1.7 だったズラー!
ポイント① Azure SDK のバージョンとは違う Visual Studio からアップグレードするだけでは、 Storage Client 1.x
は更新されない! 1.x : Microsoft.WindowsAzure.StorageClient.dll 2.0 〜 : Microsoft.WindowsAzure.Storage.dll
ポイント② ビルドエラーの嵐に⾒舞われる! • 2.0 以降で互換性が保証されない変更が⼊っています。 • TableClient ではなく、CloudTable で操作する。 •
CloudBlob が削除されたので、CloudBlockBlob を使う。 • CreateIfNotExists() のメソッド名に「s」が付いた etc • どのように置き換えるのかの情報が少なく、苦労しました。 • ブログにまとめたので、参考にしてみてください。 http://gooner.azurewebsites.net/2014/09/16/azure-storage/
ポイント③ Blob に罠あり! • Blob は、⼀部実⾏時の挙動が変わっているものがあります。 • 1.7 ではどちらも動作しましたが、2.0 以降では必ず
Blob 名 を渡す必要があります。 CloudBlobContainer container = blobClient.GetContainerReference(“test”); CloudBlockBlob blob1 = container.GetBlockBlobReference(“hoge.jpeg”); CloudBlockBlob blob2 = container.GetBlockBlobReference(“http://127.0.0.1:10000/devstoreaccount1/test/hoge.jpeg"); 2.0 以降では、動作しない!
⾯倒なだけではなく、嬉しいことも。 • パフォーマンスの向上。 • Table の通信がデフォルトで JSON に。 • Blob
のアップロードが速い。 • async / await の⾮同期処理に対応。 • 読み取り専⽤地理冗⻑(RA-GRS)に対応。 • Azure Files に対応。
まとめ • .NET の Storage Client 1.x が使えるのは、2015 年8⽉1⽇まで! 1.
Azure SDK のバージョンとは違うので、要確認。 2. 互換性が保証されていないので、コードの書き換えが必要。 3. ⼀部挙動が変わっているので、動作検証しましょう。 • それなりにコストのかかる作業なので、早めに対応 しましょう。
ご清聴ありがとうございました。