Do you know that .NET GC now equipped with yet another option to Compact Large Object Heap. This has been a long problem for people where LOH can produce fragmentation in memory or when Free space table cannot handle allocation requests. LOH is the Large object Heap allocated generally for large objects which are above 85,000 bytes long.… Read More »
#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 »
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 »
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 »
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.
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 »
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 »
In this tip I will discuss how we can get assembly version programmatically from a caller application. This can be done easily by taking help of Reflection. Assembly Class contains a static method called GetAssemblyFullName() which gets the assembly that contains the code that is currently executing.