Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

1-way sync between database/external provider

Posted on 2011-03-09
3
317 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Title # Comments Views Activity
System.Security 2 28
converto datetime always changes format 9 42
2 questions 10 29
how to double quote a string for an inline sql statement. 8 73
Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

829 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