Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is the best methodology for messaging between business layer and presentation layer in .NET?

Three-Tier architecture in .NET web application. It would be better to include how to handle exceptions in business layer and what to send to presentation layer at this case.

user-image
Question added by Mahmoud Fakhry , Technical Team Lead , Ministry of Commerce
Date Posted: 2015/03/27
Deleted user
by Deleted user

You must create a Controller class and pass every call/message through it between the business layer and presentation layer.

Mahnoor Fatima
by Mahnoor Fatima , Software Engineer , Higher Education Commission

You can create a controller to pass any message b/w business layer and presentation layer

Rameez Ahmed Sayad
by Rameez Ahmed Sayad , .Net Consultant , Proximus Luxembourg

Any2 layers (physically or logically separated) will always be better if loosely coupled and both depend on an interface rather than an actual  implementation.

Incase of the business and presentation.

Presentation would call maybe IBusiness method expecting an IModelInput and returning an IModelOutput .

More Questions Like This