Technique Two

Strongly Typing a value from the Config File

Learn more about reading configuration files here.

Strongly typing the return value using the GetValue method of the configuration object.

                           _configuration.GetSection("CustomSettings").GetValue("Pudding");
                

Pudding : Tapioca