Multiple choice technology web technology

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 the primary configuration file for ASP.NET applications, storing global application settings, connection strings, and variable definitions accessible throughout the application. It does not directly configure the web server (IIS) or web browser. Option B is incorrect because Web.config doesn't control timing of code-behind execution.