Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

.net core read configuration from appsettings.json

var AppName = new ConfigurationBuilder().AddJsonFile("appsettings.json").Build().GetSection("AppSettings")["APP_Name"];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #core #read #configuration
ADD COMMENT
Topic
Name
2+4 =