开发者

.net queue system

开发者 https://www.devze.com 2023-03-20 21:49 出处:网络
I am building a system which is made up of 2 application ASP.Net Website where jobs will be created for engineers to visit data held in central database

I am building a system which is made up of 2 application

  1. ASP.Net Website where jobs will be created for engineers to visit data held in central database
  2. Windows Forms Application running on Laptop where jobs will be synced from central database then a form is completed and data sent back to the central database开发者_运维问答.

What will be the best way to transfer the data, the laptops will be remote and may be on a slow connection.

I will be using SQL Server 2008, Entity Framework, .Net 4

I have looked at the Microsoft Sync Framework but unsure if this will do whats required, also thought about having a web service where the windows form client can pull and push data to.

I have had bad experiences with MSMQ so what to avoid this.

How would you approach this?


Take a look at merge replication for SQL Server. This would allow your laptop users to make changes to the data they've received while offline and later sync back to the central database.


I believe MS Sync framework is designed to handle just this problem. While you can use MSMQ, you'd be writing most of the logic to do the syncing yourself. Sync framework should give you a better abstraction and take care of most of the details.

0

精彩评论

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

关注公众号