Hi, We are developing a Web application which is divided into three Layers. DAL, BLL and Presentation.
In the Presentation Layer we are using the Asp.Net 2.0 form view controls with the Object Data source which eventually calls the methods from the BLL which performs some validation and apply business rules and then go for DAL. The problem is that we are trying to use the minimum code in the Presentation Layer and use the ObjectDataSource with some of our extended controls. But now comes the question that how we should Pass the messages between the BLL and The Presentation. We are passing the Data using custom Entity classes and these classes holds only the entity's Data information. For Example Let us say that User has entered Data on a form view which after Client Side Validation passes to the BLL through the Object Data Source. Now there is a Business Rule Violation and we want to inform the User about that how can we do this. Because the only communication is through the Object Data Source. My primary question is that what is the Best methodology to communicate the Messages and Errors between the Layers. Regards, -- Asif Raza Ashraf =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com