Thursday, December 8, 2011

How to get assembly version in ASP.NET MVC?

typeof(ControllerClassName).Assembly.GetName().Version.ToString()

How to make transformation working for app.config?

There is an add-on in Visual Studio: SlowCheetah - XML Transforms

http://visualstudiogallery.msdn.microsoft.com/69023d00-a4f9-4a34-a6cd-7e854ba318b5