Asp.net MVC deployment problems

Source: Internet
Author: User

Step 1 is deployed on IIS 5.1

Iis5.1? That is, IIS under XP.

The first thing to note is that ASP. net MVC beta by default, the system is not configured. web. abstractions. DLL, system. web. routing. DLL, system. web. MVC. DLLProgramPrivate deployment of the set. If ASP. NET 3.5 SP1 is not installed on the server, use private deployment for the three sets, that is, deploy them together with the website program in the bin directory.

Second, iis5.1 cannot set wildcards or configure handler like iis7. However, you can configure routing to send requests to ASP. net ISAPI filter, such as in global. asax. the configuration in CS can be as follows:

 Code snippet

Routes. maproute (
"Default ",
"{Controller}. aspx/{action}/{ID }",
New {controller = "home", Action = "Index", id = ""}
);

Step 2 is deployed on IIS 6

Http://www.cnblogs.com/anan/archive/2008/12/02/1345624.html

 

Microsoft ASP. net mvc beta IIS6 deployment

The settings are as follows:

Click the configuration button here.

Click the insert button to insert the ISAPI of. net2.0 to the wildcard application ing half of the new window.

Check whether the file exists.Do not selectOtherwise, the setting will be useless.

After the preceding settings are complete, MVC can exist as a directory. Excellent performance.

However, it is important to note that resource fees will be charged after this configuration, because all requests must be handed over to IIS for processing.

 

Another way is to use isapi_rewrite http://www.isapirewrite.com/

First ConfigurationArticle

Http://biasecurities.com/blog/2008/how-to-enable-pretty-urls-with-asp-net-mvc-and-iis6/

It cannot be configured.

This is not tested

Http://blog.codeville.net/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/

 

This is acceptable.

Http://flux88.com/blog/using-asp-net-mvc-on-iis-6-without-the-mvc-extension/

 

Others:

Urlrewriter. NET and urlrewrittingnet. urlrewriter

Http://zhouruifu.spaces.live.com/blog/cns! F158b86f88f8b26d! 1918. Entry

Http://www.codinghorror.com/blog/archives/000797.html ISAPI rewrite Configuration

Knowledge about http://learn.iis.net/page.aspx/496/iis-url-rewriting-and-aspnet-routing/ iis7

Http://wanna.blogbus.com/logs/10803636.html urlrewritingnet. urlrewrite Chinese Document

 

Asp.net MVC search engine friendly connection

Http://geekswithblogs.net/AzamSharp/archive/2008/01/25/118917.aspx

Http://geekswithblogs.net/AzamSharp/archive/2008/01/30/119105.aspx

ISAPI rewrite component-abc_rewrite

Http://www.zanpo.net/article.asp? Id = 148

Lao Zhao mentions URL rewrite (1): IIS and ASP. NET Analysis

Http://www.cnblogs.com/JeffreyZhao/archive/2008/01/12/url-rewrite-1.html

 

Knowledge about URL Routing

Http://www.cnblogs.com/QLeelulu/archive/2008/03/17/1109893.html

Http://www.cnblogs.com/Terrylee/archive/2007/12/16/aspnet-mvc-framework-url-routing.html

 

Step 3 IIS 7

There is no Vista environment. Try again later.

To be continue

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.