Skip to main content

Web.Config Modifications

  • 2 minutes to read

Special modules, handlers and options that support control functionality are included in the installation. Some must be registered in a web application’s Web.Config file for DevExpress web controls to work properly; others are optionally registered to provide additional features.

ASPxHttpHandlerModule

ASPxHttpHandlerModule combines handler and module functionality.

ASPxHttpHandlerModule requires registration as a module to support base DevExpress control functionality. It is automatically registered in system.web/httpModules and system.webServer/modules sections when you add a DevExpress MVC extension to a page using the Insert DevExpress MVC Extension Wizard or create an application via the Template Gallery. You can also register a module manually, if required (e.g., when you create MVC extensions programmatically).

The optional ASPxHttpHandlerModule handler provides tools to merge and compress custom CSS and JavaScript files.

See the following help topic to learn more: ASPxHttpHandlerModule.

ASPxUploadProgressHttpHandler

If an application includes an UploadControl extension, you must register ASPxUploadProgressHttpHandler to correctly process the upload. If you add UploadControl to a page using the Insert DevExpress MVC Extension Wizard or create an application via the Template Gallery, the handler is automatically registered within the web project’s Web.Config file.

See the ASPxUploadProgressHttpHandler topic for details.

DevExpress Section

The DevExpress section is automatically created within a Web.Config file when any DevExpress MVC extension is added to a page using the Insert DevExpress MVC Extension Wizard or an application is created using the Template Gallery. By default, this section contains option settings that allow you to control different aspects of DevExpress functionality, and it lists all available DevExpress options.

See the following help topic for more information: Web.Config Options Overview.

Note

You can use the configSource attribute to define configuration settings in a separate file. Note that this attribute has restrictions as described in the following help topic: configSource Attribute topic.

See Also