Solved

Hold request in wcf

Posted on 2013-01-06
4
416 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now