Browse by Tags

Tagged Content List
  • Blog Post: AppFabric Cache–How to check if a region exists

    In an AppFabric Cache you can segregate your cached data into regions. You create a region using the CreateRegion() method of the DataCache object. Working on a recent project I was asked How do I check if a cache exits ? There is no RegionExits() method on the DataCache object. To check if a region...
  • Blog Post: Where is ASP.NET 4.5 …wait Where is .NET 4.5 ?

    When .NET 3.5 was released a lot of people wondered why ASP.NET 3.5 wouldn’t show up in IIS. http://blogs.msdn.com/b/vijaysk/archive/2008/03/20/running-asp-net-3-5-on-iis.aspx Well with .NET 4.5 you might be a bit more confused… So first .NET 4.5 will not show up in IIS But now if you check the Microsoft...
  • Blog Post: .NET 4.5 - Information of Caller Function (Caller Attributes in .NET 4.5)

    While debugging code “Who called my function ?” is  a million dollar question. Knowing the origin of your function call is in many cases the first step in debugging any code. Until now a few ways of doing this were to look at the CallStack in visual studio or  a debugger or the most common...
  • Blog Post: ASP.NET Debugger Extension – Manual Install / Uninstall

    In case you have problems with the setup files for ASP.NET Debugger Extension you can manually install the module. FILES ADE.dll This is the main module that loads in IIS Location : GAC ADEWOWHelper.exe This is a helper exe that is used in x64 environments to support WOW worker...
  • Blog Post: ASP.NET Debugger Extension – Trace Process for Debug Events

    With ASP.NET Debugger Extension you can also trace the process for events. This is actually a wrapper around the MdbgEngine (mdbgcore.dll) options to interrupt a process when an event occurs. You can use it to trace exceptions / module loads etc. For example below we are tracing for exceptions. Every...
  • Blog Post: ASP.NET Debugger Extension – Find Debug Modules

    ASP.NET Debugger Extension has an useful feature to find modules that are built in debug mode. You start by selecting a website, ADE then scans all the folders under that website to figure out the modules that are built in debug mode. Debug modules should usually not be deployed on production servers...
  • Blog Post: ASP.NET Debugger Extension – Callstack Viewer

    I recently created an ASP.NET Debugger Extension for IIS 7 that you can use to troubleshoot issues that would usually involve taking a memory dump of the process. One of the features in this extension is the ability to get a managed stack trace of all the threads in the worker process that are running...
  • Blog Post: ASP.NET Debugger Extension for IIS 7

    Just finished writing an extension for IIS 7 that will provide advanced debugging features for IIS worker processes running managed code. It basically does three things 1. Find Debug Modules This feature will help you scan your website content to spot modules that have been built in debug mode...
  • Blog Post: Using Themes in ASP.NET loads System.Drawing namespace

    Using the System.Drawing namespace is strongly discouraged in ASP.NET as it leads to a lot of performance/runtime problems. Recently one of our customers reported an issue where we were getting GDI+ errors in a normal ASP.NET application. Exception type: System.Runtime.InteropServices.ExternalException...
  • Blog Post: The lone System.OutOfMemoryException in your memory dump

    I was recently asked ... Every time you run !dumpallexceptions ( !dae ) you will find that there is always a System.OutOfMemory exception object that will be listed Number of exceptions of this type: 1 Exception MethodTable: 0482151c Exception object: 182d005c Exception type: System.OutOfMemoryException...
  • Blog Post: MachineKeys For IIS 7.0

    IIS uses MachineKeys for encryption. IIS 6.0 uses a particular key c2319c42033a5ca7f44e731bfd3fa2b5_GUID to do the encryption. If you have worked on IIS Admin start up issues the machine keys is one of the first things we check because if you do not have the proper machine key you cannot enumerate the...
  • Blog Post: WinDbg Scripting - Dump column names from a data table

    Windbg provides a nice scripting mechanism with which we can automate repetitive tasks. It is seldom used and I have found very few people who actually utilize it but it is a great way to automate tasks. One annoying routine that I regularly used to do is to find the column names of a data table in...
  • Blog Post: Adding Icons to your custom IIS 7.0 Manager UI Modules

    There is a lot of enthusiasm around building IIS UI modules that show up in the IIS Manager. The extensibility model that IIS 7.0 ships with is great and provides a lot of opportunity for developers to come up with nifty modules. One thing that developers miss out is to add an icon for the UI module...
  • Blog Post: Preventing ildasm from disassembling your assembly

    The MSIL Disassembler (ildasm.exe) is a neat tool that can be used to view the MSIL code of a .Net assembly/dll. Many of you should have used it to peek into assemblies while debugging/troubleshooting. I use it a lot to check assembly namespaces and stuff while debugging. But when I tried to disassemble...
  • Blog Post: A tryst with MSIL

    Any ASP.NET developer should be knowing that when his/her .NET application is compiled, the high-level code written in C# or Visual Basic .NET is compiled into the intermediate language MSIL. It is this MSIL that the Common Language Runtime (CLR) actually expects when the application is run. The CLR...
Page 1 of 1 (15 items)