|
|
||
|---|---|---|
| .. | ||
| 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 | ||
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.