How to Build a Personal Web-site with ASP.Net #.Net Web Applications

Brought and updated from: http://salearningschool.com/displayArticle.php?table=Articles&articleID=967&title=How%20to%20Build%20a%20Personal%20Web-site%20with%20ASP.Net%20(VS%202008,%20.Net%202.0/3.5)

This actually is an old way of doing.

  1. Video Tutorial on this topic
  2. Web-site Code used in this tutorial
  3. Steps
    • Open visual studio (2008) IDE
    • File -> new project -> Visual Basic -> Web -> ASP .Net Web Application
    • Rename default.aspx to template.aspx
    • Insert a table from the tool box
    • Create three rows for the table: top, body, bottom
    • Top Row: banner, slogan
    • Body Row: three cell: left, right, middle: left for left menu, right for right menu/advertising code, middle for contents
    • bottom: privacy, copyright, links to contact us
    • Keep left menu, right menu, top banner, bottom/footer contents in separate files such as leftMenu.aspx, rightMenu.aspx, topBanner.aspx
    • In the template.aspx use Response.WriteFile("file.aspx") to link to the left and right menu, the top banner, the bottom/footer. Change file.aspx to the right file name.
    • Create the leftMenu.aspx, rightMenu.aspx, topBanner.aspx, bottom.aspx
    • template.aspx is just the template file. We have two options in the left menu like Home and Companies, that point to index.aspx, and companies.aspx respectively. You have to create those files
    • Now copy the template file, paste it, rename it to index.aspx. index.aspx will be the root file of your web-site. Change the body part of the index.aspx to add contents
    • Copy the template.aspx file, paste it, rename it to companies.aspx. Change the body part of companies.aspx to add contents
    • You can modify leftMenu.aspx to add more options in the left menu. For each option that links to a .aspx file you have to create the .aspx file using the template.aspx [unless already existing]
    • Similarly, you can change your right menu contents by updating rightMenu.aspx
  4. Deployment:
    • Can copy the aspx files in the right place under IIS
    • or let VS 2008 to deploy - right click the project in the solution explorer, click on publish, select the path where you want to publish the website, publish it to a folder where IIS has access
    • You may need to configure IIS a bit, create/identify this application as a .Net application. Otherwise, it may not work. Else, you can adjust/edit the files to make them work [remove some lines].
    • Test the application

From: http://sitestree.com/?p=3699
Categories:.Net Web Applications
Tags:
Post Data:2016-07-16 08:49:36

    Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
    (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a> 
    In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
    <a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
    8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
    Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
    Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>

Leave a Reply