Click here to Skip to main content
15,919,931 members
Home / Discussions / C#
   

C#

 
GeneralRe: Finding a custom event using reflection Pin
CDP180215-Nov-11 22:54
CDP180215-Nov-11 22:54 
GeneralRe: Finding a custom event using reflection Pin
BobJanova16-Nov-11 3:03
BobJanova16-Nov-11 3:03 
QuestionAssigned AppPool resets after completion of Web Deployment Setup when using Custom Actions Pin
www.Developerof.NET15-Nov-11 2:22
www.Developerof.NET15-Nov-11 2:22 
QuestionUnable to add event handler for Minimizing the Ribbon Control in WPF Pin
Kushagra Tiwari15-Nov-11 2:10
Kushagra Tiwari15-Nov-11 2:10 
AnswerRe: Unable to add event handler for Minimizing the Ribbon Control in WPF Pin
JF201515-Nov-11 3:27
JF201515-Nov-11 3:27 
QuestionSynchronous webservice calls briefly freeze up multithreaded application Pin
CDP180215-Nov-11 1:27
CDP180215-Nov-11 1:27 
AnswerRe: Synchronous webservice calls briefly freeze up multithreaded application Pin
BobJanova15-Nov-11 2:41
BobJanova15-Nov-11 2:41 
GeneralRe: Synchronous webservice calls briefly freeze up multithreaded application Pin
CDP180215-Nov-11 3:09
CDP180215-Nov-11 3:09 
Thank you. The program at the moment uses a simple animated scene (a continuously rotating model) in the background and the current frame rate is displayed. When web methods are called, the rotation of the model stops for the duration of the call and the frame rate is not updated. Then it resumes and the frame rate briefly is displayed as 0, indicating that the rendering thread indeed stood still during that time. No such delays happen when the webservice calls are commented out.

Edit: Just to be precise: I had started it in debug mode, but there were no breakpoints. It was the mere presence of the debugger which caused this behavior. When I come home I will take a look how well the current version fares.

I have an older version of the project here and just compiled it with 'Release' settings and started the program from Windows Explorer, so that the debugger was not present in any way. It worked as expected: The UI thread waited when calling the webservice, briefly freezing the UI. Meanwhile the animated 3D rendering in the background continued without any visible delay or drop in the frame rate, even when slower web methods were called.

I'm glad that the debugger was the culprit and that there is no hidden bug which may come back and cause even more trouble.
And from the clouds a mighty voice spoke:
"Smile and be happy, for it could come worse!"

And I smiled and was happy
And it came worse.




modified 15-Nov-11 11:01am.

QuestionCan anyone explain how this Regex works? Pin
fiaolle14-Nov-11 22:17
fiaolle14-Nov-11 22:17 
AnswerRe: Can anyone explain how this Regex works? Pin
PIEBALDconsult15-Nov-11 1:53
mvePIEBALDconsult15-Nov-11 1:53 
AnswerRe: Can anyone explain how this Regex works? Pin
BillWoodruff15-Nov-11 2:28
professionalBillWoodruff15-Nov-11 2:28 
AnswerRe: Can anyone explain how this Regex works? Pin
BobJanova15-Nov-11 2:47
BobJanova15-Nov-11 2:47 
QuestionCompiling x86 - x64 Pin
V.14-Nov-11 22:07
professionalV.14-Nov-11 22:07 
GeneralRe: Compiling x86 - x64 Pin
harold aptroot14-Nov-11 22:45
harold aptroot14-Nov-11 22:45 
GeneralRe: Compiling x86 - x64 Pin
V.14-Nov-11 22:57
professionalV.14-Nov-11 22:57 
GeneralRe: Compiling x86 - x64 Pin
Pete O'Hanlon14-Nov-11 23:04
mvePete O'Hanlon14-Nov-11 23:04 
GeneralRe: Compiling x86 - x64 Pin
V.14-Nov-11 23:21
professionalV.14-Nov-11 23:21 
GeneralRe: Compiling x86 - x64 Pin
harold aptroot14-Nov-11 23:07
harold aptroot14-Nov-11 23:07 
GeneralRe: Compiling x86 - x64 Pin
V.14-Nov-11 23:24
professionalV.14-Nov-11 23:24 
GeneralRe: Compiling x86 - x64 Pin
harold aptroot15-Nov-11 0:19
harold aptroot15-Nov-11 0:19 
GeneralRe: Compiling x86 - x64 Pin
V.15-Nov-11 0:37
professionalV.15-Nov-11 0:37 
QuestionPage Navigation Pin
pravin_mun14-Nov-11 18:43
pravin_mun14-Nov-11 18:43 
AnswerRe: Page Navigation Pin
Hum Dum14-Nov-11 19:28
Hum Dum14-Nov-11 19:28 
GeneralRe: Page Navigation Pin
pravin_mun14-Nov-11 19:50
pravin_mun14-Nov-11 19:50 
AnswerRe: Page Navigation Pin
Łukasz Nowakowski15-Nov-11 3:06
Łukasz Nowakowski15-Nov-11 3:06 

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.