<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ASP.NET Core Configuration on CodingBlast</title><link>https://codingblast.com/tags/asp.net-core-configuration/</link><description>Recent content in ASP.NET Core Configuration on CodingBlast</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 13 Feb 2021 17:39:25 +0000</lastBuildDate><atom:link href="https://codingblast.com/tags/asp.net-core-configuration/index.xml" rel="self" type="application/rss+xml"/><item><title>ASP.NET Core Configuration - Reloading, Binding, Injecting</title><link>https://codingblast.com/asp-net-core-configuration-reloading-binding-injecting/</link><pubDate>Thu, 14 Sep 2017 08:10:55 +0000</pubDate><guid>https://codingblast.com/asp-net-core-configuration-reloading-binding-injecting/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In the &lt;a href="https://codingblast.com/asp-net-core-configuration/"&gt;last post&lt;/a&gt;, we talked about ASP.NET Core Configuration in general.&lt;/p&gt;
&lt;p&gt;We saw how is it set up by default from ASP.NET Core.&lt;/p&gt;
&lt;p&gt;We also talked about sources and that order matters.&lt;/p&gt;
&lt;p&gt;This time we will talk about mapping configuration to classes.&lt;/p&gt;</description></item><item><title>ASP.NET Core Configuration</title><link>https://codingblast.com/asp-net-core-configuration/</link><pubDate>Sun, 10 Sep 2017 11:02:32 +0000</pubDate><guid>https://codingblast.com/asp-net-core-configuration/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;ASP.NET Core configuration differs greatly from standard ASP.NET.
Instead of web.config or any other way to set up the configuration we use built-in Configuration framework that comes with ASP.NET Core.
It is still key-value pairs collection at the end, but we can obtain those values from various sources. One of default sources is &lt;strong&gt;appsettings.json&lt;/strong&gt; file that comes with all templates. ASP.NET Core 2 templates have configuration already filled with values from &lt;strong&gt;appsettings.json&lt;/strong&gt; file, along with few other sources.
However, we can use and &lt;strong&gt;combine&lt;/strong&gt; various sources for configuration settings (values):&lt;/p&gt;</description></item></channel></rss>