VAB used t开发者_JAVA技巧o be just server-side bur does the new version of Entlib allow client-side validation for VAB?
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.
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.
精彩评论