Last active
December 19, 2015 02:09
-
-
Save jbrinkman/5880743 to your computer and use it in GitHub Desktop.
This is a short DNN Manifest configuration section that allows you to register an HTTPModule in your web.config file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component type="Config"> | |
<config> | |
<configFile>web.config</configFile> | |
<install> | |
<configuration> | |
<nodes> | |
<node path="/configuration/system.webServer/modules" action="update" key="name" collision="overwrite"> | |
<add name="MyModuleAPI" type="DotNetNuke.Modules.MyModule.Components.InitializeApplication, MyModule" preCondition="managedHandler"/> | |
</node> | |
</nodes> | |
</configuration> | |
</install> | |
<uninstall> | |
<configuration> | |
<nodes > | |
<node path="/configuration/system.webServer/modules/add[@name='MyModuleAPI']" action="remove" /> | |
</nodes> | |
</configuration> | |
</uninstall> | |
</config> | |
</component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment