Click here to Skip to main content
15,897,226 members
Home / Discussions / C#
   

C#

 
QuestionHow to learn computer name? Pin
Sokka9318-Nov-08 5:46
Sokka9318-Nov-08 5:46 
AnswerRe: How to learn computer name? Pin
Giorgi Dalakishvili18-Nov-08 6:07
mentorGiorgi Dalakishvili18-Nov-08 6:07 
AnswerRe: How to learn computer name? Pin
Sokka9318-Nov-08 6:40
Sokka9318-Nov-08 6:40 
Questionweb service Pin
netJP12L18-Nov-08 5:16
netJP12L18-Nov-08 5:16 
AnswerRe: web service Pin
Ennis Ray Lynch, Jr.18-Nov-08 5:28
Ennis Ray Lynch, Jr.18-Nov-08 5:28 
AnswerRe: web service Pin
Wendelius18-Nov-08 5:39
mentorWendelius18-Nov-08 5:39 
GeneralRe: web service Pin
netJP12L18-Nov-08 6:04
netJP12L18-Nov-08 6:04 
GeneralRe: web service [modified] Pin
Wendelius18-Nov-08 6:24
mentorWendelius18-Nov-08 6:24 
It's quite impossible to say since it fully depends on the network.

You can calculate the theoretical throughput for your network based on bandwiths on participating network segments including your internet connection which, in most cases, is the bottleneck and then use an appropriate portion of it or you can do this experimentally.

Also consider which one is more important to you:
- the download most likely succeeds if it's less than for example 400MB => set a long timeout
- server side doesn't get overloaded by too large messages => limit message length.

Addition:
Forgot to say that you should define both elements in web.config, since you obviously need larger valuer thatn the defaults:
- executionTimeoutInSeconds default is 90 seconds
- maxMessageLength default is 4 MB

The need to optimize rises from a bad design.

My articles[^]

modified on Tuesday, November 18, 2008 12:48 PM

GeneralRe: web service Pin
netJP12L18-Nov-08 7:26
netJP12L18-Nov-08 7:26 
Questionbinary trees and traverse Pin
nesfrank18-Nov-08 5:06
nesfrank18-Nov-08 5:06 
AnswerRe: binary trees and traverse Pin
Pedram Behroozi18-Nov-08 5:59
Pedram Behroozi18-Nov-08 5:59 
AnswerRe: binary trees and traverse Pin
Alan Balkany19-Nov-08 3:53
Alan Balkany19-Nov-08 3:53 
GeneralRe: binary trees and traverse Pin
nesfrank19-Nov-08 8:12
nesfrank19-Nov-08 8:12 
GeneralRe: binary trees and traverse Pin
Alan Balkany19-Nov-08 8:17
Alan Balkany19-Nov-08 8:17 
QuestionDebug Statements - writing to the console and files Pin
stormydaniels18-Nov-08 4:18
stormydaniels18-Nov-08 4:18 
AnswerRe: Debug Statements - writing to the console and files Pin
DaveyM6918-Nov-08 4:27
professionalDaveyM6918-Nov-08 4:27 
GeneralRe: Debug Statements - writing to the console and files Pin
Ennis Ray Lynch, Jr.18-Nov-08 4:41
Ennis Ray Lynch, Jr.18-Nov-08 4:41 
AnswerRe: Debug Statements - writing to the console and files [modified] Pin
Paul Conrad18-Nov-08 4:54
professionalPaul Conrad18-Nov-08 4:54 
GeneralRe: Debug Statements - writing to the console and files Pin
Dave Kreskowiak18-Nov-08 8:10
mveDave Kreskowiak18-Nov-08 8:10 
GeneralRe: Debug Statements - writing to the console and files Pin
Paul Conrad18-Nov-08 8:39
professionalPaul Conrad18-Nov-08 8:39 
GeneralRe: Debug Statements - writing to the console and files Pin
stormydaniels18-Nov-08 5:24
stormydaniels18-Nov-08 5:24 
QuestionDirectory.GetLastWriteTime(fpath) overwrites the path string Pin
beriho18-Nov-08 4:05
beriho18-Nov-08 4:05 
AnswerRe: Directory.GetLastWriteTime(fpath) overwrites the path string Pin
Ennis Ray Lynch, Jr.18-Nov-08 4:09
Ennis Ray Lynch, Jr.18-Nov-08 4:09 
GeneralRe: Directory.GetLastWriteTime(fpath) overwrites the path string Pin
beriho18-Nov-08 4:13
beriho18-Nov-08 4:13 
AnswerRe: Directory.GetLastWriteTime(fpath) overwrites the path string Pin
Guffa18-Nov-08 4:12
Guffa18-Nov-08 4:12 

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.