I am trying to add the following code to my web.config file when installing a DotNetNuke module.
All the Sample files I have seen references providers and existing components on DNN. https://www.dnnsoftware.com/wiki/manifest-config-component
I was wondering I can use <component type="Config">
to add new settings to the web.config file.
https://www.dnnsoftware.com/docs/developers/extensions/dnn-manifest-schema.html
This is the code I would want to add just before the closing </system.webServer>
tag
<security>
<requestFiltering>
<!--The default size is 30000000 bytes (28.6 MB). MaxValue is 4294967295 bytes (4 GB)-->
<!-- 100 MB in bytes -->
<requestLimits maxAllowedContentLength="104857600" />
</requestFiltering>
</security>