Click here to Skip to main content
15,910,981 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,
Is it important to have Start Up-Page Name as Default or we can have any other name?

Also, once I published a project in windows level, after publishing I will get MyProjectName.exe... Similarly if we publish the project in ASP.Net what will be file extension for it?

Thanks for the guidances...
Posted
Updated 31-Jul-13 0:12am
v2

You can set any page as default page.
This can be done IIS settings http://technet.microsoft.com/en-us/library/cc753615(v=ws.10).aspx[^]

When you publish ASP.net web application ,your source code gets converted to dlls,retaining your pages' name with extensions in root directory.
 
Share this answer
 
It is somewhat important, depending on whether you have control over IIS or not. The standard setting, in IIS, is that pages called default.aspx will be the default document. This can be changed in IIS.

For more info on that: Configuring Default Documents in IIS 7[^]
 
Share this answer
 
HI,

Best practice is to set "Default" name for startup page. But you can change it.
In Asp.net application when you publish your code, there is nothing like a single file, but it will have all your aspx files and other images,js,css etc. Mainly you should know is that it will create one dll extension file, which is needed while publishing your code.


When you publish your code on iss, and if your startup page is not Default or login, then in iis check Default Page property and add your startup page.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900