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)