DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Matheus Rodrigues
Matheus Rodrigues

Posted on • Originally published at matheus.ro on

How To Get appsettings.json Data In Asp.Net Core MVC

You can download this sample from this git repository.

In this tutorial I’ll show you how to get the data fromΒ appsettings.jsonΒ using the built-in dependency injection in Asp.Net Core MVC.

Let’s start right away \o/

First, you need to create a project in visual studio. I’m using visual studio 2017 community withΒ .net core version 1.1.

New ASP.NET Core Web App Project

I’m creating an ASP.NET Core Web Application, that’s the new version of the mvc framework.

Continue Reading...

Top comments (0)

We want your help! Become a Tag Moderator.
Check out this survey and help us moderate our community by becoming a tag moderator here at DEV.