Can a web application run without Web.Config [modified]
-
Can a web application run without Web.Config, If Yes then How? One person's data is another person's program. --J.Walia -- Modified Friday, May 13, 2011 11:47 AM
Your question Title and Description are completely different. Update it.
J walia wrote:
Can a web application run without Web.Config
Yes. If
web.config
file is not there, then the configuration settings are included frommachine.config
file. web.config file override the settings of machine.config at directory level.modified on Friday, May 13, 2011 4:11 AM
-
Can a web application run without Web.Config, If Yes then How? One person's data is another person's program. --J.Walia -- Modified Friday, May 13, 2011 11:47 AM
A website cant run with out web.config. when you first create the solution intime of developing. Visual studio ask youto place web.config.
-
Your question Title and Description are completely different. Update it.
J walia wrote:
Can a web application run without Web.Config
Yes. If
web.config
file is not there, then the configuration settings are included frommachine.config
file. web.config file override the settings of machine.config at directory level.modified on Friday, May 13, 2011 4:11 AM
-
Can a web application run without Web.Config, If Yes then How? One person's data is another person's program. --J.Walia -- Modified Friday, May 13, 2011 11:47 AM
- Delete web.config.
- Run website.
- ...
- Profit!
[
S<T>::f(U) // Out of line.
](http://msdn.microsoft.com/en-us/library/8yk3t00s(v=vs.71).aspx)
-
Can a web application run without Web.Config, If Yes then How? One person's data is another person's program. --J.Walia -- Modified Friday, May 13, 2011 11:47 AM
-
Can a web application run without Web.Config, If Yes then How? One person's data is another person's program. --J.Walia -- Modified Friday, May 13, 2011 11:47 AM
Yes you can because required configuration will pull from machine.config file. Thanks
Parwej Ahamad ahamad.parwej@gmail.com
-
Can a web application run without Web.Config, If Yes then How? One person's data is another person's program. --J.Walia -- Modified Friday, May 13, 2011 11:47 AM
Yes you can .
-
A website cant run with out web.config. when you first create the solution intime of developing. Visual studio ask youto place web.config.
Prasanta_Prince wrote:
A website cant run with out web.config
Of course it can. If one isn't present, the runtime will attempt to apply values from machine.config.
Forgive your enemies - it messes with their heads
My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility
-
Prasanta_Prince wrote:
A website cant run with out web.config
Of course it can. If one isn't present, the runtime will attempt to apply values from machine.config.
Forgive your enemies - it messes with their heads
My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility
-
how i can use machine.config inside of web.config One person's data is another person's program. --J.Walia
You don't need to. By default, if a section is present in machine.config, and the same section is not present inside your web.config, the website can read the values it needs from machine.config. The important thing to note is that machine.config is seen by all .NET applications, so you should not look to modify it yourself unless you really know what you are doing. If settings are present in your web.config, and also present in machine.config, the settings from web.config will be used.
Forgive your enemies - it messes with their heads
My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility