Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
Leonard Harris edited this page May 12, 2018 · 3 revisions

Blob Storage Helper for Xamarin forms

Helper library for the client library that enables working with the Microsoft Azure storage services which include the blob and file service for storing binary and text data. . Unofficial.

Methods available

• SaveFile

• LoadFile

• UploadBlob

• DeleteFile

• RetrieveBlob

• FileExists

Setup

Available on NuGet: https://www.nuget.org/packages/LeoJHarris.XForms.Plugin.BlobStorageHelper/1.0.0 into your .forms, .android and .iOS projects

Usage

var stream = await ImageService.Instance.LoadUrl("https://cdn4.iconfinder.com/data/icons/iconsimple-logotypes/512/github-128.png").AsPNGStreamAsync(); Guid guid = Guid.NewGuid(); Uri uri = await LeoJHarris.XForms.Plugin.BlobStorageHelper.CrossBlobStorageHelper.Current.UploadBlob("#YOUR CONTAINER NAME ON AZURE#", guid, "#CONNECTION STRING#", stream);

License

Licensed under MIT, see license file

Clone this wiki locally