Installing Windows Performance Toolkit (WPT)

So, you want to install the Windows Performance Toolkit?  This is located in the Windows SDK which you can download here.  If you’re like me, you may not want to blindly install the entire SDK.  The installer options that provide the WPT installers are the ‘Win32 Development Tools’ and/or ‘.NET Development Tools’ option under ‘Developer…

1

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.  These services are just WCF services and…

0

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, on the other hand, often takes a different look at technology to…

0

WCF Instancing, Concurrency, and Throttling – Part 3

In part 1 and 2, I talked about instancing and concurrency. In this post, the 3rd 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”)…

0

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 for achieving thread-safety, you can really open up the throughput…

1

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 think about things like service level agreements…

1

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 a service the amount of…

0