Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

web config clear

What is the use of the <clear/> in the web.config file?

I have it under connectionStrings:

<connectionStrings>
        <clear />
  </connectionStrings>
like image 286
Aharon Muallem Avatar asked Oct 02 '11 12:10

Aharon Muallem


People also ask

Can I delete web config?

basically web. config, unlike any other file, can be deleted..

What happens if web config file is deleted?

If you remove the web. config file the website will still work. when you press F5 it will prompt you for the web.


1 Answers

It clears all inherited keys, that's it.

Here is the MSDN Article: http://msdn.microsoft.com/en-us/library/aa903345(v=vs.71).aspx

like image 77
Jahan Zinedine Avatar answered Nov 08 '22 15:11

Jahan Zinedine