Click here to Skip to main content
16,006,535 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting CPU Usage of a particular process Pin
Anonymous30-Sep-04 6:13
Anonymous30-Sep-04 6:13 
GeneralTab Control on .NET CF Pin
Member 59042329-Sep-04 9:06
Member 59042329-Sep-04 9:06 
GeneralRe: Tab Control on .NET CF Pin
Christian Graus29-Sep-04 13:30
protectorChristian Graus29-Sep-04 13:30 
Generaltoolboards Pin
Dantubby29-Sep-04 9:06
Dantubby29-Sep-04 9:06 
GeneralRe: toolboards Pin
Nick Parker29-Sep-04 9:25
protectorNick Parker29-Sep-04 9:25 
GeneralRe: toolboards Pin
Dantubby29-Sep-04 9:34
Dantubby29-Sep-04 9:34 
Generalsoap wse Pin
jeffjf29-Sep-04 7:17
jeffjf29-Sep-04 7:17 
GeneralRe: soap wse Pin
Heath Stewart29-Sep-04 7:49
protectorHeath Stewart29-Sep-04 7:49 
What does your problem have to do with Web Service Enhancements (WSE), as you implied in your post? This problem would exist for just simple HTTP GET requests. Timeouts are inevitable with HTTP and many other protocols.

Waiting for long operations over HTTP is not recommended. Both servers and clients will timeout eventually, even when on local area networks (LANs). If you need to run a long operation on a server triggered by a client, then you should use something like WS-Addressing in the WSE 2.0.

Basically, your client needs to poll the server (or a server, if your routing messages around) with a request for completion. The server either tells the client "no, I'm not done yet" or "I'm done, here's your data". The client should have the ability to tell the server "stop, I don't care anymore". Trying to extend the timeout to enough time is not a good idea, either, since genuine errors would take that much time before an error is reported back to you.

Finally, never change the machine.config file when you can make changes closer to the client (like the web application's Web.config, the site's Web.config (in /), or YourAppName.exe.config)! Clients don't even use the <httpRuntime> section; it's used only by ASP.NET.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles]
GeneralRe: soap wse Pin
jeffjf30-Sep-04 0:18
jeffjf30-Sep-04 0:18 
GeneralRe: soap wse Pin
Heath Stewart30-Sep-04 5:30
protectorHeath Stewart30-Sep-04 5:30 
GeneralOutput is the same for datagrid itemtemplate. Pin
macsgirl29-Sep-04 6:38
macsgirl29-Sep-04 6:38 
GeneralOutput is the same for datagrid itemtemplate. Pin
macsgirl29-Sep-04 6:37
macsgirl29-Sep-04 6:37 
GeneralRe: Output is the same for datagrid itemtemplate. Pin
leppie29-Sep-04 7:04
leppie29-Sep-04 7:04 
GeneralRe: Output is the same for datagrid itemtemplate. Pin
macsgirl29-Sep-04 7:17
macsgirl29-Sep-04 7:17 
GeneralRe: Output is the same for datagrid itemtemplate. Pin
Heath Stewart29-Sep-04 7:52
protectorHeath Stewart29-Sep-04 7:52 
GeneralRe: Output is the same for datagrid itemtemplate. Pin
macsgirl29-Sep-04 8:01
macsgirl29-Sep-04 8:01 
GeneralRe: Output is the same for datagrid itemtemplate. Pin
Heath Stewart29-Sep-04 8:34
protectorHeath Stewart29-Sep-04 8:34 
GeneralPeculiar Behavior in IEExec Pin
Tom Larsen29-Sep-04 6:37
Tom Larsen29-Sep-04 6:37 
GeneralRe: Peculiar Behavior in IEExec Pin
Heath Stewart29-Sep-04 8:19
protectorHeath Stewart29-Sep-04 8:19 
GeneralRe: Peculiar Behavior in IEExec Pin
Tom Larsen29-Sep-04 10:39
Tom Larsen29-Sep-04 10:39 
GeneralRe: Peculiar Behavior in IEExec Pin
Heath Stewart29-Sep-04 10:58
protectorHeath Stewart29-Sep-04 10:58 
GeneralFileNotFoundException for dll reference in project Pin
kayhustle29-Sep-04 6:15
kayhustle29-Sep-04 6:15 
GeneralRe: FileNotFoundException for dll reference in project Pin
Colin Angus Mackay29-Sep-04 6:30
Colin Angus Mackay29-Sep-04 6:30 
GeneralRe: FileNotFoundException for dll reference in project Pin
kayhustle29-Sep-04 13:23
kayhustle29-Sep-04 13:23 
Generalplease any body help me with this memory problem Pin
tifa29-Sep-04 5:51
tifa29-Sep-04 5:51 

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.