WIN2008 Application IIS 7 managed module configuration

Source: Internet
Author: User
Tags iis

With the IIS 7.0 extensibility model, you can develop WEB server components called modules and deploy them as native DLLs that use native C + + APIs or managed types developed using the ASP.net API. A WEB server module can belong to any of the following types:

-Native modules (native. dll files): These files are also referred to as "unmanaged modules" because they are not created using the ASP.net model. By default, most of the functionality contained in a WEB server is implemented as a native module.

-Managed modules (managed types created by. NET assemblies): These modules are created using the ASP.net model.

This article describes the managed module configuration process.

The module provides the required services, such as authentication or compression, by processing part of the request. They work very much like Internet server API (ISAPI) filters. Typically, modules do not generate responses that are returned to the client, but instead are handled by handlers because they are better suited to handle specific requests for specific resources.

(i) adding managed modules

You may need to add this managed module if the application on the WEB server requires behavior that is supported by a managed module. When you add a module, you are not creating a module; You are associating code that already exists on your computer with a WEB application running on that computer.

Note: The modules page also lists the managed modules and native modules that are used by the application. This list may only be part of all native and managed modules that exist on the WEB server.

1. Open IIS Manager, and then navigate to the level you want to manage.

2. In the function view, on the Server home page, site home page, or Application home page, double-click Modules.

3. On the Modules page, in the Actions pane, click Add Managed Module.

4. In the Add Managed Modules dialog box, in the Name box, type a name for the managed module.

5. In the Type box, select a managed type or type a managed type.

6. If you want this module to respond only to managed requests, select the check box for starting this module for requests for managed applications or managed handlers.

7. Click OK.

(ii) Edit managed modules

The specific steps are as follows:

1. Open IIS Manager, and then navigate to the level you want to manage.

2. In the function view, on the Server home page, site home page, or Application home page, double-click Modules.

3. On the Modules page, in the module list, select the managed module that you want to change.

4. In the Actions pane, click Edit.

5. On the Edit Managed Modules dialog box, edit the information that you want to change, and then click OK.

(iii) Removal of managed modules

If a site or application no longer needs to be processed with a managed module, you can remove the module from the site or application. Deleting a managed module means removing the module from the list of active modules, but the corresponding code still exists on the WEB server. If the needs of your application change, you can add this module again.

1. Open IIS Manager, and then navigate to the level you want to manage.

2. In the function view, on the Server home page, site home page, or Application home page, double-click Modules.

3. On the Modules page, in the module list, select the managed module that you want to delete.

4. In the actions pane, click Delete, and then click Yes.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.