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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
TonyTonyKun
December 10, 2017
Technology
340
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
Transcript
11 slides
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. ⼀部挙動が変わっているので、動作検証しましょう。 • それなりにコストのかかる作業なので、早めに対応 しましょう。
ご清聴ありがとうございました。
More Decks by TonyTonyKun
See All by TonyTonyKun
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/aidevday2026
thara0402
0
530
Azure Static Web Apps の自動ビルドがタイムアウトしやすくなった状況に対応した件/global-azure2026
thara0402
0
910
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
490
これでバッチリ!Azure マルチテナントアーキテクチャ設計のコツ/jat06
thara0402
0
820
Azure Load Testing を使って Azure Functions Flex Consumption の HTTP Trigger のパフォーマンスとコストを最適化してみよう/global-azure2025
thara0402
0
410
Prompty を使って生成 AI アプリケーション開発のプロンプトを管理する/jat03
thara0402
0
110
Azure OpenAI Service で意図せず PTU モデルをデプロイして高額請求されてしまった件/jat04
thara0402
0
120
「Durable Task Scheduler」をチョイ見せ!/jat05
thara0402
0
86
Azure App Service on Linux の Sidecar に Phi-3 を配置してインテリジェントなアプリケーションを作ってみよう/jazug-anniv14
thara0402
0
1.6k
Other Decks in Technology
See All in Technology
Libérez Firefox et Thunderbird avec nos astuces
hellosct1
0
180
Welcome JXL!
dynamis
0
180
Kiro のリモートワークスペース: IDE は手元のままで、ワークスペースをクラウド、コンテナ、自前のマシンに置く
inariku
PRO
1
210
HTTP通信に使おうとすると実はめんどくさいfile_get_contents
maguroalternative
0
260
みん強Lightning! データ基盤ひとりでできるかな
endonanana
0
210
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
450
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
490
セキュリティチームは どのコンテナイメージの脆弱性対応を優先すべきか 〜CISA新指針とSCCで作る脆弱性トリアージ〜
swdtkuy
0
340
ワークフローからハーネスへ — Web フレームワークの作者たちが AI エージェントに向かう理由
azukiazusa1
4
2.2k
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
510
コーディングできない僕にBobが舞い降りた
shumpei3
0
210
2026-11-16 JAWS-UG コンテナ支部 #31 ゆるLT大会 ECR のライフサイクルポリシーを いい感じに設定したい / ECR Lifecycle policy
masasuzu
3
630
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
The SEO identity crisis: Don't let AI make you average
varn
0
630
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
1k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
Designing for humans not robots
tammielis
254
26k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
6
970
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
43k