How to Set Up an ASP.NET Website
Setting up an ASP.NET website has similarities to creating a website using Adobe Dreamweaver or Microsoft Expression. However, whenever ASP.NET dynamic features are involved, it is much easier to use the free Microsoft Visual Web Developer program. This facilitates not only the development of the website but also the steps required to ensure transfer of all necessary files to the Web host.
Things You'll Need
- Microsoft .NET Framework Version 3.5 SP1,
- Visual Web Developer 2008 Express Edition SP1
Instructions
-
-
1
Use a browser to go to the Microsoft Download center to obtain and install the free ASP.NET Framework Version 3.5 SP1 and Visual Web Developer 2008 Express Edition SP1
-
2
Click "Start," locate the newly installed Visual Web Developer and open the program. Click "File," "New Website." Leave the default choices in the template and bottom sections of the screen as is except for the actual location of the new site. Use the "Browse" option to locate a folder or type in a new folder in the location box. Click "OK" to proceed.
-
-
3
Use the "Design" option at the bottom of the page to edit the Default.aspx page, which the Web Designer automatically creates. Add whatever controls you need to accomplish the purpose of the new website using the Toolbox on the left. Click "View," "Toolbox" if it is not already visible.
-
4
Add necessary programming code to carry out website operations by either double-clicking on the added tools or changing to the "Source" view using that option at the bottom of the screen.
-
5
Publish the website by clicking "Website," "Copy Web site" from the top menu. Click "Connect" on the page that appears and select "FTP Site." Complete the necessary FTP information obtained from your Web host.
-
6
Use the transfer arrows in the center of the screen to move all the associated files from your local PC to the Remote Site.
-
1
Tips & Warnings
In order for users to access forms on your website, you must change the default "Windows" authentication method either by using the Visual Web Developer ASP.NET Configuration screen available from the "Website" link on the main menu or by editing the "web.config" file in the list of files automatically created.
It is not advisable to try to host a website on your own PC not only because it is difficult to do, but also because it opens a serious possibility of security risks.