Solved

1-way sync between database/external provider

Posted on 2011-03-09
3
318 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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 This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 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