Rick Rainey

Developer Premier Field Engineer (PFE) at Microsoft.

Browse by Tags

Tagged Content List
  • Blog Post: Which WCF Binding Is Best?

    [Updated - 10/3/2012: An astute reader pointed out that the sample below will produce some inconsistent results based on the order of the bindings being compared. This is because of things like JIT compilation, internal caching, etc. As a quick fix, I added two lines of code to the CompareBindings method...
  • Blog Post: Monitoring Client-Outbound WCF Calls

    Recently a colleague asked me if I knew of a way to monitor outbound WCF calls for an application. He just wanted to be able to see the number of outbound calls an application was making. Performance Monitor normally provides the answer to these kinds of questions. Unfortunately, the performance counters...
  • Blog Post: Optimizing Intermediary Services for throughput

    I recently had the privilege of working with a couple of engineers (Naveed Zaheer and Manoj Kumar) in an internal lab setting to see how much throughput we could achieve through the Managed Services Engine (MSE) and a downstream WCF service hosted in IIS. This post highlights some configuration settings...
  • Blog Post: Self hosting an ADO.NET data service

    All the samples I’ve seen for ADO.NET Data Services show hosting the service in IIS.  This is a natural choice, especially considering the rich hosting environment IIS provides and the tooling support provided by Visual Studio.  However, it is not the only option for hosting ADO.NET Data Services...
  • Blog Post: ASP.NET Web Services to WCF services: Answering the question - Why?

    Windows Communication Foundation (WCF) is the platform for building distributed applications. Developers are usually eager to adopt the latest of any technology because, well, it’s the latest. There’s an element of coolness associated with building systems using the latest and greatest technology. Management...
  • Blog Post: WCF Instancing, Concurrency, and Throttling – Part 3

    In part 1 and 2 , I talked about instancing and concurrency. In this post, the 3 rd and final post on this subject, I’m going to show an example of how you can use throttling to achieve optimal throughput for a service. But first… What is throttling? Throttling is a way for you to limit (“throttle...
  • Blog Post: WCF Instancing, Concurrency, and Throttling – Part 2

    From a developers perspective, code is either thread-safe or it is not. WCF will assume your service is not thread-safe unless you tell it otherwise by applying the ConcurrencyMode behavior. Your options for concurrency are Single (default), Multiple, and Reentrant. Depending on your implementation details...
  • Blog Post: WCF Instancing, Concurrency, and Throttling – Part 1

    Building distributed systems using WCF has so many advantages. One of the things I hear consistently from customers is that it allows them to focus their development efforts on writing business logic code and less on having to write “plumbing” code. Still, writing effective services requires that we...
  • Blog Post: Making asynchronous service calls from a WinForm client

    It’s well known that long blocking calls in the main user interface (UI) thread of a WinForm client application should be avoided. As users, we certainly get annoyed when the application stops responding. Yet, even today, we see this over-and-over again in so many applications. When making a call to...
  • Blog Post: Base addresses and IIS/WAS hosted services

    If you have ever hosted a WCF service in IIS/WAS then you know that the .svc file for your service is the base address.  For example, if you create a web site project called MyService using the WCF Service template, then your base address for that service will be http://localhost/MyService/Service...
  • Blog Post: Visual Studio 2008 Service Pack 1

    Now available here . My installation took about 2 hours and 15 minutes to download and install.  Make sure you set aside some time for updating your development machine. In this post, I am going to talk about some (not all) of the features I particularly like with regard to Windows Communication...
  • Blog Post: Preventing the WCF Service Host from launching in Visual Studio 2008

    One of the great new features of Visual Studio 2008 is the new tools for WCF developers.   No longer is it necessary to code up your own test host and test client applications to test your service.   This functionality is provided for you automatically thanks to the   WCF Service Host...
Page 1 of 1 (12 items)