Skip to main content
All docs
V24.2
.NET Framework 4.6.2+

Create a WinForms Application (.NET) with EF Core Middle Tier Security

This topic contains step-by-step instructions on how to create a WinForms application with Middle Tier Security.

  1. Create a new solution in Visual Studio. Select the DevExpress v24.2 XAF Template Gallery project template.

    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 the Desktop (Windows Forms) platform.

    Select platforms for XAF application

  5. Select the EF Core ORM for your application.

    Select ORM

  6. Choose the Standard (requests login and password) authentication and Middle Tier Security (Windows Forms only) database security options for your application.

    Select Security Options

  7. Optional. Select additional XAF modules.

  8. XAF generates a solution with the following projects:

    Name

    Description

    MySolution.MiddleTier

    the Middle Tier Service project

    MySolution.Module

    the Module project

    MySolution.Win

    the WinForms Application project

  9. Run the application.

See Also