Posts

Showing posts from September, 2012

Did you know… You can go directly to the installed code samples from within Visual Studio?

Image
Did you know… You can go directly to the installed code samples from within Visual Studio?  This tip is specific for Visual Studio 2008. You can easily find the samples that have been installed for Visual Studio by going to   Help-Samples.  Then in the browser, click on the   local Samples folder   link. As the message box states, the samples are in a .zip file, so you’ll need to extract these files before you attempt to build. Otherwise, the build will fail, and you’ll wonder why the samples that came with the product don’t work.

Visual Studio 2008 Debugging Tips

Image
Visual Studio 2008 Debugging Tips Step Into, F11: "Step Into executes only the call itself, then halts at the first line of code inside the function." (MSDN) Use Step Into to go inside your method and stop immediately inside it. Step Over, F10: Moves to the next step in your code also, but doesn't break inside any methods. Step Out, SHIFT + F11: Ignores the rest of the current method and goes to the calling method. Window Description Immediate Displays variables and expressions. Autos Displays all variables in the current and previous statements. Locals Displays all variables in the current context. Watch Displays up to four different sets of variables. Call Stack Displays all methods in the call stack. Threads Displays and control threads. Immediate window  : to execute a method while your application is r...

Basic components of .NET platform

Image
What are the basic components of .NET platform? The basic components of .NET platform (framework) are: Common Language Runtime (CLR): The most important part of the .NET Framework is the .Net Common Language Runtime (CLR) also called .Net Runtime in short. It is a framework layer that resides above the Operating System and handles/manages the execution of the .NET applications. Our .Net programs don’t directly communicate with the Operating System but through CLR MSIL (Microsoft Intermediate Language) Code: When we compile our .Net Program using any .Net compliant language like (C#, VB.NET, C++.NET) it does not get converted into the executable binary code but to an intermediate code, called MSIL or IL in short, understandable by CLR. MSIL is an OS and H/w independent code. When the program needs to be executed, this MSIL or intermediate code is converted to binary executable code, called native code. The presence of IL makes it possible the Cross Language Rela...