aspnetcore/test/WebSites/ValidationWebSite
Doug Bunting 7e3acd9506 Quick fix: Shut `npm install` up a bit
- remove `npm WARN package.json ValidationWebSite@0.0.0 No repository field.`
2015-03-12 17:26:01 -07:00
..
AnotherArea/Controllers Add functional test of `[Remote]` 2015-01-30 12:33:00 -08:00
Controllers Clear ModelState errors of model before TryValidateModel or TryUpdateModel 2015-03-11 10:14:28 -07:00
Models Add functional test of `[Remote]` 2015-01-30 12:33:00 -08:00
MyArea/Controllers Add functional test of `[Remote]` 2015-01-30 12:33:00 -08:00
ViewModels Added functionaltests for ModelMetadataType attribute and moved TryValidateModel tests actions to ValidationWebSite 2015-01-27 15:56:49 -08:00
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 Added functionaltests for ModelMetadataType attribute and moved TryValidateModel tests actions to ValidationWebSite 2015-01-27 15:56:49 -08:00
ProductValidatorAttibute.cs Added functionaltests for ModelMetadataType attribute and moved TryValidateModel tests actions to ValidationWebSite 2015-01-27 15:56:49 -08:00
README.md Fixing Readme 2015-02-19 10:20:16 -08:00
Startup.cs Add functional test of `[Remote]` 2015-01-30 12:33:00 -08:00
ValidationWebSite.xproj Update .kproj => .xproj. 2015-03-11 14:01:43 -07:00
bower.json Correct `grunt-bower-task` operation 2015-02-20 12:19:23 -08:00
gruntfile.js Download and install jQuery Unobtrusive Validation and its dependencies 2015-01-30 12:33:12 -08:00
package.json Quick fix: Shut `npm install` up a bit 2015-03-12 17:26:01 -07:00
project.json Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:56:42 -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.