How does the `web.config` file interact with application code?

Responsive Ad Header

Question

Grade: Education Subject: Support
How does the `web.config` file interact with application code?
Asked by:
62 Viewed 62 Answers

Answer (62)

Best Answer
(279)
The `web.config` file primarily controls the *server-side* behavior of the application. Application code (e.g., in .NET) is responsible for handling the actual errors and responding to the user's requests. The `web.config` file simply provides the configuration for the server.