protected void Application_Start(object sender, EventArgs e)
{
//In this event i m updating the web.config file...
XmlDocument doc = new XmlDocument();
doc.load("..../web.config");
//Logic to update the web.config file.
}
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Uday GaikwadPosted Jul 12, 2010, 5:41 AM
after deployment of web site i want to update web.config parameters
Abhimanyu K VatsaPosted Jul 11, 2010, 12:48 AM
i think, it is not a good idea to update web.config file using app start-up because websites has very high concurrency and always googling with web.config file that's very bad idea. This can be cause to slow down the entire website also. And lots more problems will arise.
I hope my post will help you.