?
Solved

N-Tier Architecture using Remoting, Web Service and WCF - C# / VB.NET / ASP.NET

Posted on 2012-12-28
2
Medium Priority
?
881 Views
Last Modified: 2013-01-14
Hi,

I have BusinessObject (BO). And i do have UI Layer --> Web Server Layer --> App Server Layer --> DB Server Layer. Now my Web Server Layer is accessing BO and App Server Layer is accessing BO.

UI Layer is IE / FireFox.
Web Server Layer (IIS) is where Web Site is hosted.
App Server Layer is where Business Logic DLLs are hosted.
DB Server Layer is SQL Server.

The communication between Web Server Layer and App Server Layer is done by using Remoting, Web Services or WCF as they are on different machines.

Now my question is : How to send the objects between the Web Server Layer and App Server Layer ? Do we need to serialize them (BusinessObject (BO)) and send them across layers ?

Please provide me how to do architecture by using Remoting / Web Services / WCF.

Appreciate your great help !!

Thanks
0
Comment
Question by:milani_lucie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Assisted Solution

by:Melih SARICA
Melih SARICA earned 1000 total points
ID: 38728831
.net Remoting does it for u ..

All classes must be in all layers excpet DB(if u dont ave any CLR commands) .

Classes must ave been good attribute settings for example( xmlserialization Attributes)

Serialize class on the any layer and send it to an other layer. then deserialize the object and get ur running class..  

Binary serialization can be a good alternative if u ave complex classes otherwise xml serialization works fine
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 1000 total points
ID: 38729762
Do the app servers host WCF/Webservices/Remoting? I think these provide serialization by default.
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month12 days, 21 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question