In ASP.Net, one can enable debug and tracing via the Web Configuration file. Debug will enable web application debugging and tracing will enable generating the diagnostic information about web requests. In this Lab, we will see how to enable Debug and Tracing using Asp.Net Web Configuration Tool.
Tag Archive for ‘web.config’
Web configuration (Web Config) files are important for all the ASP.net hosted websites. Every application requires settings that tells the application how it should behave. Also, it will be handy to use as all the settings go in one place and if somebody wants to change some settings, they know this one stop place. What if we don’t use these Web Config files?
We should do it through the code. Now we will think of a situation of 100 settings for a website. If it is done in the code, anyone requires configuration change out of these 100, first need to search and pinpoint the piece of code that requires the changes. Then they should compile the binaries of the website and re-launch it. This requires a website maintenance window & during that time the website will be down. The ‘Web Config’ files avoid rebuilding the websites assemblies and keeps…