Quantcast
Channel: ASPSnippets RSS Feed
Viewing all articles
Browse latest Browse all 4777

.Net Core: Read Connection String inside Startup.cs from AppSettings.json file

$
0
0
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.

Viewing all articles
Browse latest Browse all 4777