Injecting Configurations in Razor Views in ASP.NET Core

added by DotNetKicks
7/13/2016 7:49:17 PM

2 Kicks, 531 Views

This article shows how application configurations can be injected and used directly in razor views in an ASP.NET Core MVC application. This is useful when an SPA requires application URLs which are different with each deployment and need to be deployed as configurations in a json or xml file.


0 comments