Click here to Skip to main content
15,913,610 members
Home / Discussions / C#
   

C#

 
GeneralRe: Which approach is better for this problem? Pin
jschell12-Feb-12 7:29
jschell12-Feb-12 7:29 
GeneralRe: Which approach is better for this problem? Pin
SledgeHammer0112-Feb-12 8:43
SledgeHammer0112-Feb-12 8:43 
GeneralRe: Which approach is better for this problem? Pin
jschell14-Feb-12 13:27
jschell14-Feb-12 13:27 
GeneralRe: Which approach is better for this problem? Pin
SledgeHammer0114-Feb-12 13:58
SledgeHammer0114-Feb-12 13:58 
GeneralRe: Which approach is better for this problem? Pin
jschell15-Feb-12 8:36
jschell15-Feb-12 8:36 
AnswerRe: Which approach is better for this problem? Pin
BobJanova9-Feb-12 5:05
BobJanova9-Feb-12 5:05 
GeneralRe: Which approach is better for this problem? Pin
AmbiguousName9-Feb-12 7:03
AmbiguousName9-Feb-12 7:03 
AnswerRe: Which approach is better for this problem? Pin
Dan Mos9-Feb-12 5:16
Dan Mos9-Feb-12 5:16 
My post will assume that clients and server are under the same domain/firewall.
If that's not the case, please ignore it.

OK, so it most definitely depends.

IF there are lots of clients(100+) and lots of Hits to SQL Server(or whatever) like a Tracing Application(LOts, batchs, labels...):
I would go for a replication solution. A local DB on each client(SQL express or ...) the sql server and a socket based communication
between clients and server. Every 10 minutes or so the local machine would send the commands to the Soket server and in turn
the "socket server" would run some batch inserts on the sql server sending back to the client the result(succes or failure).
You'll also need to set up a Replication app/UI.
It's a complex solution but for let's say 100+ clients each sending a insert every 10-20 seconds it's better then opening a connection each time.

ELSE a direct ADO.Net solution I think would be best.
All the best,

Dan

GeneralRe: Which approach is better for this problem? Pin
AmbiguousName9-Feb-12 7:02
AmbiguousName9-Feb-12 7:02 
GeneralRe: Which approach is better for this problem? Pin
Dan Mos9-Feb-12 7:13
Dan Mos9-Feb-12 7:13 
GeneralRe: Which approach is better for this problem? Pin
AmbiguousName9-Feb-12 7:30
AmbiguousName9-Feb-12 7:30 
GeneralRe: Which approach is better for this problem? Pin
Dan Mos9-Feb-12 7:42
Dan Mos9-Feb-12 7:42 
GeneralRe: Which approach is better for this problem? Pin
AmbiguousName9-Feb-12 7:48
AmbiguousName9-Feb-12 7:48 
GeneralRe: Which approach is better for this problem? Pin
Dan Mos9-Feb-12 8:07
Dan Mos9-Feb-12 8:07 
GeneralRe: Which approach is better for this problem? Pin
SledgeHammer019-Feb-12 15:25
SledgeHammer019-Feb-12 15:25 
AnswerRe: Which approach is better for this problem? Pin
raven198529-Feb-12 13:09
raven198529-Feb-12 13:09 
QuestionHi all Pin
JoeManche9-Feb-12 4:15
JoeManche9-Feb-12 4:15 
AnswerRe: Hi all Pin
BobJanova9-Feb-12 5:06
BobJanova9-Feb-12 5:06 
GeneralRe: Hi all Pin
JoeManche9-Feb-12 18:48
JoeManche9-Feb-12 18:48 
GeneralRe: Hi all Pin
BillWoodruff9-Feb-12 20:24
professionalBillWoodruff9-Feb-12 20:24 
Questionexecutable file Pin
AndyInUK9-Feb-12 3:14
AndyInUK9-Feb-12 3:14 
AnswerRe: executable file Pin
BobJanova9-Feb-12 3:53
BobJanova9-Feb-12 3:53 
AnswerMessage Removed Pin
9-Feb-12 5:29
professionalN_tro_P9-Feb-12 5:29 
GeneralRe: executable file Pin
raven198529-Feb-12 13:11
raven198529-Feb-12 13:11 
GeneralRe: executable file Pin
BobJanova9-Feb-12 22:04
BobJanova9-Feb-12 22:04 

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.