Related Interfaces:
IDocumentStorageService.cs
Fields
Constructor
Properties
DocumentStorageService does not have any properties.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Wraps the Azure Storage SDK for storing & managing blobs.
IDocumentStorageService.cs
| Field Name | Type | Description |
|---|---|---|
_connectionString | string | Connection string to Azure Storage |
public DocumentStorageService( string azureStorageConnectionString )
{
_connectionString = azureStorageConnectionString;
}
DocumentStorageService does not have any properties.
| Method Name | Description | Parameters | Return Type |
|---|---|---|---|
GetBlobContainerClient | Instantiates a client for a specific blob container | string | BlobContainerClient |
UploadBlobAsync | Attempts to upload a blob to a specific blob container | string, string, Stream | Task<(bool IsSuccess, string ErrorMessage)> |
namespace Numa.Interfaces
{
public interface IDocumentStorageService
{
Task<(bool IsSuccess, string ErrorMessage)> UploadBlobAsync( string containerName, string fileName, Stream stream );
}
}
