Good evening,
I just experienced a strange problem that I just can not understand.
I have a WCF service that can receive messages (string). Very simple, right out of the book.
The client sends the message to the service which works fine.
Here comes the strange part:
I added a MessageBox to the form hosting the service that pops up and displays the received message(simple string).
Everything seems to work like a charm.
Then I reduced the received timeout to 5 sec. and left the messagebox accidentally open (grabbing fresh coffee), which caused the client to throw a timeout exception after 5 sec.
I just never noticed this, because the timeout was 60sec before and I never left the MessageBox open that long.
When I write to the console instead of opening the messagebox everything works again like it never happened...
What is happening here... does the MessageBox somehow blocks the client sending the message or something like that(I hope I do not leave a totally stupid implression *LG*)?
I am just curious whats going on here, maybe someone can be so kind and explain this to me ;)
I know that a MessageBox blocks the application, but I didn't expected it to cause a timeout on the client when shown by the service-host.
have a great evening and best regards
Andy