Thursday, September 22, 2011
Following Build conference, many people may ask what is new in the .NET Framework. Well, you could find out by examining the documentation, but then you are limited to what it covers. If you want to know ALL that is new / updated in the .NET Framework, read on.. You can use the following method to easily find the difference between .NET Framework 4.5 and its previous version, .NET Framework 4.0! In this post I will show you how you can use the tool NDepend to compare two versions of a DLL which is...
Monday, May 30, 2011
Introduction The official answer is you can’t. Even with the In-Process Side by Side execution (SxS) feature, introduced in .NET 4. The SxS feature was intended to be used when COM is involved. For example, if you got an application that loads plugins, like outlook, and it loads 2 COM plugins, one is using .NET 4 and the other is using .NET 2.0 then it will load two versions of the CLR into the process using the new SxS feature. What if I simply have a .NET 2 application or DLL that needs to access a...
Monday, November 8, 2010
The Windows Ribbon for WinForms is a ribbon control designed to be used with WinForms applications. Yea, I know, WinForms is so last year, but it turns out people still use it and keep asking for features and bug fixes.. Anyway, it is a managed wrapper around Windows Ribbon Framework, provided by Microsoft in Windows 7 and Vista. More details on this project can be found in the project site: windowsribbon.codeplex.com . So, what’s new? Simplified use for the Ribbon control. Simply...
Friday, October 8, 2010
This is a review of the current available collection types in .NET Framework 4.0 Note that I don’t plan to explain all the history of the different collection. If a class is obsolete, that is enough information. The intention is to use this post as a reference when you need to decide which type of collection you should use. Also, I’m not going to give the complexity of each function. You can find such information in the relevant class documentation on MSDN. Anyway, you can deduce it yourself, since this it...
Monday, September 13, 2010
Last Tuesday (31.08.2010) Microsoft released a new version for the excellent managed library, Windows API Code Pack. For those who don’t know, this library serves as a managed wrapper for many Windows APIs which are not included in .NET framework, especially new features from Windows Vista and Windows 7. I’ve been working with this library for quite some time now and I must say it is “.NET missing piece”. Most of Windows features which doesn’t exists in .NET are at your fingertips =, without handling all the Interop stuff yourself. With the coming of .NET Framework...
Monday, July 12, 2010
In this post I’ll show you how to configure your Visual Studio 2010 to step into the source code of .NET Framework 4.0
Because its cool.
Because it helps with debugging. Not only you can see the code but you can step into it.
Because unlike with Reflector, you get the code with the original comments and variable names!
Step 1: Download Source
Go to http://referencesource.microsoft.com/netframework.aspx
Download from the line marked with Product Name: .Net , Version: 4 That's a 175MB download.
Step 2: Install Source
Install “Net_4.msi”, which you have downloaded at the previous step.
I’ve installed it into: “D:\RefSrc\” The installed size...