Skip to main content

Project Wizard

  • 4 minutes to read

You can use the DevExpress ASP.NET MVC Project Wizard to create or modify a web project. The wizard allows you to specify the following web project settings:

  • Layout
  • Theme
  • DevExpress control options
  • Control suites
  • Website options

The wizard also validates the Web.config file, and updates it with project settings and references to DevExpress assemblies.

How to Invoke

Create a New Project

  1. In Visual Studio, click New Project.
  2. Select DevExpress Web App/Web Site Template Gallery and click Next.
  3. Configure project settings and click Create.
  4. Select a template type and click Run Wizard.

Update an Existing Project

  1. Click the Extensions menu item in Visual Studio (skip this step in Visual Studio 2017).
  2. Select DevExpressASP.NET ControlsRun Wizard to Update Project.

Layout

In the Layout tab, you can specify a layout for your project. The available layouts are Standard, Empty, Outlook, Responsive, Blog-Like Scenario, and Custom. For a Custom layout, you can specify which page areas to display on the website.

Select the Generate Sample Data checkbox to add sample data (for instance, databases, XML files, models) to the project.

Themes

In the Themes tab, you can specify the website’s theme. You can choose one of the available themes or add a custom theme assembly. The theme settings are stored in the themes section of the Web.config file.

Theme

DX Control Settings

In the DX Control Settings tab, you can specify DevExpress control settings. These settings are applied to DevExpress controls across the entire project. The Web.config file stores these settings within the DevExpress section.

Control Settings

Settings

Description

Enable HTML Compression

Specifies whether the server should compress the requested web page’s HTML code before posting it to the client.

Enable Callback Compression

Specifies whether the server should compress the generated response data before posting it to the client if DevExpress controls send callbacks to the server instead of requests.

Enable Resource Compression

Specifies whether the server should compress resources (script and CSS files) before posting them to the client.

Enable Resource Merging

Specifies whether the server should merge resources (script and CSS files) that a page requests before sending them to the client.

Right To Left Layout

Specifies whether the server enables the right-to-left layout direction for all DevExpress controls within a project.

Check References To External Scripts

Specifies whether to verify references to external scripts (such as jQuery, jQuery UI, Knockout, and so on).

Doctype Mode

Specifies which document type to use to render DevExpress controls.

Enable Accessibility Complaint

Specifies whether to support accessibility in DevExpress controls.

Error Callback Url

Specifies the name of a page to which the server redirects the response when a callback processing error occurs.

Suites

In the Suites tab, you can select the control suites that the wizard attaches to the project. The wizard references the suite resources (script and CSS files) from the project’s master page.

Suites

Site Configuration

The Site Configuration tab allows you to specify the settings specific to a web application. These settings are stored in the Web.config file.

Site Configuration

Settings

Description

Authentication Model

Configures the ASP.NET authentication scheme that identifies users.

  • None. Specifies no authentication.
  • Web Forms. Specifies the Forms authentication. The Web Forms authentication type is available for Web Site projects only.
  • ASP.NET Identity. Specifies the membership system that uses the OWIN interface. Allows a user to create a username and password on the site or to sign in with a social account (Facebook, Google, Microsoft, or Twitter).
  • Intranet. Specifies the Windows authentication.

Max Request Length

Specifies the maximum request size in kilobytes. This setting affects the file upload functionality of DevExpress controls.

Max Allowed Content Length

Specifies the maximum length of content in a request, in bytes.

Request Validation

Specifies whether to examine requests for unsafe strings such as <!”, “</“, and “<?”.

Request Validation Mode

Specifies the version of the ASP.NET validation.

Execution Timeout (sec)

Specifies the maximum time to execute a request.

Client ID Mode

Specifies the algorithm that generates ClientID values for controls.