Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   How to Avoid Cut and Paste Code with ASP.NET MVC 2 Model Validation (https://www.delphipraxis.net/154864-how-avoid-cut-paste-code-asp-net-mvc-2-model-validation.html)

DP News-Robot 28. Sep 2010 15:10

How to Avoid Cut and Paste Code with ASP.NET MVC 2 Model Validation
 
In this post, I will demonstrate how to make your own model validation attributes in order to share common validations throughout an ASP.NET MVC application, and which support MVC 2’s client-side validation feature. Validating a ZIP Code As an example, consider a model for an address. public ...http://feeds.feedburner.com/~r/delph...~4/e1tG2Da0jHg

More...


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:33 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz