Logo

dev-resources.site

for different kinds of informations.

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

Published at
9/25/2017
Categories
dotnet
tutorial
Author
Matheus Rodrigues
Categories
2 categories in total
dotnet
open
tutorial
open
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...

Featured ones: