当前位置:   article > 正文

学习008-02 In-Depth .NET WinForms & Blazor UI Tutorial (Employee Manager)(深入.NET WinForms和Blazor UI教程)

学习008-02 In-Depth .NET WinForms & Blazor UI Tutorial (Employee Manager)(深入.NET WinForms和Blazor UI教程)

In-Depth .NET WinForms & Blazor UI Tutorial (Employee Manager)(深入.NET WinForms和Blazor UI教程)

This tutorial explains how to build an application that targets .NET framework using Windows Forms and XAF’s ASP.NET Core Blazor UI. The application should store employee information and other related objects. It uses Entity Framework Core for data access.
本教程介绍如何使用Windows窗体和XAF的ASP.NETCore Blazor UI构建以. NET框架为目标的应用程序。该应用程序应存储员工信息和其他相关对象。它使用Entity Framework Core进行数据访问。
在这里插入图片描述
If you are new to XAF, be sure to review our XAF product page for important background information on our award-winning application framework.
如果您是XAF新手,请务必查看我们的XAF产品页面,了解有关我们屡获殊荣的应用程序框架的重要背景信息。

Dependencies and Prerequisites(依赖关系和先决条件)

Before you start the tutorial, read this section and ensure that the following conditions are met:
在开始本教程之前,请阅读本节并确保满足以下条件:

1.Visual Studio 2022 v17.0+ with the ASP.NET and web development and .NET desktop development workloads is installed on your machine. You have basic experience of .NET framework development in this IDE.
带有ASP.NET和Web开发的Visual Studio 2022 v17.0+。NET桌面开发工作负载已安装在您的机器上。您有基本的经验。NET框架在此IDE中开发。
2..NET 7.0 SDK is installed on your machine.
. NET 7.0 SDK已安装在您的机器上。
3.Microsoft SQL Server.
4.A free 30-day trial version or a licensed version of DevExpress Universal Subscription is installed on your machine.
您的计算机上安装了DevExpress Universal Subscription的30天免费试用版或许可版。
5.You have basic knowledge of Object-relational mapping (ORM) concepts and the Entity Framework Core.
您具备对象关系映射(ORM)概念和实体框架核心的基本知识。
6.You are familiar with the XAF application architecture.
您熟悉XAF应用程序架构。
7.XAF Considerations for Newcomers.
XAF新来者的注意事项。

Tutorial Structure(教程结构)

This tutorial is organized in the following manner:
本教程按以下方式组织:

This section explains how to implement classes that define the foundation of your application’s business model and its associated database structure.
本节介绍如何实现定义应用程序业务模型及其相关数据库结构基础的类。

This section explains how to create custom commands in your application.
本节介绍如何在应用程序中创建自定义命令。

  • Customize Navigation Between Views(自定义视图之间的导航)

This section explains how to customize the navigation control.
本节介绍如何自定义导航控件。

  • Customize Data Display and View Layout(自定义数据显示和视图布局)

This section explains how to customize XAF’s autogenerated application UI.
本节介绍如何自定义XAF的自动生成应用程序UI。

  • Enable Additional Modules(启用附加模块)

This section explains how to add functionality from separate assemblies to the existing application.
本节介绍如何将功能从单独的程序集添加到现有应用程序。

Connection String(连接字符串)

This tutorial uses Microsoft’s SQL Server as its target database management system (DBMS). As you may already know, XAF supports multiple database management systems (see the list here). If you’d like to use a different DBMS, be sure to specify the appropriate connection string.
本教程使用微软的 SQL Server 作为其目标数据库管理系统(DBMS)。如您可能已经知晓,XAF 支持多种数据库管理系统(在此处查看列表)。如果您想要使用不同的 DBMS,一定要指定适当的连接字符串。

XAF apps create a database with a name that matches the name used for the solution itself. To change names, edit the connection string in the application configuration file (appsettings.json).
XAF应用程序创建一个数据库,其名称与解决方案本身使用的名称相匹配。要更改名称,请编辑应用程序配置文件(appset. json)中的连接字符串。

Start Tutorial(开始教程)

Define the Data Model and Set the Initial Data
定义数据模型并设置初始数据

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
  

闽ICP备14008679号