Category - AppSettings.json
13 Dec 2021 13 Dec 2021 0 Comments  7476 Views
Here Mudassar Ahmed Khan has explained with an example, how to read Email Settings from AppSettings.json in ASP.Net Core.

The SMTP Mail settings are stored in the Smtp section of the AppSettings.json file.

The SMTP Mail settings will be read using the IConfiguration interface from the AppSettings.json file in ASP.Net Core.
13 Dec 2021 13 Dec 2021 0 Comments  4291 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the Configuration class using Dependency Injection in ASP.Net Core.

Microsoft has replaced System.Configuration class with IConfiguration interface in .Net Core 2.0 onwards and this article will illustrate how to use Dependency Injection for injecting IConfiguration interface in ASP.Net Core.
13 Dec 2021 13 Dec 2021 0 Comments  9601 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the IConfiguration in ASP.Net Core.

Microsoft has replaced System.Configuration class with IConfiguration interface in .Net Core 2.0 onwards and this article will illustrate how to use IConfiguration interface in ASP.Net Core.
03 Apr 2020 03 Apr 2020 0 Comments  14155 Views
Here Mudassar Ahmed Khan has explained with an example, how to read Connection String from AppSettings.json file inside Startup.cs class in .Net Core and ASP.Net Core MVC.

Microsoft has replaced System.Configuration class with IConfiguration interface in .Net Core 2.0.
09 Mar 2020 09 Mar 2020 0 Comments  30532 Views
Here Mudassar Ahmed Khan has explained with an example, how to use ConfigurationManager.AppSettings in .Net Core and ASP.Net MVC Core.

Microsoft has replaced ConfigurationManager.AppSettings class of System.Configuration namespace with IConfiguration interface in .Net Core 2.0.
09 Mar 2020 09 Mar 2020 0 Comments  12176 Views
Here Mudassar Ahmed Khan has explained with an example, how to read AppSettings from AppSettings.json file in .Net Core and ASP.Net MVC Core.

Microsoft has replaced System.Configuration class with IConfiguration interface in .Net Core 2.0.
09 Mar 2020 09 Mar 2020 1 Comments  20992 Views
Here Mudassar Ahmed Khan has explained with an example, how to use ConfigurationManager.ConnectionStrings in .Net Core and ASP.Net MVC Core.

Microsoft has replaced ConfigurationManager.ConnectionStrings class of System.Configuration namespace with IConfiguration interface in .Net Core 2.0.
09 Mar 2020 09 Mar 2020 0 Comments  92898 Views
Here Mudassar Ahmed Khan has explained with an example, how to read Connection String from AppSettings.json file in .Net Core and ASP.Net MVC Core.

Microsoft has replaced System.Configuration class with IConfiguration interface in .Net Core 2.0.