Implement azurite
This commit is contained in:
		| @@ -22,6 +22,12 @@ namespace Core.Blueprint.Storage.Configuration | ||||
|             { | ||||
|                 if (environment == "Local") | ||||
|                 { | ||||
|                     var accountKey = configuration.GetSection("BlobStorage:AccountKey").Value; | ||||
|                     var accountName = configuration.GetSection("BlobStorage:AccountName").Value; | ||||
|  | ||||
|                     if(string.IsNullOrEmpty(accountKey) && string.IsNullOrEmpty(accountName)) | ||||
|                         throw new ArgumentException("The BlobStorage configuration section is missing or empty."); | ||||
|  | ||||
|                     cfg.AddBlobServiceClient(configuration.GetConnectionString("BlobStorage")); | ||||
|                 } | ||||
|                 else | ||||
|   | ||||
		Reference in New Issue
	
	Block a user