none
First website visual web developer RRS feed

  • Question

  • 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 navigation and footer is on each 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 type paulRees Wednesday, September 16, 2009 8:58 PM grammar
    Wednesday, September 16, 2009 8:58 PM

Answers

  • In 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.

    • Marked as answer by YiChun Chen Thursday, September 24, 2009 5:08 AM
    Thursday, September 17, 2009 4:08 PM
  • Thank you for Thiago's kindly help.

    Hi Paul,

    Thiago has posted some good suggestions for you.

    Some helpful introduction and tutorial about ASP.NET:
    http://msdn.microsoft.com/en-us/library/4w3ex9c2.aspx
    http://quickstarts.asp.net/QuickStartv20/aspnet/
    Good tutorial videos:
    http://www.asp.net/learn/videos/
    http://weblogs.asp.net/scottgu/archive/2006/02/26/439088.aspx

    If you have any issue during website development, you could post your thread on ASP.NET Forum. You will get more useful help there.

    Hope you will develop a wonderful website. :)

    Have a good weekend!

    Best regards,
    Yichun Chen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by YiChun Chen Thursday, September 24, 2009 5:08 AM
    Friday, September 18, 2009 6:21 AM

All replies

  • In 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.

    • Marked as answer by YiChun Chen Thursday, September 24, 2009 5:08 AM
    Thursday, September 17, 2009 4:08 PM
  • Thank you for Thiago's kindly help.

    Hi Paul,

    Thiago has posted some good suggestions for you.

    Some helpful introduction and tutorial about ASP.NET:
    http://msdn.microsoft.com/en-us/library/4w3ex9c2.aspx
    http://quickstarts.asp.net/QuickStartv20/aspnet/
    Good tutorial videos:
    http://www.asp.net/learn/videos/
    http://weblogs.asp.net/scottgu/archive/2006/02/26/439088.aspx

    If you have any issue during website development, you could post your thread on ASP.NET Forum. You will get more useful help there.

    Hope you will develop a wonderful website. :)

    Have a good weekend!

    Best regards,
    Yichun Chen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by YiChun Chen Thursday, September 24, 2009 5:08 AM
    Friday, September 18, 2009 6:21 AM