0
yunusemrecaglar created
- ABP Framework version: v7.2.2
- UI Type: Blazor Server
- Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
I want to use two blobs within the project. One should connect directly to the database, and the other should be set up as a file system. How can I do this?
1 Answer(s)
-
0
Hi,
you can do it by configuring
File Container
https://abp.io/docs/latest/framework/infrastructure/blob-storing
Configure<AbpBlobStoringOptions>(options => { options.Containers.Configure<UseFileProviderContainer>(container => { container.UseFileSystem(fileSystem => { fileSystem.BasePath = "C:\\my-files"; }); }); options.Containers.Configure<UseDbProviderContainer>(container => { container.UseDatabase(); }); });