Configurations

Understanding Configurations in fullstackhero's Web API.

Within the Host boot project there is a folder called “Configurations”. where there are all the configuration files, one for each area.

General Structure

├── Host.csproj
│   ├── Configurations
│   |   ├── cache.json
│   |   ├── cors.json
│   |   ├── database.json
│   |   ├── hangfire.json
│   |   ├── logger.json
│   |   ├── mail.json
│   |   ├── middleware.json
│   |   ├── openapi.json
│   |   ├── security.json
│   |   ├── securityheaders.json
│   |   └── signalr.json
|   ├── appsettings.json
|

The classic appsettings.json configuration file is still available to manage custom parameters.

The Startup class inside the folder is responsible for loading all the configuration files described above.

Like fullstackhero? ❤️

Here is what you can do to show your support!

Buy me a Coffee ☕ Sponsor 😍