Solved

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

Posted on 2012-12-28
2
836 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

747 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

10 Experts available now in Live!

Get 1:1 Help Now