Click here to Skip to main content
15,902,634 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello dear
How i can change the stater page of website(.net framework 3.5).

Thanks for any suggestion.

Regards!
dev
Posted

HTML
<configuration>
   <system.webserver>
      <defaultdocument enabled="true">
         <files>
            <add value="login.aspx" />
         </files>
      </defaultdocument>
   </system.webserver>
</configuration>

FYI Default Document <defaultDocument>
 
Share this answer
 
Comments
Monjurul Habib 26-Dec-11 4:37am    
5!
Rajesh Anuhya 26-Dec-11 4:41am    
Good Link Raja ., have my +5
 
Share this answer
 
v2
Comments
Dev Kashyap 26-Dec-11 3:54am    
My application is already running on server, and i wnat to change its start page.
Monjurul Habib 26-Dec-11 4:11am    
have a look on my updated link
If you have hosted site on IIS and want to change default page make these steps
change the default document

otherwise see Monjurul Habib answer.
 
Share this answer
 
This link-[Set Default Page in Asp.net][^] have similar question with some nice suggestion and solution.
suggested reference link :- Default Document <defaultdocument> [^]
 
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