Yes, ConfigurationManager.AppSettings
is available in .NET Core 2.0 after referencing NuGet package System.Configuration.ConfigurationManager
.
Credits goes to @JeroenMostert for giving me the solution.
More Related Contents:
- How to read AppSettings values from a .json file in ASP.NET Core
- Should I take ILogger, ILogger, ILoggerFactory or ILoggerProvider for a library?
- Auto Versioning in Visual Studio 2017 (.NET Core)
- What is App.config in C#.NET? How to use it?
- How to get HttpContext.Current in ASP.NET Core? [duplicate]
- HTTP Error 500.30 – ANCM In-Process Start Failure
- Does C# 8 support the .NET Framework?
- How do you multi-target a .NET Core class library with csproj?
- Add client certificate to .NET Core HttpClient
- Variables within app.config/web.config
- How to load assemblies located in a folder in .NET Core console app
- Asp.Net core long running/background task
- How to unapply a migration in ASP.NET Core with EF Core
- How to get a List collection of values from app.config in WPF?
- Manipulating images with .NET Core
- .Net Core 2.0 Process.Start throws “The specified executable is not a valid application for this OS platform”
- ASP.NET Core appsettings.json update in code
- Change the JSON serialization settings of a single ASP.NET Core controller
- .NET Core vs Mono
- Using IConfiguration in C# Class Library
- Disable transitive project reference in .NET Standard 2
- Why does System.Text Json Serialiser not serialise this generic property but Json.NET does?
- ReadKey InvalidOperationException application does not have a console
- How to enable configSource attribute for Custom Configuration Section in .NET?
- How to get user information in DbContext using Net Core
- .NET Core equivalent to Thread.Abort
- How to globally set default options for System.Text.Json.JsonSerializer?
- What Nuget packages must be referenced by an ASP.NET Core 6 application parts project
- How to find path of active app.config file?
- No service for type ‘Microsoft.AspNetCore.Identity.UserManager`1[Microsoft.AspNetCore.Identity.IdentityUser]’ has been registered