Hello,I have a WCF service hosted in IIS. I know you need to close the client after calling the service. But I use the service as a web service and I don't know if clients will close the service. When they don't close the client the service will get a timeout after 10 calls.I set the following on the service:[ServiceContract(SessionMode = SessionMode.NotAllowed)]When I use performance monitor I see the number of instances stays 0. When I don't use SessionMode = SessionMode.NotAllowed an instance is added for each call. I thought I solved it. bad luck: still I get a timeout after 10 calls.Next I added this to theÃÂ class implementing the service:[
View Complete Post
I'm having problems to obtain the client IP on web service. Here's my scenario:
One server with Windows 2003, hosting the web service using .Net Framework 2.0, with IP 10.0.2.50 and host name ServerTransaction.Other server with Windows 2003, hosting a web application using .Net Framework 2.0, that consuming the web service on ServerTransaction, with IP 10.0.2.51 and host name ServerApplication.Many other computers on the local network (IPs: 10.0.2.80, 10.0.2.81, 10.0.2.82, ...) acessing the web application on ServerApplication.
On the code of the web service I've tried to use HttpContext.Current.Request.UserHostAddress or HttpContext.Current.Request.ServerVariables("REMOTE_ADDR") or HttpContext.Current.Request.ServerVariables("HTTP_X_FORWARDED_FORR"), but always I can only get the IP of ServerApplication (10.0.2.51).
Any idea or tip?
Thanks and sorry for my bad english.
Smart client applications are responsive and promote interactivity with the user. In this article, we continue building a smart client application using NHibernate for data access and Rhino Service Bus for reliable communication with the server.
MSDN Magazine August 2010
Smart client applications are responsive and promote interactivity with the user. In this article, we start the processes of planning and building a smart client application using NHibernate for data access and Rhino Service Bus for reliable communication with the server.
MSDN Magazine July 2010
Microsoft AJAX Library and the ASP.NET 2.0 AJAX Extensions provide a number of compelling features ranging from client-side data binding, to DHTML animations and behaviors. Learn all about them here.
MSDN Magazine January 2007
Does anyone know of a C# code sample demonstrating WCF REST services and console test client with OperationContracts (GET and POST) implementing mutiple paramaters using BASIC authentication? Also, perhaps, using Fiddler as a test client as well? I have searched high and low for something like this, but have not had any success.