In Multi tier .Net Application how you can pass data between different tiers?

What are different ways you can pass data between tiers of Multi tier .Net enterprise Application?

Tags..  ADO.NET  .NET Applications  .Net Framework  .NET Architecture
Views: 756 | Community Opinion: 2

Add Your Opinion

Bookmark this page..



Ask a New Question Go to Home


Community Opinion/Answers
Simran said..

There are many ways you can pass data between tiers :-

Dataset:- the most preferred one as they maintain data in XML format.
Datareader
Custom classes.
XML etc.

Todd said..

The answer depends on whether the tiers are distributed onto different machines. If so, you should serialize your objects via XML (DataSets will do this automatically, but DataSets are a poor choice because they are so large and inefficient).

If you are not distributing your tiers, then using custom classes or DataSets can work. Custom classes are the preferred approach if you are doing anything more than a simple CRUD app.



What do you think? Add your opinion/answer
Your Name:
*your opinion/answer: