Twitter / kaizenx

Monday, May 25, 2009

New Visual Studio 2010!!!!

Cool as heck, bigger image after the jump.

Saturday, May 16, 2009

Things I like about ASP.NET 4.0

I will be doing one post a day on the things I like about dotnet 4.0 until the 28th of May.

Today, I will blog about XDT.

What is XDT? XDT stands for XML Document Transform.

XDT allows you to transform the information inside a web.config file.

Which means no more commenting and un-commenting the connectionstrings in your web.config file.

In the following example

<connectionStrings xdt:Transform="Replace">

<add name="BlogDB" connectionString="connection string detail]" />

</connectionStrings>


The "Replace" keyword is used to indicate that during deployment the "connectionstring" node will be replaced with the contents of the values from the example.