BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Documentation for manually adding the MVC classic diagram control to an application advises that a reference to MvcResourceHandler should be added to both the <httpHandlers> element and the <handlers> element in web.config. See the topic entitled "Adding Codes to the Web.config File" at http://help.syncfusion.com/asp.net%20mvc/diagram.
My (albeit limited) understanding is that the <httpHandlers> element is not required, and is in fact deprecated, if IIS is running in integrated mode. That's my conclusion after reading this Microsoft article: http://www.iis.net/configreference/system.webserver/validation.
The article's topic is actually the <validation> element. It states that <validation validateIntegratedModeConfiguration="false">, which is also recommended by the diagram documentation referenced above, is required if "you do not migrate your configuration but you want IIS to remain in Integrated mode (which is not advised) ..." It goes on to note that "IIS will no longer provide warnings for unsupported configurations when validateIntegratedModeConfiguration is false."
I would like to benefit from IIS configuration validation. Assuming I confirm that IIS is running in integrated mode, can I remove the <httpHandlers> section, and keep only the <handlers> section? The referenc to MvcResourceHandler is the only child in these sections of my web.config. If I can remove the <httpHandlers> section, can I also assume I no longer require <validation validateIntegratedModeConfiguration="false"> in <system.webServer>?
Thanks for your help.
Hi Jeff,
Thanks for using Syncfusion products.
Query |
Response |
For IIS
machine |
We suggest
you to include MvcResourceHandler and ImgRequest in <handlers> section. Please refer
the code snippet below. <handlers> <add verb="GET,HEAD" name="MvcResourceHandler" path="MvcResourceHandler.axd" type="Syncfusion.Mvc.Shared.MvcResourceHandler,
Syncfusion.Shared.Mvc, Version=12.1500.0.43, Culture=neutral,
PublicKeyToken=3d67ed1f87d44c89" /> <add verb="GET,HEAD" name="ImgRequest" path="ImgRequest.axd" type="Syncfusion.Mvc.Diagram.ImageHandler, Syncfusion.Diagram.Mvc,
Version=12.1500.0.43, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" /> </handlers> |
For
non-IIS machine |
We suggest
you to include MvcResourceHandler and ImgRequest in <httpHandlers>
section. Please refer the code snippet below. <httpHandlers> <add verb="GET,HEAD" path="ImgRequest.axd" type="Syncfusion.Mvc.Diagram.ImageHandler,
Syncfusion.Diagram.Mvc, Version=12.1500.0.43, Culture=neutral,
PublicKeyToken=3d67ed1f87d44c89" validate="false" />
|
Please let me know if any concerns.
Regards,
Shyam G