What is the primary purpose of the Web.config file in a web application?

Choose the correct answer

Explanation

Option A refers to web server configuration, which is not the role of Web.config. Option B relates to browser settings, which Web.config does not control. Option C mentions timing for server-side code execution, which is not configured via Web.config. The correct answer is Option D, as Web.config is used to store global application settings and variable definitions.

What is the primary purpose of the Web.config file i… — ASP.net | PakQuizHub