Category - AppSettings.json
13 Dec 2021 13 Dec 2021 0 Comments  770 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  501 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  536 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  7948 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  18992 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  9938 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 0 Comments  12652 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  58611 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.