The file web.config is responsible for the configuration of the project and also an important part. Through this post I will tell you how to modify web.config programmatically in c# at runtime and I also tell you about good and bad effects of doing this. Before that lets talk about the web.config