2

VAB used to be just server-side bur does the new version of Entlib allow client-side validation for VAB?

2 Answers2

0

VAB is for the server-side only. The architecture of the block is intended to be used more in a Business Logic layer or Data layer and can be used by Winform applications as well as ASP.NET apps.

Walter
  • 2,540
  • 2
  • 30
  • 38
0

You can use VAB on the client-side as well. Take a look at the "User Interface Validation Integration" section at the end of the this chapter.

Also, we are building support for client-side validation in Silverlight as you can see from this top-rated story on our backlog.

Grigori Melnik
  • 4,067
  • 2
  • 34
  • 40
  • Update: for those interested in Silverlight validation with Enterprise Library, we've already ported VAB to Silverlight. See this demo http://channel9.msdn.com/posts/Enterprise-Library-for-Silverlight-Validation-demo and this one: http://channel9.msdn.com/posts/Enterprise-Library-for-Silverlight-Cross-tier-validation-demo – Grigori Melnik Apr 02 '11 at 23:05