Hernan de Lahitte's blog
.NET Development from the trenches
-
Hands-on Labs for Microsoft Enterprise Library 4.1 and Unity 1.2
In case you didn't notice yet, there are new HOLs for EntLib 4.1 and Unity 1.2.
-
Run as different user in Vista
Very useful script for adding this feature back to Windows Vista in case the "Run as Administrator" may not fit your needs :)
-
Broken or missing project templates in Visual Studio 2008 or 2005
After my last system restore, I got this annoying issue when I opened a VS solution with test projects and some other project types. This is basically becasue of the "broken templates" issue. I came across
this post(Update: may be this for VS2010, or this for older versions, or this one for VS2012) that describes the problem and solution which in my case simply fixed running this command devenv /InstallVSTemplates from a Visual Studio command prompt with admin privs (for Vista). -
DSL model gradient background
In one of my recent DSL projects I was looking a way to get that nice gradient background that you can find in the Visual Studio DSL designer like the figure below:
-
X509 Certificate validation
Some time ago I was looking for some way to validate an X509 certificate and for my surprise I couldn't find any good method to do this pretty common task. I know that the X509Certificate2 class has a Verify method but is rather limited in terms of validation options and scope. I also know that the X509Chain class can give some good validation but basically scoped to the certificates in the chain and the many options it has may take some time to get them right. Then I remembered that WCF already provides a good and configurable certificate validation API in the form of "<authentication>" element like the configuration section below:
-
ESB Guidance 2.0 CTP now available for BizTalk Server 2009
As announced by Microsoft at the beginning of this month the Gartner conference,the betas are now available for both BizTalk Server 2009 and ESB Guidance 2.0. For many of you this may be no news, but the good news is that ESB 2.0 CTP2 is coming in the next days and will get a bunch of enhancements and new features.
-
EntLib 4.0 Policy Extensions for WSSF (Source Code)
You can get the source code for the EntLib 4.0 Policy Extensions for WSSF from here in source code link.
-
EntLib 4.0 Policy Extensions for WSSF (Web Service Software Factory)
If you are using WSSF along with EntLib, then you might what to check this out in the WSSF Contrib Project site.
-
Web Service Sofware Factory Contrib project is live
The new contrib project for WSSF is out and with some of the two most wanted contributions, Import WSDL Add-on (for generating models from existing WSDL documents) and VB.NET support (where Edward Bakker extended the official February 2008 release to include VB.NET code generation templates and project types, very nice work indeed).
-
Import WSDL for WSSF (Web Service Software Factory 2008)
Updated (24-jul-2008)