How can I host an MVC application in IIS 5.1?

I want to deploy an MVC application on IIS 5.1. I am using MVC 2. How can I do this? Does it seem complicated?

Regards, Caps

+4
source share
2 answers

You must add a wildcard display as follows.

  • Right-click the virtual directory and select properties.
  • On the Virtual Directory tab, select Configuration .
  • On the first tab, click add.
  • Overview of ASP.NET ISAPI.
  • Enter .* To expand.
  • Uncheck the Check that file exists box.
  • Click OK.
+6
source

I can’t say that you are 100% sure, but I think yes, you can. There is nothing special about the .NET platform that should be hosted on IIS 5 β€” it's just ISAPI. For IIS.NET, this is just another ISAPI filter, so you don't care what kind of magic you do while you return some text from this call to it. But then again, I don’t know for sure that MVC (.NET 3.5) does an excellent job with IIS 5.1

From a security point of view, there are all sorts of reasons not to host on IIS 5.1, but if this is not a problem (and performance is not critical), then IIS 5 should be able to host .NET 3.5 applications.

Read about security issues if you plan to deploy on the Internet with IIS 5.1.

+1
source

Source: https://habr.com/ru/post/1299293/


All Articles