What version of ASP.NET MVC 2 do I install on my web server if I developed a solution using ASP.NET MVC 2 in Visual Studio 2010 Beta 2?

If I create a site using the version of ASP.NET MVC 2 that comes with Visual Studio 2010 Beta 2, what should I install on my web server in order to work correctly?

From what I have compiled, there are two ways for ASP.NET MVC 2. One (presumably Preview 2) is included in the beta version of Visual Studio 2010 2. The other, beta version of ASP.NET MVC 2, is newer and incompatible with beta version of Visual Studio 2010 2.

Working with the site on my web server if I install ASP.NET MVC 2 Preview 2 or a newer beta version of ASP.NET MVC 2, however both give errors that I don’t see when I start using the built-in ASP development web server .NET (cassini). In particular, the error is associated with a string that calls the FormCollection.ToValueProvider () method. The error indicates that the method does not exist, and I believe that this is due to the fact that this method has changed in recent versions.

+3
source share
2 answers

The answer turned out to be installed by ASP.NET MVC 2 Preview 2. This is the same version as for VS2010 Beta 2.

- ASP.NET MVC 2, , Preview 2. , , .

+1

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


All Articles