Installation of IIS Server:
The first step is to test the installation of IIS and learn how to access web pages on the local computer. To do so, you will need to connect to IIS through Internet Explorer. The following steps detail that test:
1. Open Internet Explorer.
2. Enter http://localhost in the Address bar, and press ENTER.
3. The result should be a default page from the web server.<
This completes the first basic requirement for development of ASP .Net applications. The version of IIS should be 5.0 and above.
Creating the ASP .Net applications:
The Next Step is to create ?a? directory and make it as Virtual Directory. Below steps? shows how to do that. I assume that you Windows XP Professional/Windows 2000 Installed on your Machine.
The steps will show you how to mark a directory as an application root directory using Internet Information Services (IIS). This tells you how to create a virtual directory and set the C:InetpubWwwroot directory as the root directory for your application.
- Create a Directory Called as SampleApp.
- Click Start, and then click Control Panel.
- If you have not done so already, click Switch to Classic View.
- Double-click Administrative Tools, and then click Internet Information Services.
- Expand the local computer node (which might be indicated by your computer name), expand Web Sites, and click Default Web Site.
- On the Action menu, click New, and then click Virtual Directory.
- In the Virtual Directory Creation Wizard, click Next.
- Enter the name of your application in the Alias text box, and then click Next.
- Enter the physical directory that you created to prepare for this walkthrough, C:SampleApp, and then click Next.
- In the Access Permissions page, check the access permissions that you want for your application, and then click Next.
- Click Finish.
Now we are ready to write our first Web application.
For computers with Home Editions of Windows XP/2000 installed, will not be able to install IIS server. For these computers, we can either use WebMatrix or Cassini Web server. If Web Matrix is used, this has an inbuilt aspx Web server. So the aspx pages developed can be tested/developed using the Web Server. If one wants to use Visual Studio .Net, then Cassini Web server can be installed and used along with the Visual Studio .Net.