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...