Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

Team Foundation Server tool dump workspace details

I juggle around with a lot of workspaces. The reason is .NET Compact Framework is consumed in a whole bunch of things like Windows Mobile, Xbox, Zune, Nokia and most of them are on different source branches. On top of this active feature work happens
Posted by abhinaba | 1 Comments

Obsession with desktop continues

This is my new office setup. I have been pushing around a lot of code lately and felt I needed more real-estate to effectively do what I'm doing. So I hooked up another monitor. All  3 are standard HP LP1965 19" monitors. However, since none
Posted by abhinaba | 4 Comments
Filed under: ,

Back to Basic: Using a System.Threading.Interlocked is a great idea

I just saw some code which actually takes a lock to do a simple set operation. This is bad because taking locks are expensive and there is an easy alternative. The System.Threading.Interlocked class and its members can get the same job done and much faster.

String equality

akutz has one of the most detailed post on string interning and equality comparison performance metrics I have ever seen. Head over to the post here I loved his conclusion which is the crux of the whole story. " In conclusion, the String class’s
Posted by abhinaba | 1 Comments

Writing exception handlers as separate methods may prove to be a good idea

Let us consider a scenario where you catch some exception and in the exception handler do some costly operation. You can write that code in either of the following ways Method-1 : Separate method call public class Program { public static void Main(string[]

Microsoft Roundtable

Our conference rooms have been fitted with this really weird looking device (click to enlarge). I had no clue what the thing was. Fortunately it's box was still placed in the room along with the manual. It's called the Microsoft RoundTable and it is actually
Posted by abhinaba | 2 Comments
Filed under: , ,

Do namespace using directives affect Assembly Loading?

The simple answer is no, the inquisitive reader can read on :) Close to 2 year back I had posted about the two styles of coding using directives as follows Style 1 namespace MyNameSpace { using System; using System.Collections.Generic; using System.Text;

Auto generating Code Review Email for TFS

We use a small command line tool called crmail to auto-generate code review email from shelveset. I find the whole process very helpful and thought I'd share the process and the tool (which has some really cool features). Features Automatic generation

How does the .NET CF handle null reference

What happens when we have code as bellow class B { public virtual void Virt(){ Console.WriteLine("Base::Virt"); } } class Program { static void Main(string[] args){ B b = null; b.Virt(); // throws System.NullReferenceException } } Obviously
Posted by abhinaba | 3 Comments
Filed under: ,

C# generates virtual calls to non-virtual methods as well

Sometime back I had posted about a case where non-virtual calls are used for virtual methods and promised posting about the reverse scenario. This issue of C# generating callvirt IL instruction even for non-virtual method calls keeps coming back on C#
Posted by abhinaba | 2 Comments

Guy or a Girl

One interesting aspect of working in Internationally distributed team is that sometime it gets difficult to make common judgements. E.g. when we see a name we inherently figure out whether it's a male or female name and refer to that person as such in
Posted by abhinaba | 5 Comments
Filed under:

Baby smash

What is the common thing between every programmer dad/mom? The moment they get onto a new UI platform they write a child proofing application for the keyboard. Scott Hanselman has just posted his version baby smash (via AmitChat ). The funny thing is
Posted by abhinaba | 1 Comments

Cell phone assault

Last two weeks my cell phone got assaulted thrice. First it was someone sending me a virus over bluetooth (a sis file actually). This happened when I was taking a photograph of my daughter with the cell phone camera in a restaurant (Aromas of China, City

Stylecop has been released

Microsoft released the internal tool StyleCop to public under the fancy yet boring name of Microsoft Source Analysis for C# . Even though the name is boring the product is not. You'll love this tool when it imposes consistent coding style across your
Posted by abhinaba | 1 Comments
Filed under: ,

Building Scriptable Applications by hosting JScript

If you have played around with large applications, I'm sure you have been intrigued how they have been build to be extendable. The are multiple options Develop your own extension mechanism where you pick up extension binaries and execute them. One managed
Posted by abhinaba | 3 Comments
Filed under: ,
More Posts Next page »
 
Page view tracker