Multiple choice technology programming languages

What is the Web.config file used for ?

  1. To store the global information and variable definitions for the application

  2. Configures the time that the server-side codebehind module is called

  3. To configure the web server

  4. To configure the web browser

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Web.config is an XML-based configuration file for ASP.NET applications. It stores application-wide settings including connection strings, custom application variables, authentication rules, and compilation settings. It does NOT configure the web server (that's web.config for IIS or machine.config) or the web browser (browser settings are client-side). The answer correctly identifies its purpose for storing global application information.