Click here to Skip to main content
15,860,859 members
Home / Discussions / C#
   

C#

 
GeneralADO.Net synchronization Pin
Judah Gabriel Himango15-Jan-04 4:49
sponsorJudah Gabriel Himango15-Jan-04 4:49 
GeneralRe: ADO.Net synchronization Pin
Not Active15-Jan-04 5:42
mentorNot Active15-Jan-04 5:42 
GeneralRe: ADO.Net synchronization Pin
Judah Gabriel Himango15-Jan-04 6:01
sponsorJudah Gabriel Himango15-Jan-04 6:01 
GeneralRe: ADO.Net synchronization Pin
Not Active15-Jan-04 6:28
mentorNot Active15-Jan-04 6:28 
GeneralRe: ADO.Net synchronization Pin
Judah Gabriel Himango15-Jan-04 8:34
sponsorJudah Gabriel Himango15-Jan-04 8:34 
GeneralRe: ADO.Net synchronization Pin
Heath Stewart15-Jan-04 6:31
protectorHeath Stewart15-Jan-04 6:31 
GeneralRe: ADO.Net synchronization Pin
Judah Gabriel Himango15-Jan-04 8:41
sponsorJudah Gabriel Himango15-Jan-04 8:41 
GeneralRe: ADO.Net synchronization Pin
Heath Stewart15-Jan-04 9:27
protectorHeath Stewart15-Jan-04 9: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 8:47
sponsorJudah Gabriel Himango15-Jan-04 8:47 
GeneralRe: ADO.Net synchronization Pin
Heath Stewart15-Jan-04 9:31
protectorHeath Stewart15-Jan-04 9:31 
GeneralRe: ADO.Net synchronization Pin
Mazdak15-Jan-04 5:53
Mazdak15-Jan-04 5:53 
GeneralRe: ADO.Net synchronization Pin
Judah Gabriel Himango15-Jan-04 6:06
sponsorJudah Gabriel Himango15-Jan-04 6:06 
GeneralRe: ADO.Net synchronization Pin
Mazdak15-Jan-04 6:28
Mazdak15-Jan-04 6:28 
GeneralCryptGenKey -use of ALG_ID type Pin
Member 51467215-Jan-04 4:39
Member 51467215-Jan-04 4:39 
GeneralRe: CryptGenKey -use of ALG_ID type Pin
Heath Stewart15-Jan-04 6:28
protectorHeath Stewart15-Jan-04 6:28 
QuestionWhy rebuild everything? Pin
Carl Mercier15-Jan-04 4:13
Carl Mercier15-Jan-04 4:13 
AnswerRe: Why rebuild everything? Pin
Not Active15-Jan-04 5:38
mentorNot Active15-Jan-04 5:38 
GeneralRe: Why rebuild everything? Pin
Carl Mercier15-Jan-04 5:41
Carl Mercier15-Jan-04 5:41 
GeneralRe: Why rebuild everything? Pin
Heath Stewart15-Jan-04 6:21
protectorHeath Stewart15-Jan-04 6:21 
GeneralRe: Why rebuild everything? Pin
Carl Mercier15-Jan-04 9:55
Carl Mercier15-Jan-04 9:55 
GeneralRe: Why rebuild everything? Pin
Heath Stewart15-Jan-04 10:05
protectorHeath Stewart15-Jan-04 10:05 
GeneralRe: Why rebuild everything? Pin
Carl Mercier15-Jan-04 11:19
Carl Mercier15-Jan-04 11:19 
GeneralRe: Why rebuild everything? Pin
Carl Mercier16-Jan-04 6:10
Carl Mercier16-Jan-04 6:10 
GeneralRe: Why rebuild everything? Pin
Not Active15-Jan-04 7:16
mentorNot Active15-Jan-04 7:16 
Generalscale a bitmap with 1bppIndexed Pin
FiDz15-Jan-04 3:59
FiDz15-Jan-04 3: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.