aspnetcore/test/WebSites/ValidationWebSite
N. Taylor Mullen e829ba7646 Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:52:24 -07:00
..
AnotherArea/Controllers
…
Controllers
…
Models
…
MyArea/Controllers
…
ViewModels
…
Views/Shared Correct `grunt-bower-task` operation 2015-02-20 12:19:23 -08:00
wwwroot Fixing Readme 2015-02-19 10:20:16 -08:00
CompanyNameAttribute.cs
…
ProductValidatorAttibute.cs
…
README.md Fixing Readme 2015-02-19 10:20:16 -08:00
Startup.cs
…
ValidationWebSite.kproj
…
bower.json Correct `grunt-bower-task` operation 2015-02-20 12:19:23 -08:00
gruntfile.js
…
package.json
…
project.json Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:52:24 -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.