Tag Archives: Tips and Tricks

Automatically calling a method when a breakpoint is hit

By | January 1, 2014

While debugging the applications in visual studio, in may instances it many require to call a specific method when a breakpoint is hit. It may be because of  just to verify some output or check some variables values. We can perform that part either using immediate window or execute those method in some other debugging session. However, all… Read More »

Easy Search within Visual Studio Dependency Diagrams

By | October 7, 2013

Dependency Graphs in Visual Studio allows us to explore and understand the code in a better and visual way. In this tip you will learn how you can search some components from  the Visual Studio generated dependency diagram very effectively.  First of all, lets have a look how to generate the dependency diagram.  If you want to manage… Read More »

Function return values inspection in Visual Studio 2013

By | August 23, 2013

Visual Studio 2013 introduced a great feature  that helps you to inspect all the functions / nested functions returns values during the current debugging session.  This is really useful when the returned values are  not stored in a local variables and you want to check them. You can actually view then by giving the specific values in Watch… Read More »

Automatic braces completion in Visual Studio 2013

By | August 1, 2013

One of the small and nice features of Visual Studio 2013 you will find is the automatic braces completion.  This will close the braces automatically when we starts the braces. This features will work for C#, VB, C++, F# as well as for JavaScript.  Automatic braces completion works for parentheses, curly and square brackets. Additionally this also works… Read More »

Sort Generic List Using Lambda Expression For Dynamic Type And Dynamic Property

By | September 17, 2011

Once stuck on a requirement where I needed to write a code which is flexible and generic enough to sort any type of collection and also the property based on which it has to be sorted will be dynamic. After trying many options I discovered myself how easy it is to hit this requirement using Lamda Expression.

Use Visual Studio Server Explorer to Add New or Existing SQL Server CE Database

By | August 7, 2011

SQL CE is a free, embedded, lightweight  database engine that enables easy database storage. This does not required any installation and runs in memory. Visual Studio 2010 SP1 Came up with nice tooling support for SQL Server CE. We can add a SQL CE Data base using Add New Item option from Solution Explorer Context Menu. But In… Read More »