Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

.net 3.1 bind json config

public void ConfigureServices(IServiceCollection services)
{
    services.Configure<MyConfig>(configuration.GetSection("myConfig"));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bind #json #config
ADD COMMENT
Topic
Name
3+3 =