Deploying MVC in iis6.0)

Source: Internet
Author: User

It is very convenient to deploy MVC to iis7.0. However, deploying MVC to iis6.0 makes me want to die a little, take some detours, and find out some details, share with you.
environment:
Windows Server 2003 Enterprise Edition
Microsoft. net Framework 3.5 SP1
Microsoft MVC 2.0 preview1
Lis 6.0
step:
MVC deployment 1. first install Microsoft. net Framework 3.5 SP1 installation package

MVC deployment 2. Install Microsoft MVC 2.0
MVC deployment 3. Install IIS 6.0
MVC deployment 4. IIS configuration (publish a website and create a virtual directory)
N asp. NET documentation using ASP. NET v2.0.50727
N create an applicationProgramPool mvcpool, use the default value.
N document: default. aspx is used for default files.
N add MVC parsing: Home Directory label, click [configuration], [], [add ],. MVC. The associated file is c: \ windows \ Microsoft. net \ framework \ v2.0.50727 \ aspnet_isapi.dll, check whether the file exists, and click OK.
N insert wildcard application ing, click Insert, and select c: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_isapi.dll. Check whether the file exists and click OK.
N web service expansion without restarting the computer:
First, check whether the name is ASP. net v2.0.50727, the service extension allowed. If it does not exist, create a new Web Service extension with the associated file C: \ WINDOWS \ Microsoft. net \ framework \ v2.0.50727 \ aspnet_isapi.dll, and set it to allow ].
N set the [main directory], set the script resource access, read, write, record access, index resource check items as needed.
N Select ports not used by other websites
N sets the application pool of the website to the mvcpool created before.
N start the mvcpool application pool
N start the website.

It is very convenient to deploy MVC to iis7.0. However, deploying MVC to iis6.0 makes me want to die a little, take some detours, and find out some details, share with you.
environment:
Windows Server 2003 Enterprise Edition
Microsoft. net Framework 3.5 SP1
Microsoft MVC 2.0 preview1
Lis 6.0
step:
MVC deployment 1. first install Microsoft. net Framework 3.5 SP1 installation package

MVC deployment 2. install Microsoft MVC 2.0
MVC deployment 3. install IIS 6.0
MVC deployment 4. IIS configuration (publish a website and create a virtual directory)
n asp. net document using ASP. net v2.0.50727
N creates an application pool mvcpool and uses the default value.
N document: default file is used by default. aspx
N add MVC parsing: Home Directory tag, click Configuration, ing, add ],. MVC. The associated file is c: \ windows \ Microsoft. net \ framework \ v2.0.50727 \ aspnet_isapi.dll, check whether the file exists, and click OK.
N Insert the wildcard application ing, click Insert, and select c: \ windows \ Microsoft. net \ framework \ v2.0.50727 \ aspnet_isapi.dll, check whether the file exists, and click OK.
N web service extension without restarting the computer:
first, check whether the name is ASP. net v2.0.50727, the service extension allowed. If it does not exist, create a new Web Service extension with the associated file C: \ WINDOWS \ Microsoft. net \ framework \ v2.0.50727 \ aspnet_isapi.dll, and set it to allow ].
N: Set the "home directory" and select a project for accessing, reading, writing, recording, and indexing script resources as needed.
N Select ports not used by other websites
N set the application pool of the website to the mvcpool created before.
n start the mvcpool.
n start website.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.