Skip to main content
A newer version of this page is available. .
All docs
V21.2

Create a New Application with the Web API (CTP)

Important

We do not recommend that you use the Web API in production code. We made this service available to gather feedback from anyone who considers it for future use.

This topic contains step-by-step instructions on how to create an application with the Web API. For more information on the Web API, see the following topic: Backend Web API Service.

  1. Create a new solution in Visual Studio. Select the DevExpress v21.2 XAF Template Gallery project template and click Next.

    Create a new project from the XAF Template Gallery

  2. Specify the name and location of the new project (solution), and click Create.

  3. Ensure that the .NET Core platform is selected and run the XAF Solution Wizard.

    Tutorial launch Wizard

  4. In the Solution Wizard, select Service (ASP.NET Core Web API) and other platforms that you wish to add to the solution.

    Select Web (ASP.NET Core Blazor)

  5. Select the eXpress Persistent Objects ORM for your application and click Next. The current Web API version does not support Entity Framework Core.

    Select ORM

  6. Choose the security options for your application.

    Select authentication

    See the following topic for details: Authentication in Web API projects.

  7. Create endpoints and test the Web API.

See Also