Prabu.

Please let me know the difference between running 2.0 web samples by directly pressing F5 key and CTRL+F5 keys. Every time while I run the new web sample if asks both the option like ¡°Run with out debugging¡± & ¡°Add a web config file with debugging enabled¡±. I have a web config file globally in root directory. So I need to disable this option and run all the samples with out debugging.

Thanks in advance.




Re: Visual C# IDE What is the difference b/w running 2.0 web sample by directly pressing F5 key and CTRL+F5 keys?

Figo Fei - MSFT

hi, prabu

In VS2005 pressing F5 means to debug, and the "debug" feature of the web.config is false, when you press the F5 you absolutely get the options. If you only want to run the page without debuging, just view the page in browser (by choose the "view in browser").

And the difference between debug=true and debug= false is as following descriptions: http://odetocode.com/Blogs/scott/archive/2005/11/15/2464.aspx






Re: Visual C# IDE What is the difference b/w running 2.0 web sample by directly pressing F5 key and CTRL+F5 keys?

Prabu.

Hi Figo Fei,

Thanks for the link. Is there any option to set the default startup page through programmatically I need to know if it is possible to set the startup page in web.config file.

Thanks in advance.






Re: Visual C# IDE What is the difference b/w running 2.0 web sample by directly pressing F5 key and CTRL+F5 keys?

Figo Fei - MSFT

hi prabu,

When you use visual studio to dev the website, you can select the "website" on menu, then choose the "start option" to set whatever start mode you prefer. And if you want to set a default page on the website that you have released, it's about the iis setting issues.

see more about debug mode in asp.net app: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vsdebug/html/vxtskdebugmodeinaspnetapplications.asp






Re: Visual C# IDE What is the difference b/w running 2.0 web sample by directly pressing F5 key and CTRL+F5 keys?

Prabu.

Is there any way to set the start page of the web application, either it in Web.Config file or need to change some other settings






Re: Visual C# IDE What is the difference b/w running 2.0 web sample by directly pressing F5 key and CTRL+F5 keys?

Figo Fei - MSFT

As long as i know, the startup page information setting is not found in web.config.

If any one find it, please tell me.

Thank you






Re: Visual C# IDE What is the difference b/w running 2.0 web sample by directly pressing F5 key and CTRL+F5 keys?

Figo Fei - MSFT

Actually, at run time, ASP.NET uses the configuration information provided by the Web.config files in a hierarchical virtual directory structure to compute a collection of configuration settings for each unique URL resource.

So, before start it up the web.config knows nothing about it, it is about IIS setting issue when the web site is released. Otherwise when you debug the website, you can use VS to set it.