Skip to content

Configuration Classes

Mika Berglund edited this page Jul 25, 2019 · 3 revisions

Configuration Classes

When you have your Azure Functions project created, one of the first things to do is to create classes that represent our application configuration information. This gives us strongly typed access to our configuration data.

Please note that the classes described below do not have any special meaning. They just represent different types of configuration data that application typically use.

The table below outlines the configuration classes for our sample application.

Class Description
AppSettingsRootConfig The root class that represents all configuration data.
MyAppConfigSection The configuration section that represents configuration data for our sample application.
SmtpConfigSection The configuration section that is used to configure SMTP settings.
StorageContainerConfigSection The configuration section that is used to configure information that represents a blob storage container.

These classes all exist in the Configuration namespace.