Category: web-services

Connection closing on web service client

I have a .Net 3.5 app with a web service that inherits from System.ServiceModel.ClientBase<>, and after I make 300 – 400 calls on a webservice method, I get the following exception: System.ServiceModel.CommunicationException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. —> System.Net.WebException: The underlying […]

Reusing asmx webservices in multiple projects

We have multiple projects in our system that want to share the same asmx webservice. Does anybody have any advice / best practices on how to do this. The problem is that the webservices are constantly changing so i can’t just add a webreference to production. Also that is dangerous because when doing development I […]