RMP Resource - IIS Setup
IIS (previously called Internet Information Server, but renamed with IIS to Internet
Information Services) was Microsoft's answer to dynamic page creation by servers.
Originally IIS 1.0 consists of fairly standard setup with CGI support and interface
are allow more efficient execution of compiled applications written in languages
like C and C++. It provide additional features to access the input and output streams.
This interface is called Internet Server Application Programming Interface, or ISAPI.
IIS 6.0 includes new features designed to help businesses, IT professionals, and
Web administrators achieve their goals of performance, reliability, scalability,
and security for potentially thousands of Web sites either on a single IIS server
or on multiple servers.
One of the most important requirements for .NET Framework applications is reliability.
An architecture in which applications run inside the server process (in IIS, Inetinfo.exe)
does not produce a solid foundation for building reliable applications that can
continue to run over a long period of time. Too many resources are shared on the
process level, and it is too easy for an error to bring down the entire server process.
To solve this problem, ASP.NET provides an out-of-process execution model, Aspnet_wp.exe,
which helps protect the server process from user code. It also enables you to apply
heuristics to the lifetime of the process to improve the availability of your Web
applications. Using asynchronous
interprocess communication helps provide a balance
between performance, scalability, and reliability.
Follow this step to configure and host ASP.NET application in IIS.
STEP 1: Install IIS - If it is not install in
STEP 2: On the Start menu, click All Programs,
click Accessories, and then click Run. In the
Open box, type inetmgr and then click OK.
STEP 3: Right click web site tree and
click new website.
STEP 4: Click Next button on welcome wizard
STEP 5: Type <<web site name>> and
STEP 6: Change the port no to 2020 (you can type any post number however
this port number must not use any other web site hosted in this IIS ) and click
STEP 7: Click Browse button and select your
application folder and click Next.
STEP 8: Select following checkbox to execute
the ASP.NET application and click Next..
STEP 9: Click Finish to complete the process.
STEP 10: Open Internet Explorer and type http://localhost:2020/Default.aspx
in address bar. It will open the site.