ASP.NET Core MVC 與 EF Core - 教學課程系列ASP.NET Core MVC with EF Core - tutorial series

本教學課程可讓您了解具有控制器和檢視的 ASP.NET Core MVC 和 Entity Framework Core。This tutorial teaches ASP.NET Core MVC and Entity Framework Core with controllers and views. Razor 頁面是 ASP.NET Core 2.0 中的新替代方案,它是以頁面為基礎的程式設計模型,可讓建置 Web UI 更容易且更具工作效率。Razor Pages is a new alternative in ASP.NET Core 2.0, a page-based programming model that makes building web UI easier and more productive. 建議您參閱 Razor 頁面教學課程,其較 MVC 版本佳。We recommend the Razor Pages tutorial over the MVC version. Razor 頁面教學課程:The Razor Pages tutorial:

  • 比較容易學習。Is easier to follow.
  • 提供更多 EF Core 最佳做法。Provides more EF Core best practices.
  • 使用更有效率的查詢。Uses more efficient queries.
  • 具有最新的 API。Is more current with the lastest API.
  • 涵蓋更多功能。Covers more features.
  • 是新應用程式開發的建議方法。Is the preferred approach for new application development.
  1. 開始使用Get started
  2. 建立、讀取、更新和刪除作業Create, Read, Update, and Delete operations
  3. 排序、篩選、分頁與群組Sorting, filtering, paging, and grouping
  4. 移轉Migrations
  5. 建立複雜的資料模型Create a complex data model
  6. 讀取相關資料Reading related data
  7. 更新相關資料Updating related data
  8. 處理並行衝突Handle concurrency conflicts
  9. 繼承Inheritance
  10. 進階主題Advanced topics