Iis/iis express/asp.net Configuration Fragment Recording

Source: Internet
Author: User
Tags configuration settings

The thing is that we used URLRewriter.dll as a tool to implement pseudo-static in the project, which worked fine in the VS2010 and in the previous development environment, but it did not work in the VS Express for Web, to investigate the cause, to find the IIS Express configuration issues, because IIS Express is similar to IIS configuration, and in this process has been re-read the configuration items in the previous ASP. NET configuration, so it is recorded so that the original document can be looked over again before encountering such problems.

The process for investigating the causes is:

Configuration of IIS and IIS Express
  1. Starting with IIS7, the XML-based configuration system is used to store the IIS settings information (that is, the settings for IIS are stored in an XML file), and before IIS7, these configuration information is used to store the IIS setup information using metadata (metabase); see:/HTTP Www.iis.net/configreference;IIS configuration files are applicationhost.config; Administration.config (IIS Express does not have this configuration file); Redirection.config;
  2. An XML file that stores IIS configuration information, which is organized like an ASP. config file, which is represented in: (1) using the suffix name, (2) hierarchy (configuration items in the lower layer can override configuration items in the upper layer), and (3) the configuration file has < configsections/> Defines the configuration section processor, and the remainder is the configuration information for the configuration section processor;
  3. The <modules> element in IIS configuration file Administration.config is used to define the features that can be provided in IIS Manager, or after you open IIS Manager, in feature Each feature that can be seen on the view interface is a child of the <modules> element. Probably because IIS Express does not provide custom feature functionality and does not provide a UI interface, IIS Express does not have this configuration file; see: Http://www.iis.net/configreference/modules;
  4. The <modules> elements in ApplicationHost.config, now I can't figure out what to do, the reference link is: http://www.iis.net/configreference/ System.webserver/modules, there is time to study and study it;
  5. The
  6. How is IIS or ASP. Handler found? There are also handler types do not understand;

A few questions about the ASP (the address for the ASP. NET configuration in MSDN is: http://msdn.microsoft.com/zh-CN/library/ms178683.aspx)

    1. <system.web>: Is the root element of the ASP. NET configuration settings, including configuration elements for configuring the ASP. NET Web application and controlling its behavior;
      1. <HttpModules>
      2. <HttpHandlers>
    2. <system.web.extention>: Is the root element of the ASP. Net extension configuration section, containing elements for configuring the ASP. NET service and controlling its behavior (note and <system.web> similarities and differences);
    3. <system.webserver>: Only in IIS7.0 and above the integration mode of its role, in the Classic mode, will ignore the contents of the configuration;

Iis/iis express/asp.net Configuration Fragment Recording

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.