We have already seen Windows Server AppFabric's API for a default
SqlInstanceQuery in the first recipe of this chapter. In this recipe, we will learn about implementing a custom Instance Query provider.
Windows Server AppFabric provides an API based on a provider model that allows implementation of a custom Instance Query provider. The process is similar to how we created a custom Instance Store provider in the preceding recipe.
Start Visual Studio 2010 with administrative privileges and create a new class library project using C#.
We will add new class called
CustomInstanceStoreProvider, which will implement an abstract base class called
InstanceStoreProvider. We will then add the ...