ASP.NET MVC Quick Tip: Check Data Annotations from code(www.minddriven.de)

submitted by MatthiasJMatthiasJ(446) 2 years ago

This blog post shows how you can check defined data annotations from your custom code with a focus on ASP.NET MVC 2 (but not bound on that). It also describes WHY it's necessary to check data annotations from MVC controller actions and why you can't rely on the automatic checking through the model binding phase when posting a form to your controller.

add a comment |category: |Views: 83

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story