Solved

Hold request in wcf

Posted on 2013-01-06
4
425 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

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…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

628 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