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
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.
Articles
12 articles in total
Integration Tests In ASP.NET Core Controllers
read article
Unit Tests In ASP.NET Core Controllers
read article
Improving Unit Test Readability In .Net With Fluent Assertions
read article
Mock Multiple Calls To The Same Method With FakeItEasy, Moq and NSubstitute
read article
How To: Use EntityFramework Core In-Memory Database For Unit Testing
read article
Getting Started With MongoDB Using ASP.NET Core Web API
read article
Design Patterns and Practices in .Net: Fluent Builder Test Pattern
read article
How To: Create a Simple Alert System Using Tag Helpers In Asp.Net Core Mvc
read article
Design Patterns and Practices in .Net: Option Functional Type in C#
read article
Design Patterns and Practices in .Net: Null Object and Special Case Object
read article
How To Get appsettings.json Data In Asp.Net Core MVC
currently reading
Unit Test And Time Dependency
read article
Featured ones: