17 December 2007

IIS 7.0 - IIS Manager Module to scan for assemblies built in debug mode

Often assemblies are built in debug mode and deployed on production servers causing performance degradation. Using this module you can scan all your website folders to find .net modules that are built in debug mode.

INSTALLATION

1. You will have to add the assembly to the GAC on the server

gacutil /if FindDebugModules.dll

(or) Drag and Drop the dll to the c:\Windows\assembly folder

2. Register the module in the administration.config

Under <moduleProviders> you will have to add

<add name="FindDebugModules" type="vijaysk.FindDebugModulesProvider, FindDebugModules, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2d42d2dbeb800be5" />

And under <location path=".">    <modules> you will have to add
<add name="FindDebugModules" />

Once you open IIS Manager you should see the module listed under the Others category.

FDM

 

USAGE

Once you click the "Scan Now..." button the module scans all the websites to find the folders where you website content is stored. Then it loads all the dlls in those paths and checks if they are built in debug mode.

image

Using this module you can ensure that the assemblies on your production servers are always built in Release mode.

Bookmark and Share
Filed under: ,
Attachment(s):FindDebugModules.zip
 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Geek Lectures - Things geeks should know about » Blog Archive » IIS 7.0 - IIS Manager Module to scan for assemblies built in debug mode said:

PingBack from http://geeklectures.info/2007/12/17/iis-70-iis-manager-module-to-scan-for-assemblies-built-in-debug-mode/

17 December 07 at 3:20 PM
# The Way I See It said:

There is a lot of enthusiasm around building IIS UI modules that show up in the IIS Manager. The extensibility

19 December 07 at 2:41 PM
# Noticias externas said:

There is a lot of enthusiasm around building IIS UI modules that show up in the IIS Manager. The extensibility

19 December 07 at 2:50 PM
# ScottGu's Blog said:

Here is the latest in my link-listing series .&#160; Also check out my ASP.NET Tips, Tricks and Tutorials

04 January 08 at 4:28 AM
# BusinessRx Reading List said:

Here is the latest in my link-listing series .&#160; Also check out my ASP.NET Tips, Tricks and Tutorials

04 January 08 at 4:59 AM
# 幸福 said:

原文地址】Jan4thLinks:ASP.NET,ASP.NETAJAX,ASP.NETMVC,VisualStudio,IIS7

【原文发表日期】Friday,Janua...

04 January 08 at 8:16 PM
# Programming said:

Here is the latest in my link-listing series .&#160; Also check out my ASP.NET Tips, Tricks and Tutorials

09 January 08 at 10:17 AM
# Mutamblog said:

Links 4/Jan: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, IIS7

17 January 08 at 12:13 AM
# ASP.NET Chinese Blogs said:

【原文地址】 Jan 4th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, IIS7 【原文发表日期】 Friday, January

18 January 08 at 1:18 PM

Leave a Comment

Comment Policy: No HTML allowed. URIs and line breaks are converted automatically. Your e–mail address will not show up on any public page.

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Page view tracker