aspnetcore/test/WebSites/ValidationWebSite
N. Taylor Mullen 64e726d2b2 Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
..
AnotherArea/Controllers Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Controllers Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Models Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
MyArea/Controllers Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ViewModels Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Views/Shared
wwwroot
CompanyNameAttribute.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ProductValidatorAttibute.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
README.md
Startup.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ValidationWebSite.xproj
bower.json
gruntfile.js
package.json
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.