Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Best Practice for Collections
December 17, 2013
I am going to develop my first wcf service to the client for getting the data. The following is my scenario
My application collects real time data from the shop floor using our harddevice and load the data to my applciation. Now third party ERP system need to get this transactional data from my system. Also they send master releated data to my application.
Actually they gave web service to get thier master data. So My plan is to create windows service and periodically check the data using the webservice and save the data into my table. Same like i need to create a web service for them to receive our transactional data. They gave the data as array.
I am thinking to pass xml to the database for inserting multiple data at once
Here how can i proceed? What is best practice. Can i gave them any generic collections? or sing dataset / data table or array? Can anyone guide me as this is my first wcf service
Posted Date: April 03, 2015 Points: 20
Rather than using any collection blindly analyse which type of objects you need to send and then decide best optimised collection. if you want to send same type of objects array will be the best.
To post reply
Related Questions Related Questions
Databases Synchronization - best practice
Can anybody show light on ReadOnly collections?
using arraylist and collections
Latest Forum Questions From The Same Category
How to create .mlx File and send it to Client Using WCF Service
OperationContract Name and UriTemplate
WCF Namespaces for simple json enabled services
Post and Get File using Webservice
How to call https wcf webservice
Unable to call the webservice from console application?
The socket connection has been disposed
how to use sessions in wcf?how many types of sessions and session modes in wcf?
Get list of clients connected to server in server list box and status
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend