/EQT_V1/EQTWebApp/Brettle.Web.NeatUpload/Web.config

http://sgsoft-las.googlecode.com/ · ASP.NET · 15 lines · 10 code · 0 blank · 5 comment · 0 complexity · 2c58a5922c947c29231c4fd802f2b721 MD5 · raw file

  1. <?xml version="1.0"?>
  2. <configuration>
  3. <configSections>
  4. <section name="neatUpload" allowLocation="true" type="Brettle.Web.NeatUpload.ConfigSectionHandler, Brettle.Web.NeatUpload" />
  5. </configSections>
  6. <!-- Don't use NeatUpload's UploadHttpModule unless a location element
  7. or lower level Web.config says so. When it is used allow upload
  8. requests as large as 2GB, but reject requests where the non-upload
  9. portion is more than 4MB. -->
  10. <neatUpload xmlns="http://www.brettle.com/neatupload/config/2008" useHttpModule="false" maxRequestLength="2097151" maxNormalRequestLength="4096" />
  11. <!-- Use NeatUpload's UploadHttpModule for Demo.aspx. -->
  12. <location path="Demo.aspx">
  13. <neatUpload useHttpModule="true" xmlns="http://www.brettle.com/neatupload/config/2008" />
  14. </location>
  15. </configuration>