Basic Tutorial (SimpleProjectManager Application)
This tutorial explains how to create XAF applications that are used within a company department (Intranet). They use DevExpress Windows Forms and ASP.NET Web Forms UI controls for data presentation, and Microsoft ADO.NET Entity Framework and DevExpress XPO libraries for data access. This tutorial also describes how to build a user interface and handle user input.
These Windows desktop and Web browser applications can be used in the following scenarios:
- a user can view, search, filter, print, create, update, and delete employees, projects and task data;
- a user can view, search, filter, print, create, update, and delete customers and comments about a product to organize and provide data for a promotional website.
In this tutorial, you write the platform-agnostic business code which affects application aspects that are not specific to WinForms and ASP.NET Web Forms. XAF automatically generates UI screens and specifies database access.
Dependencies and Prerequisites
Before you start the tutorial, read this section and ensure that the following conditions are met:
- Any non-Express supported version of Visual Studio is installed on your machine. You have basic experience of .NET framework development in this IDE.
- A free 30-day trial version or a licensed version of DevExpress Universal Subscription is installed on your machine.
- You have basic knowledge of Object-relational mapping (ORM) concepts and the Microsoft ADO.NET Entity Framework or DevExpress XPO.
- Any RDBMS supported by the XPO (see Database Systems Supported by XPO) or Entity Framework (see Entity Framework 6 Providers) ORM tools is installed and accessible from your machine to store the application data (a LocalDB or SQL Server Express instance is recommended).
- You are familiar with XAF application architecture.
- Create an XAF Application - create a WinForms and ASP.NET XAF application and specify their connection strings.
- Define the Logical Data Model and Relationships - define the business model that serves as a base for the application's CRUD UI.
- Customize the Application UI and Behavior - customize the auto-generated UI's structure and metadata and implement custom user interaction.
- Reuse Implemented Functionality - add modules to your applications to enable additional functionality.
To see the result, run the SimpleProjectManager demo installed in %PUBLIC%\Documents\DevExpress Demos 20.1\Components.NET Core Desktop Libraries\eXpressApp Framework\SimpleProjectManager or use the online version at http://demos.devexpress.com/XAF/SimpleProjectManager/.
If you need assistance with your XAF application, submit a new ticket to the Support Center.