基于ABP框架的Web应用程序开发教程(翻译)


Web Application Development Tutorial Web应用程序开发教程

About This Tutorial 关于本教程

In this tutorial series, you will build an ABP based web application named Acme.BookStore. This application is used to manage a list of books and their authors. It is developed using the following technologies:
在这个教程系列中,你将创建一个基于ABP的Web应用程序,叫 Acme.BookStore。这个应用程序是用来管理书籍及其作者的列表的。它是使用以下技术开发:

  • Entity Framework Core 作为ORM的提供者.
  • MVC / Razor Pages 作为UI框架.

This tutorial is organized as the following parts;
本教程由以下几个部分组成:

  • Part 1: Creating the server side 第一部分:创建服务器端
  • Part 2: The book list page 第2部分:书籍列表页
  • Part 3: Creating, updating and deleting books 第3部分:创建、更新和删除书籍
  • Part 4: Integration tests 第四部分:集成测试
  • Part 9: Authors: User Interface 第九部分:作家:用户界面
  • Part 10: Book to Author Relation 第10部分:关联书籍与作家

Download the Source Code 下载源代码

This tutorial has multiple versions based on your UI and Database preferences. We've prepared a few combinations of the source code to be downloaded:
本教程根据你对UIDatabase的偏好有多个版本。我们准备了几个组合的源代码供大家下载:

  • MVC (Razor Pages) UI with EF Core
  • Blazor UI with EF Core
  • Angular UI with MongoDB

If you encounter the "filename too long" or "unzip error" on Windows, it's probably related to the Windows maximum file path limitation. Windows has a maximum file path limitation of 250 characters. To solve this, enable the long path option in Windows 10.
如果你在Windows上遇到 "文件名太长 "或 "解压错误",它可能与Windows的最大文件路径限制有关。Windows有一个最大的文件路径限制,即250个字符。要解决这个问题,在Windows 10中启用长路径选项。

If you face long path errors related to Git, try the following command to enable long paths in Windows. See https://github.com/msysgit/msysgit/wiki/Git-cannot-create-a-file-or-directory-with-a-long-path
如果你遇到与Git有关的长路径错误,可以尝试用以下命令在Windows中启用长路径。见 https://github.com/msysgit/msysgit/wiki/Git-cannot-create-a-file-or-directory-with-a-long-path
git config --system core.longpaths true

Video Tutorial 视频教程

This part is also recorded as a video tutorial and published on YouTube.
这一部分也被录制成视频教程,并发布在YouTube上。