C# 클래스 AzurelensBlob.BlobManager

Azure Storage Blob Sample - Demonstrate how to use the Blob Storage service. Blob storage stores unstructured data such as text, binary data, documents or media files. Blobs can be accessed from anywhere in the world via HTTP or HTTPS. Note: This sample uses the .NET 4.5 asynchronous programming model to demonstrate how to call the Storage Service using the storage client libraries asynchronous API's. When used in real applications this approach enables you to improve the responsiveness of your application. Calls to the storage service are prefixed by the await keyword. Documentation References: - What is a Storage Account - http://azure.microsoft.com/en-us/documentation/articles/storage-whatis-account/ - Getting Started with Blobs - http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-blobs/ - Blob Service Concepts - http://msdn.microsoft.com/en-us/library/dd179376.aspx - Blob Service REST API - http://msdn.microsoft.com/en-us/library/dd135733.aspx - Blob Service C# API - http://go.microsoft.com/fwlink/?LinkID=398944 - Delegating Access with Shared Access Signatures - http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-shared-access-signature-part-1/ - Storage Emulator - http://msdn.microsoft.com/en-us/library/azure/hh403989.aspx - Asynchronous Programming with Async and Await - http://msdn.microsoft.com/en-us/library/hh191443.aspx
파일 보기 프로젝트 열기: MicrosoftDX/AzureLens

공개 메소드들

메소드 설명
DeleteImage ( string ImageName ) : bool
DownloadImageAsync ( string ImageName ) : Task
ImageExists ( string ImageName ) : bool
ListImagesAsync ( string Location ) : Task
SearchAndDownloadImageAsync ( string ImageNameQuery ) : Task
UploadImage ( Stream ImageToUpload, string ImageName ) : Task

비공개 메소드들

메소드 설명
CreateStorageAccountFromConnectionString ( string storageConnectionString ) : CloudStorageAccount

Validates the connection string information in app.config and throws an exception if it looks like the user hasn't updated this to valid values.

메소드 상세

DeleteImage() 공개 정적인 메소드

public static DeleteImage ( string ImageName ) : bool
ImageName string
리턴 bool

DownloadImageAsync() 공개 정적인 메소드

public static DownloadImageAsync ( string ImageName ) : Task
ImageName string
리턴 Task

ImageExists() 공개 정적인 메소드

public static ImageExists ( string ImageName ) : bool
ImageName string
리턴 bool

ListImagesAsync() 공개 정적인 메소드

public static ListImagesAsync ( string Location ) : Task
Location string
리턴 Task

SearchAndDownloadImageAsync() 공개 정적인 메소드

public static SearchAndDownloadImageAsync ( string ImageNameQuery ) : Task
ImageNameQuery string
리턴 Task

UploadImage() 공개 정적인 메소드

public static UploadImage ( Stream ImageToUpload, string ImageName ) : Task
ImageToUpload Stream
ImageName string
리턴 Task