Click here to Skip to main content
15,559,699 members
Home / Discussions / C#
   

C#

 
GeneralADO.Net synchronization Pin
Judah Gabriel Himango15-Jan-04 5:49
sponsorJudah Gabriel Himango15-Jan-04 5:49 
GeneralRe: ADO.Net synchronization Pin
Not Active15-Jan-04 6:42
mentorNot Active15-Jan-04 6:42 
GeneralRe: ADO.Net synchronization Pin
Judah Gabriel Himango15-Jan-04 7:01
sponsorJudah Gabriel Himango15-Jan-04 7:01 
GeneralRe: ADO.Net synchronization Pin
Not Active15-Jan-04 7:28
mentorNot Active15-Jan-04 7:28 
GeneralRe: ADO.Net synchronization Pin
Judah Gabriel Himango15-Jan-04 9:34
sponsorJudah Gabriel Himango15-Jan-04 9:34 
GeneralRe: ADO.Net synchronization Pin
Heath Stewart15-Jan-04 7:31
protectorHeath Stewart15-Jan-04 7:31 
GeneralRe: ADO.Net synchronization Pin
Judah Gabriel Himango15-Jan-04 9:41
sponsorJudah Gabriel Himango15-Jan-04 9:41 
GeneralRe: ADO.Net synchronization Pin
Heath Stewart15-Jan-04 10:27
protectorHeath Stewart15-Jan-04 10:27 
As Mazdak mentioned, .NET Remoting is good for this, so long as you host it in a service that allows two-way communication. For instance, if you host it in IIS it is automatically exposed as a Web Server. Because of the one-way nature of HTTP, it can't communicate with the clients. If you use a TcpChannel with a BinaryFormatter, you'll get great performance, too (as well as remote calls go).

Just implement an event on your remoting object. When data is updated via the remoting object, you fire your event. Clients that handle that event will get notified of the changes, which you can pass as event arguments similar to most events (especially for controls) work in the .NET base class library.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: ADO.Net synchronization Pin
Judah Gabriel Himango15-Jan-04 9:47
sponsorJudah Gabriel Himango15-Jan-04 9:47 
GeneralRe: ADO.Net synchronization Pin
Heath Stewart15-Jan-04 10:31
protectorHeath Stewart15-Jan-04 10:31 
GeneralRe: ADO.Net synchronization Pin
Mazdak15-Jan-04 6:53
Mazdak15-Jan-04 6:53 
GeneralRe: ADO.Net synchronization Pin
Judah Gabriel Himango15-Jan-04 7:06
sponsorJudah Gabriel Himango15-Jan-04 7:06 
GeneralRe: ADO.Net synchronization Pin
Mazdak15-Jan-04 7:28
Mazdak15-Jan-04 7:28 
GeneralCryptGenKey -use of ALG_ID type Pin
Member 51467215-Jan-04 5:39
Member 51467215-Jan-04 5:39 
GeneralRe: CryptGenKey -use of ALG_ID type Pin
Heath Stewart15-Jan-04 7:28
protectorHeath Stewart15-Jan-04 7:28 
QuestionWhy rebuild everything? Pin
Carl Mercier15-Jan-04 5:13
Carl Mercier15-Jan-04 5:13 
AnswerRe: Why rebuild everything? Pin
Not Active15-Jan-04 6:38
mentorNot Active15-Jan-04 6:38 
GeneralRe: Why rebuild everything? Pin
Carl Mercier15-Jan-04 6:41
Carl Mercier15-Jan-04 6:41 
GeneralRe: Why rebuild everything? Pin
Heath Stewart15-Jan-04 7:21
protectorHeath Stewart15-Jan-04 7:21 
GeneralRe: Why rebuild everything? Pin
Carl Mercier15-Jan-04 10:55
Carl Mercier15-Jan-04 10:55 
GeneralRe: Why rebuild everything? Pin
Heath Stewart15-Jan-04 11:05
protectorHeath Stewart15-Jan-04 11:05 
GeneralRe: Why rebuild everything? Pin
Carl Mercier15-Jan-04 12:19
Carl Mercier15-Jan-04 12:19 
GeneralRe: Why rebuild everything? Pin
Carl Mercier16-Jan-04 7:10
Carl Mercier16-Jan-04 7:10 
GeneralRe: Why rebuild everything? Pin
Not Active15-Jan-04 8:16
mentorNot Active15-Jan-04 8:16 
Generalscale a bitmap with 1bppIndexed Pin
FiDz15-Jan-04 4:59
FiDz15-Jan-04 4:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.