Solved

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

Posted on 2012-12-28
2
838 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
2 Comments
 
LVL 19

Assisted Solution

by:Melih SARICA
Melih SARICA earned 250 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 250 total points
ID: 38729762
Do the app servers host WCF/Webservices/Remoting? I think these provide serialization by default.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

864 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now