Browse Source

Complete the BLOB Storing document.

pull/4305/head
Halil İbrahim Kalkan 6 years ago
parent
commit
74f3c7775e
  1. 5
      docs/en/Blob-Storing.md
  2. 30
      docs/en/docs-nav.json
  3. 5
      framework/src/Volo.Abp.BlobStoring/Volo/Abp/BlobStoring/IBlobContainerConfigurationProvider.cs

5
docs/en/Blob-Storing.md

@ -289,7 +289,10 @@ Configure<AbpBlobStoringOptions>(options =>
## Extending the BLOB Storing System
TODO
Most of the times, you won't need to customize the BLOB storage system except [creating a custom BLOB storage provider](Blob-Storing-Custom-Provider.md). However, you can replace any service introduced above (via [dependency injection](Dependency-Injection.md)), if you need. Here, some other services not mentioned above, but you may want to know:
* `IBlobProviderSelector` is used to get a `IBlobProvider` instance by a container name. Default implementation (`DefaultBlobProviderSelector`) selects the provider using the configuration.
* `IBlobContainerConfigurationProvider` is used to get the `BlobContainerConfiguration` for a given container name. Default implementation (`DefaultBlobContainerConfigurationProvider`) gets the configuration from the `AbpBlobStoringOptions` explained above.
## See Also

30
docs/en/docs-nav.json

@ -179,6 +179,36 @@
"text": "Object to object mapping",
"path": "Object-To-Object-Mapping.md"
},
{
"text": "BLOB Storing",
"items": [
{
"text": "BLOB Storing System",
"path": "Blob-Storing.md"
},
{
"text": "Storage Providers",
"items": [
{
"text": "File System Provider",
"path": "Blob-Storing-File-System.md"
},
{
"text": "Database Provider",
"path": "Blob-Storing-Database.md"
},
{
"text": "Azure Provider",
"path": "Blob-Storing-Azure.md"
},
{
"text": "Create a Custom Provider",
"path": "Blob-Storing-Custom-Provider.md"
}
]
}
]
},
{
"text": "Text Templating",
"path": "Text-Templating.md"

5
framework/src/Volo.Abp.BlobStoring/Volo/Abp/BlobStoring/IBlobContainerConfigurationProvider.cs

@ -2,6 +2,11 @@
{
public interface IBlobContainerConfigurationProvider
{
/// <summary>
/// Gets a <see cref="BlobContainerConfiguration"/> for the given container <paramref name="name"/>.
/// </summary>
/// <param name="name">The name of the container</param>
/// <returns>The configuration that should be used for the container</returns>
BlobContainerConfiguration Get(string name);
}
}
Loading…
Cancel
Save