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

.Net Core: Use Connection String from AppSettings.json with DbContext

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to set use Connection String from AppSettings.json with DbContext class in.Net Core and ASP.Net Core MVC. Inside the Startup class, the Connection String is read from the AppSettings.json file and is used to add the DbContext service.

Viewing all articles
Browse latest Browse all 4693

Trending Articles