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

milani_lucie
milani_lucie used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
.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
Most Valuable Expert 2012
Top Expert 2014
Commented:
Do the app servers host WCF/Webservices/Remoting? I think these provide serialization by default.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial