Interviews53 answers
Can we run an Asp.net web application without web.config file?
53 Answers
Yes, we can run an asp.net application without the WEB.CONFIG file.
If we are not setting any configuration in WEB.CONFIG file then it will take MACHINE.CONFIG file for default configurations. This config file will automatically installed when your application getting executed.
Kindly refer below link for more details.
http://asp-net.egaala.com/run-a-web-application-without-web-config-file
Vikas SonichyaPosted Feb 27, 2018, 10:35 PM EST
Yes
krishna reddyPosted Nov 2, 2017, 9:56 PM EDT
Yes you can run
krishna reddyPosted Nov 2, 2017, 9:55 PM EDT
Yes but you can run with out debugging mode and do't configure any setting in web.config file.
Dinesh Kumar SharmaPosted Jul 8, 2017, 11:45 PM EDT
Yes. Debug mode will not work , even application on debug mode.
Josey OommenPosted Apr 3, 2017, 3:07 AM EDT
Yes
Sandeep SinghPosted Jan 4, 2017, 2:54 AM EST
yes
Manoj Kumar DuraisamyPosted Jan 2, 2017, 8:00 PM EST
yes
Manoj Kumar DuraisamyPosted Jan 2, 2017, 7:59 PM EST
yes
Manoj Kumar DuraisamyPosted Jan 2, 2017, 7:59 PM EST
yes
Manoj Kumar DuraisamyPosted Jan 2, 2017, 7:59 PM EST
Yes, we can run an Asp.Net web application without web.config file. it will consider machine.config file as default configuration
ramakotaiah pattiPosted Dec 18, 2016, 8:01 AM EST
Yes, we can run an Asp.Net web application without web.config file.at that time it will take machine.config file as a default configuration
ramakotaiah pattiPosted Dec 18, 2016, 7:59 AM EST
yes we can run asp web application without web.config file. it will take default configuration..machine.config file
ramakotaiah pattiPosted Dec 18, 2016, 7:57 AM EST
yes we can run asp web application without web.config file. it will take default configuration..machine.config file
ramakotaiah pattiPosted Dec 18, 2016, 7:57 AM EST
yes we can run asp web application without web.config file. it will take default configuration..machine.config file
ramakotaiah pattiPosted Dec 18, 2016, 7:57 AM EST
yes we can run asp web application without web.config file. it will take default configuration..machine.config file
ramakotaiah pattiPosted Dec 18, 2016, 7:57 AM EST
Yes you can, but remember without in debugging mode.....
Rathrola Prem KumarPosted Dec 17, 2016, 4:56 AM EST
Yes.
Sreekanth ReddyPosted Dec 7, 2016, 4:18 PM EST
No all configuration will be in web.config
Khaja MoizuddinPosted Dec 2, 2016, 4:28 AM EST
No
Akash SrivastavaPosted Nov 14, 2016, 8:09 AM EST
No
Akash SrivastavaPosted Nov 14, 2016, 8:09 AM EST
No
Akash SrivastavaPosted Nov 14, 2016, 8:09 AM EST
noooo
Aleena SaviourPosted Nov 3, 2016, 4:46 AM EDT
yes,possible to run Asp.net Application Without Web.config,because machine config contain all default settings of asp.net web application
mani kandanPosted Aug 31, 2016, 3:37 AM EDT
Yes it is possible but not in debugging mode
Soumalya DasPosted Aug 11, 2016, 1:54 AM EDT
Yes. if web.config not exists then iis will user app.config with default configurations.
Vishal JadavPosted Aug 7, 2016, 11:37 PM EDT
Yes we run asp.net page without web configuration
Prasanna MuraliPosted Jun 24, 2016, 5:27 PM EDT
Hide Copy Code
Yes, we can run an asp.net application without the WEB.CONFIG file.
Keerthi VenkatesanPosted Jun 7, 2016, 9:48 PM EDT
Yes we can run Asp.net application without Web.config file.
Nikhil SanganiPosted Jun 6, 2016, 3:13 AM EDT
Yes we can Run.
If u r not configure any settings in web.config file then it will take machine.config file for default configurtaons
Avikshith AradhyaPosted May 30, 2016, 6:34 AM EDT
Yes we can run asp.net application without web.config file.If you have not configured any settings in web.config file then it will take machine.config file for default configurtaons.
Ervis TrupjaPosted May 27, 2016, 7:00 AM EDT
Yes, we can run an Asp.Net web application without web.config file but without debugging mode.
Mudit GaurPosted May 18, 2016, 8:20 PM EDT
We can run Asp.Net application without using Web.config file.
Keerthi VenkatesanPosted May 12, 2016, 11:38 PM EDT
Yes, it is possible to run your application without config file, if that is a case then it will use machine.config file.
Santosh Kumar AdidawarpuPosted May 9, 2016, 9:36 AM EDT
Yes, we can run an Asp.Net web application without web.config file but without in debugging mode. If we don't configure any settings in web.config file then it consider machine.config file as default configuration. Machine.config file contains default settings for all the asp.net web applications which will be applied to all asp.net applications.
Ashish SrivastavaPosted Apr 17, 2016, 10:21 AM EDT
Yes, we can run Asp.net web application without wen.config file. It will take the default settings for application from Machine.config. Machine.config is loaded when DotNet framework is loaded / installed. You can try deleting the web.config file in Visual Studio and Run the application.
You will not be able to debug the application if you do not have web.config file in your application.
Rahul ChavanPosted Apr 6, 2016, 5:03 AM EDT
Yea its possible
Amatya AgyeyPosted Mar 31, 2016, 7:56 PM EDT
Yes, we can run an asp.net application without WEB.CONFIG file.
Keerthi VenkatesanPosted Mar 31, 2016, 4:24 AM EDT
Yes, we can run an asp.net application without the WEB.CONFIG file.
Keerthi VenkatesanPosted Mar 31, 2016, 4:23 AM EDT
Yes, we can run an asp.net application without the WEB.CONFIG file.
Keerthi VenkatesanPosted Mar 31, 2016, 4:21 AM EDT
Yes we can run.
Sreekanth ReddyPosted Mar 15, 2016, 1:23 AM EDT
Yes, We can but without debugging.
Shipra GuptaPosted Mar 11, 2016, 1:06 AM EST
Preference will be given to machine config in this case and debugging will not be allowed
Amit AggarwalPosted Mar 6, 2016, 8:50 AM EST
Yes we can run asp.net application without Web.config
Rajeev PunhaniPosted Mar 3, 2016, 6:06 AM EST
Yes we can run an Asp.net web application without web.config file
Pankaj Kumar ChoudharyPosted Feb 9, 2016, 4:20 PM EST
Yes
Munesh SharmaPosted Feb 8, 2016, 7:53 PM EST
Yes, we can run Asp.Net application without using Web.config file. If we don't use Web.config then by default it use machine.config file.
Vivek KumarPosted Feb 6, 2016, 9:56 PM EST
Yes we can run Asp.net application without Web.config
Shubham KumarPosted Feb 4, 2016, 11:16 PM EST
Yes, we can run an Asp.Net web application without web.config file but without in debugging mode. If we don't configure any settings in web.config file then it consider machine.config file as default configuration.
Machine.config file contains default settings for all the asp.net web applications which will be applied to all asp.net applications.
ShrabanPosted Feb 4, 2016, 11:03 PM EST
Yes it is possible to run Web application with out web.config file. However, it will not allow user to debug, even if you are running it in debug mode.
Anil Kumar MurmuPosted Feb 1, 2016, 8:27 PM EST
Yes we can run Asp.net application without Web.config file.In case you will not define any configuration in web.config file , it will take machine.config file as default :)
Nishant MittalPosted Feb 1, 2016, 1:50 AM EST

























