📜 ⬆️ ⬇️

ASP.NET MVC 2: second release candidate released

image Phil Hack (Phil Haack) in his blog published the news about the release of ASP.NET MVC 2 RC2 . The news is excellent, because although there are no special new features in this release, there are significant changes. Next, we consider a complete list of these changes.


Updated functionality


The most important thing in this version is the updated ASP.NET MVC validation system. More details about the innovation can be found in this article , and here I will only give a small description. Previously, validation in ASP.NET MVC worked on a form, that is, only those fields that were transferred to the server were subject to server validation. This behavior was not transparent to developers, many believed that if they defined validation rules for the model fields, then the whole model will always be validated. However, this was not the case. Now, the validation mechanism is repelled from the model, so it does not matter what model data came from the form, when linking the data, validation will be applied to all elements of the model.

This innovation makes the server validation behavior more transparent to the developer, but does not completely solve all security issues. More on these security issues in my article .
')

Other fixes


There are quite a few small changes in the new version of ASP.NET MVC 2 RC:

Corrected mistakes


This release fixes several bugs:

Conclusion


As you can see, the list of fixes is big. Many fixes are minor or have little effect, but there are some that play an important role and it is highly desirable to know from the ASP.NET MVC developer. I hope this article will help you understand and get a basic idea of ​​the new version of ASP.NET MVC 2.

Like several previous ASP.NET MVC 2 test releases, this release is not compatible with Visual Studio 2010 (Beta 2 or lower). Installation on systems with VS2010 is not supported. It is expected that VS2010 RC, which should appear soon, will contain the final version of ASP.NET MVC 2. I suggest waiting for it, for those who use Visual Studio 2010 in their work.

Download ASP.NET MVC 2 RC2 from this page , there are also release notes (.doc).

Download the source codes of this version of ASP.NET MVC 2 here , there are the source codes of MVC Futures.

Progg it

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


All Articles