- jQuery and jQuery-validation files were not being copied - update to match more-recent VS templates nit: simplify wwwroot/lib directory tree slightly |
||
|---|---|---|
| .. | ||
| AnotherArea/Controllers | ||
| Controllers | ||
| Models | ||
| MyArea/Controllers | ||
| ViewModels | ||
| Views/Shared | ||
| wwwroot | ||
| CompanyNameAttribute.cs | ||
| ProductValidatorAttibute.cs | ||
| README.md | ||
| Startup.cs | ||
| ValidationWebSite.kproj | ||
| 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.