no dogma blog
no dogma blog
Blog Posts
Podcast
Web API Lambda Course
Polly Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
Configuration
Loading Config from Multiple Sources with .NET Core 2.x Web Api or MVC
Full source code available here. .NET Core 2 and .NET Core 2.1 offer many ways to load configuration and they are well documented by Microsoft. But there is one scenario that I didn’t see explained.
Jun 3, 2018
#
dotNet Core 2
,
dotNet Core 2.1
,
appsettings.json
,
AspNet
,
Configuration
Setting the Kestrel Port from appsettings.json
Full source code available CoreWithKestrelFromConfighere. In my previous post I explained how to host Kestrel web server running on (the default) port 5000 as a Windows service. But what if you want to run the server on a different port?
Apr 20, 2018
#
dotNet Core 2
,
AspNet
,
Configuration
,
Kestrel
The type 'xxxx' is defined in an assembly that is not referenced. System.Runtime.
If you recognize the error from the title of this post, you can jump to the solution. The problem I have a ASP.NET 5 solution with two projects, a web application project and a class library project.
Jan 15, 2016
#
ASP.NET 5
,
Configuration
Cite
×