注册自定义模块在IIS 7中 [英] Registering a Custom Module in IIS 7

查看:168
本文介绍了注册自定义模块在IIS 7中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为IIS,我要运行一些测试自定义模块。我创建的Inetpub / wwwroot文件称为演示里面一个新的目录,并增加了一个名为MDemo新的网站。我说我的DLL的/ bin文件夹。该目录现在包含2个文件:Default.aspx的和斌/ MYDLL

I've created a custom module for IIS that I want to run some tests on. I created a new directory inside inetpub/wwwroot called demo and added a new site called MDemo. I added me DLL to the /bin folder. This directory now contains 2 files: default.aspx and bin/mydll.

我到模块上的网站,并试图添加托管模块。我的模块没有出现在列表中。我试着将它添加到GAC,但我无法弄清楚如何。我尝试使用,但的Mscorcfg.msc .NET框架配置作为选装不出来。

I went to Modules on the site and tried to "Add Managed Module". My module is not showing up in the list. I tried to add it to the GAC but I can't figure out how. I attempted to use Mscorcfg.msc but .NET Framework Configuration does not show up as an option.

我如何能得到这个DLL显示在列表中,并添加作为一个管理模块?

How can I get this DLL to show up in the list and add as a managed module?

推荐答案

术语管理模块的意思,它是在GAC。您可以通过使用GACUTIL或在Visual Studio中创建一个安装项目(在其他项目类型)获得的dll到GAC。 请参阅<一href="http://blogs.iis.net/carlosag/archive/2008/11/10/creating-a-setup-project-for-iis-extensions-using-visual-studio-2008.aspx" rel="nofollow">http://blogs.iis.net/carlosag/archive/2008/11/10/creating-a-setup-project-for-iis-extensions-using-visual-studio-2008.aspx

The term "Managed Module" means that it is in the GAC. You can get the dll into the GAC by using GacUtil or by creating a "Setup Project" (under "Other Project Types") in Visual Studio. See http://blogs.iis.net/carlosag/archive/2008/11/10/creating-a-setup-project-for-iis-extensions-using-visual-studio-2008.aspx

这篇关于注册自定义模块在IIS 7中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆