aspnetcore/test/WebSites/ValidationWebSite
Doug Bunting 393aa54545 Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:27 -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 Correct `grunt-bower-task` operation 2015-02-20 12:19:23 -08:00
wwwroot
CompanyNameAttribute.cs
ProductValidatorAttibute.cs
README.md
Startup.cs Quick fixes: Clean up test code 2015-03-24 13:42:27 -07:00
ValidationWebSite.xproj Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:27 -07:00
bower.json Correct `grunt-bower-task` operation 2015-02-20 12:19:23 -08:00
gruntfile.js
package.json Quick fix: Shut `npm install` up a bit 2015-03-12 17:26:01 -07:00
project.json Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:56:42 -07:00

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.