Httpmodule in dnn

Source: Internet
Author: User
Tags dnn

Httpmodule What to do and how to implement it? Let's look at the work of the 24-Year-Old painters. Http://esshs.cnblogs.com/archive/2005/05/14/155339.html Or Msdn Documentation: Http://msdn.microsoft.com/library/chs/default.asp? Url =/library/CHS/cpguide/html/cpconhandlingpublicevents. asp Or Http://www.microsoft.com/china/MSDN/library/architecture/patterns/esp/ImpInterCEptingFilterInASP.mspx .

dnn 9 httpmoudle . All are in httpmoudles under the folder. After a rough look, I have a preliminary understanding of what these modules are doing. It also makes me more clear what should be put in httpmoudle . When to do it.

L autoupgrademodule : dnn the key to online installation is to determine whether to install or upgrade the database. Call upgrade service.

L cachingmodule : You don't know exactly what to do. filesystem service. Mark, next time.

L dnnmembershipmodule : application. authenticaterequest adds the method for processing permissions.

L predictionmodule : application. the error handling method is attached.

L loggingmodule : in logs are recorded in init and dispose.

L personalizationmodule : application. the endrequest is localized. That is, the corresponding language pack is loaded through the user information. If you are an anonymous user, follow the default value. I 'd like to know how to implement dynamic localization like Google. (The specific implementation details have not yet been learned. It seems that anonymous users have similar processing as asp2.0)

L schedulermodule : enable or stop one and application related scheduling threads.

LUsersonlinemodule: InApplication. authorizerequest to update the online user list. You can see the modified content in useronlinecontroller.

L Urlrewritemodule : Handle URL Specific analysis. It is the key to dynamic page loading. From the specific URL You can see it. Almost all pages use Default. aspx . It indicates that they are all written dynamically, and there is no way to transmit information without this positioning system. The related classes are Httpmodules \ urlrewrite \ config Folder. Main directory Siteurls. xml Some regular expressions are defined. I will have a headache...

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.