I have a startup.cs file and i want to pull configurations from XML file rather than appsetings.json
file. Is it possible with ASP.NET Core MVC?
相关问题
- Can I use MvcJsonOptions configured during Startup
- Singleton with AsyncLocal vs Scope Service
- gRPC client do not dispose Channel
- Unable to resolve service for type 'Microsoft.
- Which encryption algorithm do we use in Asp.net 5
相关文章
- EF Core 'another instance is already being tra
- Re-target .NET Core to net471, net 472
- How to replace Middleware in integration tests pro
- Why CsvHelper not reading from MemoryStream?
- How to define function that returns html in asp.ne
- Bad Request - Invalid Hostname when accessing loca
- Should I use xUnitPublisher or xUnitBuilder after
- How to log ASP.NET Core input JSON serialization e
If you want to use an
appsettings.xml
instead you can refer to my blog article here.Quote from the article: