This is now possible using ConfigurationKeyNameAttribute
, available in .NET 6 Preview 4.
Have a look here for more details.
More Related Contents:
- How do you create a custom AuthorizeAttribute in ASP.NET Core?
- ASP.NET Core Web API exception handling
- Dynamically change connection string in Asp.Net Core
- How should I inject a DbContext instance into an IHostedService?
- Timeouts with long running ASP.NET MVC Core Controller HTTPPost Method
- Calling function from generated button in Blazor
- How to update values into appsetting.json?
- ASP.NET Core 2.0 LDAP Active Directory Authentication
- Enable OPTIONS header for CORS on .NET Core Web API
- Uploading and Downloading large files in ASP.NET Core 3.1?
- Read appsettings json values in .NET Core Test Project
- How to implement Permission Based Access Control with Asp.Net Core
- How do I setup multiple auth schemes in ASP.NET Core 2.0?
- How to consume a Scoped service from a Singleton?
- Upload files and JSON in ASP.NET Core Web API
- How to read values from the querystring with ASP.NET Core?
- ASP.NET Core 1.0 on IIS error 502.5 – Error Code 0x80004005
- Change the JSON serialization settings of a single ASP.NET Core controller
- Avoid or control circular references in Entity Framework Core
- Using IConfiguration in C# Class Library
- Read appsettings.json in Main Program.cs
- Error handling (Sending ex.Message to the client)
- URL Encode and Decode in ASP.NET Core
- Filter Serilog logs to different sinks depending on context source?
- How to stream with ASP.NET Core
- How to implement a “pure” ASP.NET Core Web API by using AddMvcCore()
- How to Upload File from Angular to ASP.NET Core Web API
- Specify the application base path in ConfigurationBuilder in beta8
- Implementing recursive property loading in EF Core
- How to resolve .net core build error NETDSDK1061 and warning MSB3277