Running Instance Licensing for Virtualization Scenarios

Yesterday Microsoft announced new licensing to make Virtualization scenarios easier and more cost effective to implement. There are 4 parts to the announcement: Licensing will be by running instance, allowing customers to store an unlimited number of instances at no additional cost, and only pay for those running. Customers can move instances between physical boxes, providing the…

0

Why instrument your application?

Here is a question I get asked from developers: “Why should I instrument my application?” Why indeed? Does anyone ever look at it? Does anyone care? So what scenario is powerful enough to get a few extra lines of code added to a project? (Ok so its more than just adding a few lines of…

0

Raise Crimson Events from .NET Part 4 & 5 – Wrapping the API

In parts 1, 2 and 3 we looked at putting together the XML manifest for the events and channels we wish to use. Since there is no managed code support in the .NET framework, we need to use  Platform Invoke (PInvoke) – There is a good PInvoke tutorial at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcwlkPlatformInvokeTutorial.asp. The methods we need to invoke can be…

1

Raise Crimson Events from .NET Part 3 – The DLL

Last time we wrote the manifest. Now we need to turn this into a resource our application and the event viewer can use. To enable us to build a DLL – we need some code, this is the contents of main.cpp:#include “windows.h” BOOL APIENTRY DllMain(  HANDLE hModule,                        DWORD ul_reason_for_call,                        LPVOID pReserved){   return TRUE;} Next we need to create the…

0

Raise Crimson Events from .NET Part 2 – The Manifest

It seems I got a little side tracked with these posts, but here goes the next one… Our first task is to create an Instrumentation Manifest, which will contain the definitions for the channels, events and anything else our application will need to raise events. The Instrumentation Manifest is simply a XML file. Check out…

1

Raise Crimson Events from Managed Code Part 1

You may have heard there is a new event logging API on the block. Its codename is Crimson and it rocks. Haven’t heard of Crimson? Check out the .NET Show on Management Services at http://blogs.msdn.com/theshow/archive/2005/07/06/436242.aspx. Also see http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/wes/wes/about_the_windows_event_log.asp?frame=true (and its worth checking out http://msdn.microsoft.com/windowsvista/top10/#CTA5 for the bigger picture in Vista) If you were at PDC,…

0

ook?

Hello blogworld! This is the customary hello world message. I am a Architect Evangelist with Microsoft and my mission (at least for now) is to make the world a better place by making every application be more manageable, so we can enjoy our weekends instead of being stuck in the data center trying to figure…

0