The default configuration system in ASP.NET Core is no longer web.config but instead uses _________ files.
- appsettings.json
- config.xml
- settings.conf
- configuration.yaml
ASP.NET Core shifts from the traditional web.config to use JSON-based configuration files, typically named appsettings.json. This change provides a more flexible and human-readable way to configure application settings, and it aligns with modern development practices.
Loading...
Related Quiz
- When using Entity Framework Core, how can developers specify relationships like one-to-one, one-to-many, or many-to-many between entities?
- You're building a custom registration form for an ASP.NET Core application, and you want to ensure that users provide a strong password. Which configuration in ASP.NET Core Identity should you adjust?
- Which attribute would be used to enforce that a specific route parameter should be of type integer?
- In a project review, you noticed that the production database connection string is exposed in appsettings.json. How should you securely manage this connection string in an ASP.NET Core application?
- For containerized ASP.NET Core applications aiming for microservice architectures, which tool integration in Visual Studio provides tools for building, running, and orchestrating Docker containers?