Browse by Tags

19 March 2008
Object.ReferenceEquals(valueVar, valueVar) will always return false
The ReferenceEquals method is usually used to determine if two objects are the same instance. But you need to be a bit cautious when you use it with Value Types. Consider the following code. static void Main( string [] args) { int valueVar = 15; if (Object.ReferenceEquals(valueVar, Read More...
0 Comments
Filed under:
 
19 December 2007
Adding Icons to your custom IIS 7.0 Manager UI Modules
There is a lot of enthusiasm around building IIS UI modules that show up in the IIS Manager. The extensibility model that IIS 7.0 ships with is great and provides a lot of opportunity for developers to come up with nifty modules. One thing that developers Read More...
2 Comments
Filed under: , ,
 
05 December 2007
Preventing ildasm from disassembling your assembly
The MSIL Disassembler (ildasm.exe) is a neat tool that can be used to view the MSIL code of a .Net assembly/dll. Many of you should have used it to peek into assemblies while debugging/troubleshooting. I use it a lot to check assembly namespaces and stuff Read More...
6 Comments
Filed under: , ,
 
15 November 2007
SOS your Visual Studio
If you as a developer are interested in taking quick peeks into memory allocation you can load SOS (Son Of Strike) in Visual Studio to do that. SOS is written as a WinDbg extension but can load in Visual Studio and do most of the stuff. To begin with Read More...
4 Comments
Filed under: , ,
 
30 November 2006
A tryst with MSIL
Any ASP.NET developer should be knowing that when his/her .NET application is compiled, the high-level code written in C# or Visual Basic .NET is compiled into the intermediate language MSIL. It is this MSIL that the Common Language Runtime (CLR) actually Read More...
0 Comments
Filed under: , ,
 
Page view tracker