Solved

1-way sync between database/external provider

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

911 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

16 Experts available now in Live!

Get 1:1 Help Now