Skip to content

Example of configuring MVC .NET data annotations from an XML file at run-time, for a C# ASP .NET MVC4 web application, razor, jQuery, client validation.

Notifications You must be signed in to change notification settings

primaryobjects/MVC-Creep-Collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MVC-Creep-Collector

Read the full tutorial at http://www.primaryobjects.com/CMS/Article141.aspx

What is it?

Example of configuring MVC .NET data annotations from an XML file at run-time, for a C# ASP .NET MVC4 web application, razor, jQuery, client validation. This example simulates a data entry form, allowing the user to fill out the fields and submit data. Form field validation is performed via MVC data annotation attributes, loaded from an XML file.

Why?

C# ASP .NET MVC data annotations allow developers to specify validation for each member within a class or type object by using C# attributes. While data annotation validation allows for powerful maintainability of type libraries, occasionally the need arises to create data annotations outside of the C# code. This can allow for validation setup by other users, content management systems, or other processes outside of the web application code. This example demonstrates form field validation that can be configured and modified by simply updating an XML file.

About

Example of configuring MVC .NET data annotations from an XML file at run-time, for a C# ASP .NET MVC4 web application, razor, jQuery, client validation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages