Click here to Skip to main content
15,910,121 members
Home / Discussions / C#
   

C#

 
Questiondirectshow filters [modified] Pin
Kuldeep Antil20-Sep-07 23:06
Kuldeep Antil20-Sep-07 23:06 
AnswerRe: directshow filters Pin
Sam Xavier21-Sep-07 1:27
Sam Xavier21-Sep-07 1:27 
QuestionEnumerate NT Group membership on remote computer Pin
Harkamal Singh20-Sep-07 22:47
Harkamal Singh20-Sep-07 22:47 
AnswerRe: Enumerate NT Group membership on remote computer Pin
elibriscoe21-Sep-07 12:43
elibriscoe21-Sep-07 12:43 
GeneralRe: Enumerate NT Group membership on remote computer Pin
Harkamal Singh21-Sep-07 20:10
Harkamal Singh21-Sep-07 20:10 
QuestionThick Client Appplication Pin
SakthiSurya20-Sep-07 22:19
SakthiSurya20-Sep-07 22:19 
AnswerRe: Thick Client Appplication Pin
Pete O'Hanlon20-Sep-07 22:25
mvePete O'Hanlon20-Sep-07 22:25 
AnswerRe: Thick Client Appplication Pin
Sathesh Sakthivel20-Sep-07 22:26
Sathesh Sakthivel20-Sep-07 22:26 
Basically there are two ways to do this,
Push (server pushes data to the client) and Pull (client sends a request and recives a response. HTTP is pull)

To implement a Push based system, you have 2 choices. Sockets (TCP/IP networking) and .Net Remoting.
A client server system using TCP/IP will need a custom server built using C#. This can run as a Windows service or as a standalone application. The server component cannot be built usiing ASP .Net. This gives you more control over the data and the server controls the update frequency. However, you will have to implement your own data protocol.

http://msdn2.microsoft.com/en-us/library/d3s1ybx2(vs.71).aspx

The advantage here is that you can achieve better performance, because you have more control over the client and the server. However, this depends a lot on your design and implementation. (Bad design== bad performance)


Remoting uses .Net objects. Clients can call objects on the server, and the server can call client methods. Compared to TCP/IP networking this gives you much less performance, but much more easier to implement. I haven't used remoting much to give an accurate description.

http://msdn2.microsoft.com/en-us/library/kwdt6w2k(vs.71).aspx

A Pull based system is similar to HTTP. The client makes a web request and recieves a response to it. This is done by using ASP .Net and .Net webservices. This gives you the automatic performance benefits of ASP .net like caching and the fact that your web server handles the connections more efficiently than your own custom server.
It will also be easy to scale out when using a web server. I've built web applications that handle upwards of 5000 clients making requests every 10 seconds.


Hope this helps...


SSK.

GeneralRe: Thick Client Appplication Pin
SakthiSurya20-Sep-07 23:55
SakthiSurya20-Sep-07 23:55 
GeneralRe: Thick Client Appplication Pin
Pete O'Hanlon21-Sep-07 0:00
mvePete O'Hanlon21-Sep-07 0:00 
Questiondelegates Pin
www.suniltvl.in20-Sep-07 22:06
www.suniltvl.in20-Sep-07 22:06 
AnswerRe: delegates Pin
www.suniltvl.in20-Sep-07 22:07
www.suniltvl.in20-Sep-07 22:07 
AnswerRe: delegates Pin
ray_f20-Sep-07 23:24
ray_f20-Sep-07 23:24 
AnswerRe: delegates Pin
Pete O'Hanlon21-Sep-07 0:02
mvePete O'Hanlon21-Sep-07 0:02 
QuestionEnterPrise Library 3.0 April 2007 Pin
Praveen02920-Sep-07 21:55
Praveen02920-Sep-07 21:55 
Questiondata binding for listbox to display table Pin
cyn820-Sep-07 21:44
cyn820-Sep-07 21:44 
QuestionReading xml Pin
praveenkumar palla20-Sep-07 20:53
praveenkumar palla20-Sep-07 20:53 
AnswerRe: Reading xml Pin
Scott Dorman20-Sep-07 20:55
professionalScott Dorman20-Sep-07 20:55 
GeneralRe: Reading xml Pin
praveenkumar palla21-Sep-07 3:50
praveenkumar palla21-Sep-07 3:50 
GeneralRe: Reading xml Pin
praveenkumar palla21-Sep-07 3:52
praveenkumar palla21-Sep-07 3:52 
GeneralRe: Reading xml Pin
Scott Dorman21-Sep-07 4:25
professionalScott Dorman21-Sep-07 4:25 
QuestionReplace Word in file with other. File Handling. Pin
Bhavesh Bagadiya20-Sep-07 20:47
Bhavesh Bagadiya20-Sep-07 20:47 
AnswerRe: Replace Word in file with other. File Handling. Pin
JoeSharp20-Sep-07 21:11
JoeSharp20-Sep-07 21:11 
GeneralRe: Replace Word in file with other. File Handling. Pin
Bhavesh Bagadiya20-Sep-07 21:17
Bhavesh Bagadiya20-Sep-07 21:17 
GeneralRe: Replace Word in file with other. File Handling. Pin
Giorgi Dalakishvili20-Sep-07 21:19
mentorGiorgi Dalakishvili20-Sep-07 21:19 

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.