Category Archives: Visual Studio

Understand the complexity and maintainability of your code using Code Metrics in Visual Studio– Line of Code (LoC)

By | December 14, 2015

In the previous post you have learned the basics of Code Metrics and how to get started with it. Now, we will start looking into the individual metrics in details. To start with, we will pick the Line of Code first.  Lines of Code (LoC) – Indicates the approximate number of lines in the code.  We should write our method… Read More »

Understand the complexity and maintainability of your code using Code Metrics in Visual Studio

By | December 13, 2015

Code Metrics is one of the important software measures that give you an insight of your code maintainability and complexity. No one likes over engineered or too complex code.  As a developer when you are writing your code, you must adhere those boundary values of metrics to ensure your code is well written, understandable and maintainable. In short,… Read More »

Did you know – Code Map can be used to visualize the call stack directly ?

By | December 8, 2015

In Visual Studio, by using the Call Stack window, we can view the function call that are currently on the stack for that instance of execution steps. It’s one of most frequently used feature during debugging.  This helps us to trace the code flow and debug thing faster and   If you are familiar with Code Maps, you must have… Read More »

Application Insights Events Filtering inside Visual Studio Diagnostic tools

By | December 3, 2015

Visual Studio Diagnostic Tools window now provides a detailed of the Application Insights events while you are debugging. To use this functionality, open the Diagnostic Tools window (Debug -> Diagnostic Tools). Along with other events, Application Insights events also trace inside the diagnostic tool. You can refer to “Trace your Application Insights events inside Visual Studio Diagnostic tools” post know… Read More »

Back to Basic : Displaying detailed output of MSBuild in Visual Studio output Window

By | November 26, 2015

I have received this question as a follow-up from one of my pervious post Back to Basic – Building Solutions in Visual Studio – Build Vs. Rebuild . There I explained the details of different types of build and how things works under the hood, and shows how you can view the detail inside output window.  Question was how we… Read More »

How to identify the project dependencies in Visual Studio ?

By | November 25, 2015

In the previous post you have seen the difference between Build and Rebuild solution in Visual Studio and how things works under the hood. In the last section of the post we also talked about the project dependencies and the build order of the projects; which is dependent on project dependencies.  In this post lets have a quick… Read More »

Back to Basics – Building Solutions in Visual Studio – Build Vs. Rebuild

By | November 24, 2015

“Build Solution” and “Rebuild Solution” are the most commonly used features in Visual Studio.  As a developer you writes code, build the solution and run the application in Visual Studio.  Very often you also used “rebuild solution” , or “clean and then build solution”.  Have you ever wonder why there are different options ? When to use them?  Though… Read More »