Deprecated: Function create_function() is deprecated in D:\home\site\wwwroot\wp-content\plugins\wp-spamshield\wp-spamshield.php on line 2033

Deprecated: Function create_function() is deprecated in D:\home\site\wwwroot\wp-content\plugins\wp-spamshield\wp-spamshield.php on line 2033

Adding appsettings.json to .NET Core Console App

This is something that strangely doesn’t seem to be that well documented and took me a while to figure out though in the end it’s pretty simple. All that’s required is to add the following NuGet packages and an appsettings.json file. Microsoft.Extensions.Configuration Microsoft.Extensions.Configuration.FileExtensions Microsoft.Extensions.Configuration.Json The appsettings.json files “Copy to Output Read more…