Welcome to Technolog Sign in | Join | Help

September 2017 - Posts

  There are 3 ways that I have found to be working within Startup.cs use Environment variables.  This however, only works if you also have added the environmentvariables. (builder.AddEnvironmentVariables(); ) var env = Configuration.GetSection("ASPNETCORE_CONTENTROOT"); Read More...
While converting a previous piece of code, written using Mvc 4.x I found that the output of the Json previously, when set no option, was unchanged, so a class with a property say, Name would output in JSON as ‘Name’. However, ASP.NET Core Mvc when returning Read More...