Click here to Skip to main content
15,909,539 members
Home / Discussions / C#
   

C#

 
GeneralRe: How much memory do uninitialized array take up? Pin
N a v a n e e t h5-Jul-08 16:33
N a v a n e e t h5-Jul-08 16:33 
AnswerRe: How much memory do uninitialized array take up? Pin
Guffa5-Jul-08 3:55
Guffa5-Jul-08 3:55 
Questionhow to enable wave out mixer or stero mixer option using c# Pin
theredonion4-Jul-08 10:49
theredonion4-Jul-08 10:49 
QuestionEncrypted string changed when Serialized [modified] Pin
DaveyM694-Jul-08 10:03
professionalDaveyM694-Jul-08 10:03 
AnswerRe: Encrypted string changed when Serialized Pin
Guffa4-Jul-08 12:28
Guffa4-Jul-08 12:28 
GeneralRe: Encrypted string in dictionary Pin
DaveyM694-Jul-08 22:03
professionalDaveyM694-Jul-08 22:03 
GeneralRe: Encrypted string in dictionary Pin
DaveyM694-Jul-08 22:07
professionalDaveyM694-Jul-08 22:07 
QuestionWeb service and multithreading Pin
Le centriste4-Jul-08 9:02
Le centriste4-Jul-08 9:02 
I wrote a library where there is a method which when called launches a thread (using backgroundworker) and returns an identifier. The thread started launches an event when done.

I have a Winforms client and everything works fine. When the method is called, it returns immediately and my Winforms app happily waits for the event.

Now, I tried to write a web service, which is in turn client of the said library. When I contact the web service http://localhost/blabla/blabla.asmx with IE and select teh web method that calls the library method which in turn starts the worker thread, the page blocks until the background thread is finished.

This behavior is observed whether the web service runs inside Visual Studio or IIS.

ASP.NET 2.0 on Windows Server 2003 R2, Standard Edition, Service Pack 2.

Is there something special to do to be able to do multithreading inside a web service?

Thank you
AnswerRe: Web service and multithreading Pin
DaveyM694-Jul-08 10:09
professionalDaveyM694-Jul-08 10:09 
GeneralRe: Web service and multithreading Pin
Le centriste7-Jul-08 5:46
Le centriste7-Jul-08 5:46 
AnswerRe: Web service and multithreading Pin
N a v a n e e t h4-Jul-08 18:07
N a v a n e e t h4-Jul-08 18:07 
AnswerRe: Web service and multithreading Pin
leppie4-Jul-08 18:22
leppie4-Jul-08 18:22 
GeneralRe: Web service and multithreading Pin
Le centriste7-Jul-08 6:06
Le centriste7-Jul-08 6:06 
Questionstring equal Pin
netJP12L4-Jul-08 8:41
netJP12L4-Jul-08 8:41 
AnswerRe: string equal Pin
MoustafaS4-Jul-08 9:39
MoustafaS4-Jul-08 9:39 
GeneralRe: string equal Pin
DaveyM694-Jul-08 9:50
professionalDaveyM694-Jul-08 9:50 
AnswerRe: string equal Pin
DaveyM694-Jul-08 9:47
professionalDaveyM694-Jul-08 9:47 
AnswerRe: string equal Pin
N a v a n e e t h4-Jul-08 18:20
N a v a n e e t h4-Jul-08 18:20 
QuestionIssue Setting Remote Registry Key Value Pin
CNewbie4-Jul-08 8:24
CNewbie4-Jul-08 8:24 
QuestionProcess class access denied on smss Pin
stwu4-Jul-08 8:18
stwu4-Jul-08 8:18 
Questiontyped dataset schema relating to xml file Pin
steve_rm4-Jul-08 8:13
steve_rm4-Jul-08 8:13 
QuestionLine in PictureBox Pin
godspeed1234-Jul-08 7:44
godspeed1234-Jul-08 7:44 
AnswerRe: Line in PictureBox Pin
netJP12L4-Jul-08 8:35
netJP12L4-Jul-08 8:35 
AnswerRe: Line in PictureBox Pin
Christian Graus4-Jul-08 9:23
protectorChristian Graus4-Jul-08 9:23 
QuestionSpying on System.Windows.Forms.DataGridView in another app... Pin
Fuzzychaos4-Jul-08 7:28
Fuzzychaos4-Jul-08 7:28 

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.