ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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
تم إضافة السؤال من قبل Mahmoud Fakhry , Technical Team Lead , Ministry of Commerce
تاريخ النشر: 2015/03/27
مستخدم محذوف‎
من قبل مستخدم محذوف‎

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

Mahnoor Fatima
من قبل 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
من قبل 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 .

المزيد من الأسئلة المماثلة