Solved

1-way sync between database/external provider

Posted on 2011-03-09
3
314 Views
Last Modified: 2012-05-11
I have a situation where a database recieves information from user input, which has to send some of it's information to an external provider (in real time).

This also means problem. - External provider can be unreachable - The data can be malformed and throwed by provider - Etcetera

How would you handle this situation on best way? I see of it something like a PreAction/PostAction scenario.

1.PreAction will store in database.
2.PostAction sends the data to the external provider.
3.Some kind of provider that indicate and handle unsynced actions.

I'm just out for some sort of pseudo-code/idea of what way to go that are robust and reliable. maybe there exist some kind of usable pattern?
0
Comment
Question by:dingir
  • 2
3 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 35090459
What you described sounds like a good description for the Microsoft Sync Framework.  

Introduction to Microsoft Sync Framework
http://msdn.microsoft.com/en-us/sync/bb821992
0
 
LVL 1

Author Comment

by:dingir
ID: 35091307
How would i use that into .net? Or do you mean its a .net assembly also?
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 35099937
The Microsoft Sync Framework has both a managed and an unmanaged API, so it can be used with a .NET application.

Sync Framework Tutorial – Part #1 – Introduction
http://alexduggleby.com/2007/12/16/sync-framework-tutorial-part-1-introduction/

Microsoft Sync Framework Samples
http://archive.msdn.microsoft.com/sync
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Aspnet xml 2 36
Pass through dll 2 36
How can I use this extension method? 8 36
Why is "packages element is not declared"? 2 37
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now