Files
admin/_docs/02_document/modules/common_configs_resources_config.md
T
2026-04-16 06:25:36 +03:00

933 B

Module: Azaion.Common.Configs.ResourcesConfig

Purpose

Configuration POCO for file resource storage paths, bound from appsettings.json section ResourcesConfig.

Public Interface

Property Type Description
ResourcesFolder string Root directory for uploaded resource files
SuiteInstallerFolder string Subdirectory for production installer files
SuiteStageInstallerFolder string Subdirectory for staging installer files

Internal Logic

None — pure data class.

Dependencies

None.

Consumers

  • ResourcesService — uses all three properties to resolve file paths

Data Models

None.

Configuration

Bound via builder.Configuration.GetSection(nameof(ResourcesConfig)) in Program.cs.

External Integrations

None.

Security

Paths control where files are read from and written to on the server's filesystem.

Tests

None.