Base solution for your next web application
Open Closed

Configuration for saving images to a database or at a specific path at the Tenant level. #6812


User avatar
0
Mazharmig created

Hi Support Team, I want to add a configuration at the tenant level that will tell the system to store images in a database or at a specific path. Images include system user profile images and other template images that we need for business processes. What is the best possible solution for adding this configuration. Thanks

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    You can define one or more (or use json storage settings objects) to set to save for each tenant.

    https://aspnetboilerplate.com/Pages/Documents/Setting-Management#setting-scope https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/Configuration/AppSettingProvider.cs#L79

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)