0
shobhit created
- ABP Framework version: v4.2.2
- UI Type: Angular
- Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace:
- Steps to reproduce the issue:
Hi Team, As per my understanding ABP bydefault support Azure Container for blob storage. My question is, if it is possible to have S3 bucket support for a particular tenant while host and other tenants can keep using Azure container? If yes, how i can achieve it. Please share sample.
1 Answer(s)
-
0
Hi,
You can configure different storage for different containers. for example:
[BlobContainerName("host-profile-pictures")] public class HostPictureContainer { } [BlobContainerName("tenant-profile-pictures")] public class TenantPictureContainer { } Configure<AbpBlobStoringOptions>(options => { options.Containers.Configure<HostPictureContainer>(container => { container.IsMultiTenant = false; container.UseAws(aws => { .... }); }); options.Containers.Configure<TenantPictureContainer>(container => { container.UseAzure(azure => { .... }); }); });