|
Hi everyone
This is a very stupid question, despite working on many websites at the front end. Now wanting to build my own site, I have designed the site, but was wondering if my pages have to be added as html pages, or .aspx pages? What is default.aspx, thought this was the homepage?
The other question is, I would like to have one navigation and one footer, meaning that I dont want to repeat these elements on seperate pages, a template I suppose but is there a specific way to do this? Have just built a site, but navigationand footer is oneach seperate page (small site :)
Lastly, can anyone recommend a good asp.net webhost, I have worked with crystal tech in the past and were very good, but my site is mainly a portfolio site so want a basic/mid range package . Any suggestions?
Thanks alot
Paul - Changed TypepaulRees Wednesday, September 16, 2009 8:58 PMgrammar
-
All RepliesIn asp.net the extension of the pages are .aspx. The default.aspx is a default created page, but you don´t need a page with this name , if you want another one, just create a new webform and right clicking select "Set as start page" and then this page will be your default page. ( Don´t forget to configure in IIS ) If you don´t want repeat the codes, create a masterpage with the asp code you don´t want to repeat. On the add new item: If you´re working with web site, choose Web Form and flag the option "select a master page" if you´re working with web application, choose the option "web content Form" and then select your master page. about host, sorry, this question i don´t know how to answer you. your page will appear inside the ContentPlaceHolder tag when renderized.
|