How do you perform validation in ASP.NET MVC RC?

Does ASP.NET MVC provide a standard authentication feature or do you need to manually create your own authentication? If the latter, is there any third-party validator available for ASP.NET MVC web applications?

+3
source share
5 answers

Shortly after I posted this answer, I found xval , which is the basis of validation for ASP.NET MVC.

+4
source

ASP.NET MVC , Html.ValidationSummary() Html.ValidationMessage(). , TryUpdateModel. . - , .

+3

www.codebetter.com, . , xVal - , .

+1

, Stephen Walther blog. LINQ2SQL, IValidatedEntity, GetRuleViolations() OnValidate, GetRuleViolations(), , . SubmitChanges . , GetRuleViolations() .

+1

.NET validation framework. , , , . - linq . script.

MVC RC HtmlHelpers .

, , SplitBranch → QSAspMvc. .

+1

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


All Articles