Tag Archives: .NET

Fav 3 : Three Favorite Tips from Daily .NET Tips – Series 1

By | August 24, 2013

#1 : Get list of all active session variables in ASP.NET This post talks about how you can get list of all active Session Variables in ASP.NET Application. The easiest way to get the details of session variable is using “Tracing” . If you enable the “Tracing” for your application, you can get list of all  Active Session… Read More »

Setting Up Noise Reduction Option for Performance Reports in Visual Studio 2010 Profiler

By | September 25, 2011

Visual Studio Profiler generates Performance reports which contains the data for analysis of current profiler session. The information might be heavy or you might not interested to consider a specific range of information for your application performance impact. Visual Studio profiler Tool provides a features called “Noise Reduction” which enables profiler report  to be configured for noise reduction… Read More »

Using Code Definition Window with Call Hierarchy in Visual Studio 2010

By | September 20, 2011

In my previous Tip I have discussed about Navigate Code Using Code Definition Window in Visual Studio .  In this tip I am just going to extend the same using  Call Hierarchy window. Call Hierarchy option in Visual Studio 2010 helps you to navigate through your code by displaying all calls to and from a selected  method or… 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.

How to Pass Command Line Arguments using Visual Studio ?

By | September 16, 2011

You are writing one application in Visual Studio which accepts some command line parameter to do some operation. You pass command line arguments to the program when it’s been invoked  from the command line. But how did you do it from Visual Studio ?  You want to test your application and do you really want to open command… Read More »

Install a shared Assembly to the GAC as post build event from Visual Studio

By | September 14, 2011

The Global Assembly Cache (GAC) is a Cache for globally available Assemblies. Most of the shared assemblies are installed inside GAC to shared across different applications. The Global Assembly Cache tool (Gacutil.exe) allow us to manipulate the contents of the global assembly cache along with install and un-install Assembly. During the development, we generally  take help of gacutil… Read More »

PartNotDiscoverable attribute in MEF

By | September 1, 2011

Managed Extensibility Framework as of now is a new model that deals with Extensibility in application by giving you a standard set of rules by which the vendor who exports components can be related easily to the vendors that imports software components. Hence MEF rules as a standard way of defining extensibility in application.