Solved

Hold request in wcf

Posted on 2013-01-06
4
415 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
Comment Utility
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
Comment Utility
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
Comment Utility
Hi

I got the solution,

it worked with AutoReset method.
0
 

Author Closing Comment

by:praveen1981
Comment Utility
The problem was solved
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 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

8 Experts available now in Live!

Get 1:1 Help Now