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.
↧