aspnetcore/test/WebSites/ValidationWebSite
Kiran Challa f06007d428 [Fixes #2156] Remove IConfiguration from AddMvc 2015-03-14 00:02:53 -07:00
..
AnotherArea/Controllers
…
Controllers Clear ModelState errors of model before TryValidateModel or TryUpdateModel 2015-03-11 10:14:28 -07:00
Models
…
MyArea/Controllers
…
ViewModels
…
Views/Shared
…
wwwroot
…
CompanyNameAttribute.cs
…
ProductValidatorAttibute.cs
…
README.md
…
Startup.cs [Fixes #2156] Remove IConfiguration from AddMvc 2015-03-14 00:02:53 -07:00
ValidationWebSite.xproj Update .kproj => .xproj. 2015-03-11 14:01:43 -07:00
bower.json
…
gruntfile.js
…
package.json Quick fix: Shut `npm install` up a bit 2015-03-12 17:26:01 -07:00
project.json
…

README.md

ValidationWebSite

This web site illustrates how to add ModelMetadataType attribute and validate the models during model binding. It also show how to validate models using the TryValidateModel API as well as how to use the RemoteAttribute as part of validation. RemoteAttribute scenarios shown here all work in combination with attribute routing.