Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Tech   (RSS)

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;

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

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: ,

Model, View, Controller

These days the whole world is abuzz with the Model, View, Controller (MVC) architecture. This is not something new and is known by computer scientists for close to 30 years. I guess the new found popularity is due to the fact that this has heavy application
Posted by abhinaba | 1 Comments
Filed under: ,

Alternatives to XML

Though not as much as the Jeff Atwood I don't like overuse of XML as well. In our last project we used XML in a bunch of places where it made sense and also planned to use it in bunch of other places where it didn't. For some strange reason some folks
Posted by abhinaba | 0 Comments
Filed under: ,

What is the similarity between Windows and Textile Industry

...they both use threads and fibers :) Most people are aware of processes and threads. Windows offers an even finer granularity over execution. This is called Fiber . To quote MSDN A fiber is a unit of execution that must be manually scheduled by the
Posted by abhinaba | 0 Comments
Filed under: ,

My workstation layout

Our team just moved to a new building in Microsoft India campus. A lot of people were going around checking out other people's office. I got asked couple of times about my workstation layout and thought I'll do a quick post on that. Like most people in
Posted by abhinaba | 3 Comments
Filed under: , ,

Struggling with email overload

It literally rains email at Microsoft (if you've been to Seattle/Redmond you know why :) ) I've always struggled to keep up with the email in Microsoft. When I joined I was stunned with the downpour. The number of email I got on the first day was more
Posted by abhinaba | 3 Comments
Filed under: ,

Forcing a Garbage Collection is not a good idea

  Someone asked on a DL about when to force a GC using GC.Collect. This has been answered by many experts before, but I wanted to re-iterate. The simple answer is "extremely rarely from production code and if used ensure you have consulted the
Posted by abhinaba | 3 Comments

Ensuring only one instance of an application can be run and then breaking that approach

A question posted on a DL was as follows " I have an application that allows only one instance on the desktop, how do I force it to open multiple instance for some testing purposes ". Disclaimer : Note that this is kinda hacky and only relevant if you
Posted by abhinaba | 1 Comments
Filed under: ,

Trivia: How does CLR create an OutOfMemoryException

  When the system goes out of memory a OutOfMemoryException is thrown. Similarly for stack overflow a StackOverFlorException is thrown. Now typically an exception is thrown as follows (or the corresponding native way) throw new System.OutOfMemoryException();
Posted by abhinaba | 4 Comments

Which end of the egg do you crack. Putting it differently, what is your Endianess

Few people seem to know that the word Endianess comes from Gullivers travels. In Gulliver's travel where there were two types of people, the Lilliputs who cracked the small side of their soft boiled eggs and the Blefuscu who used the big side (Big-Endian).
Posted by abhinaba | 6 Comments
Filed under: , ,
More Posts Next page »
 
Page view tracker