Переходьте в офлайн за допомогою програми Player FM !
[Podcast] Passing Data Between Layers in SOA Model/Smart Client Application
Manage episode 65045190 series 63841
This week we discuss the different options that are available for passing data between a client and a service, as well as common pitfalls around trying to use the same objects for both presentation to the user and persistence to the database.
Download via the Dr. Dobb’s site.
Or download directly here.
And here’s the question that gets us started:
Hello there,
We are developing an application in .NET Smart Client application which connects to a WCF service and then to the data access layer. The issue we have here is on the type of data which can be passed between the client side and web service.
1. Can it be a dataset (No!), custom entity or XML or anything else ?
Which is the best one ?
2. Ofcourse , a dataset can’t be used coz it can’t be used in non-.NET environment?
3. If we go for custom-entity or XML how do we ensure the changes happen to the data during client-side actions ? For example, binding the XML or custom entity to a data grid can be done. But if user makes any changes to the same, how do we identify ?
4. If we use custom entities / XM L, the same can not be passed to the Data Access Application Block which invokes the data objects.
Note : All the above are based on assumption without using a translator in between any of the layers.
Please provide a better solution if you have come across any.
Additional References:
21 епізодів
Manage episode 65045190 series 63841
This week we discuss the different options that are available for passing data between a client and a service, as well as common pitfalls around trying to use the same objects for both presentation to the user and persistence to the database.
Download via the Dr. Dobb’s site.
Or download directly here.
And here’s the question that gets us started:
Hello there,
We are developing an application in .NET Smart Client application which connects to a WCF service and then to the data access layer. The issue we have here is on the type of data which can be passed between the client side and web service.
1. Can it be a dataset (No!), custom entity or XML or anything else ?
Which is the best one ?
2. Ofcourse , a dataset can’t be used coz it can’t be used in non-.NET environment?
3. If we go for custom-entity or XML how do we ensure the changes happen to the data during client-side actions ? For example, binding the XML or custom entity to a data grid can be done. But if user makes any changes to the same, how do we identify ?
4. If we use custom entities / XM L, the same can not be passed to the Data Access Application Block which invokes the data objects.
Note : All the above are based on assumption without using a translator in between any of the layers.
Please provide a better solution if you have come across any.
Additional References:
21 епізодів
Alle episoder
×Ласкаво просимо до Player FM!
Player FM сканує Інтернет для отримання високоякісних подкастів, щоб ви могли насолоджуватися ними зараз. Це найкращий додаток для подкастів, який працює на Android, iPhone і веб-сторінці. Реєстрація для синхронізації підписок між пристроями.