aspnetcore/test/WebSites/ValidationWebSite
Pranav K 2dcec8fe51 React to Kestrel package rename
Fixes #3323
2015-10-14 16:39:13 -07:00
..
AnotherArea/Controllers
Controllers
Models
MyArea/Controllers
ViewModels
Views/Shared
wwwroot
CompanyNameAttribute.cs
ProductValidatorAttibute.cs
README.md
Startup.cs
ValidationWebSite.xproj
bower.json
gruntfile.js
package.json
project.json React to Kestrel package rename 2015-10-14 16:39:13 -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.