开发者

Ideas for transferring data to Web Service

开发者_Python百科

I have an application that collects data and I need information on developing a queueing service to interact with from various web-based applications.

I had thought about utilizing a centralized database, but I think that this idea may be overkill.

Is there a global cache object at web service level that my application can access and push/pull data?


You've named a DB, other choices could be

  1. Writing to a file - This will cause issues if reading/writing same time
  2. MSMQ - http://msdn.microsoft.com/en-us/library/ms711472(VS.85).aspx

They would be stable persistent stores, if its not important to be persistent, you could create a WCF service and have it store it in the System.Runtime.Cache


Are you stuck with Web Services? WCF has transitional End points that can queue inbound requests for you.

http://msdn.microsoft.com/en-us/library/ms789048.aspx

If you are going to stick with web services, you can implement calls directly to the MSMQ system in .net. below is a great article from the msdn magazine describing how to use it with the .net wrapper.

http://msdn.microsoft.com/en-us/magazine/cc164041.aspx

good luck!


I had a similar problem, I used MSMQ to get around it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜