Solved

Hold request in wcf

Posted on 2013-01-06
4
423 Views
Last Modified: 2013-01-27
Hi,

i am getting request from different clients and i want to hold that requests in Wcf and check which request belongs to

which client.

please guide me how to solve this.
0
Comment
Question by:praveen1981
  • 3
4 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 38748392
i'm not sure if that is what u mean but in .net 3.5 you can get the client address/port/ip.

Get the Client’s Address in WCF
0
 

Author Comment

by:praveen1981
ID: 38749783
Hi,
acutally  i am getting the  request from different clients , i.e i am getting different threads

now i will send all these request to different application which is java , and they will place in their queue, and we don't know  for which request  the response comes from their queue because sometimes some queue may fails , so i need to check the for which request the response has come  by verifying with thread and send back the response to client, so here i need to sleep all the threads in WCF coming from client and after getting the response , i need to check for which thread i got the response and release that thread.

This is what my task, so can you please say whether i can achieve this by using mutex. if so, can mutex will  lock  multiple threads , please guide me how to achieve this.
0
 

Accepted Solution

by:
praveen1981 earned 0 total points
ID: 38762712
Hi

I got the solution,

it worked with AutoReset method.
0
 

Author Closing Comment

by:praveen1981
ID: 38823894
The problem was solved
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question