ASP.NET Core 5 and Angular : Full-stack web development with .NET 5 and Angular 11, 4/e (Paperback)

Sanctis, Valerio De

買這商品的人也買了...

商品描述

Build a simple, yet fully functional modern web application using .NET 5, Entity Framework Core, and Angular 11

 

Key Features

  • Comprehensively updated with the latest features and additions in ASP.NET Core 5 and Angular 11
  • Design, build, and deploy a Single Page Application or Progressive Web App with ASP.NET Core and Angular
  • Adopt a full stack approach to handle data management, Web APIs, application design, testing, SEO, security, and deployment

 

Book Description

Learning full-stack development calls for knowledge of both front-end and back-end web development. ASP.NET Core 5 and Angular will get you started with Angular to build robust web applications as well as the .NET 5 and Web API Controllers to implement API calls and server-side routing in the backend. This fully revised edition includes side-by-side comparison of the Visual Studio Angular App vs NG App and coverage of the Angular Routing Module.

 

You will learn to build a data model with Entity Framework Core, alongside utilizing the Entity Core Fluent API and Entity Type Configuration class. As you progress, you will learn to handle user input with Angular reactive forms and frontend and backend validators for maximum effect. You will later explore the advanced debugging and unit testing features provided by xUnit.net (.NET 5) and Jasmine, as well as Karma for Angular.

 

Further, you will dive deep into progressive web applications (PWAs), learning their technical requirements, testing, and converting SWAs to PWAs. Finally, you will learn to deploy apps on Windows, Linux, and Azure using IIS, Kestrel, and Nginx.

 

By the end of this book, you will be equipped with the skills you need to create, debug, and deploy efficient web applications using ASP.NET Core and Angular.

 

What You Will Learn

  • Implement a Web API interface with ASP.NET Core and consume it with Angular using RxJS Observables
  • Set up an SQL database server using a local instance or a cloud data store
  • Perform C# and TypeScript debugging using Visual Studio 2019
  • Create TDD and BDD unit tests using xUnit, Jasmine, and Karma
  • Explore EF Core Fluent API and EntityTypeConfiguration classes
  • Perform DBMS structured logging using third-party providers such as SeriLog
  • Deploy the Web Application to Windows and Linux web servers, or to cloud-based PaaS solutions

 

Who this book is for

This book is for experienced ASP.NET developers who already possess some experience with ASP.NET Core and Angular and are looking to learn how to use them together to create production-ready Single Page Applications (SPAs) or Progressive Web Applications (PWAs).

However, the fully documented code samples (also available on GitHub) and the step-by-step implementation tutorials make this book easy-to-understand - even for beginners.

商品描述(中文翻譯)

建立一個簡單但功能完整的現代網頁應用程式,使用 .NET 5、Entity Framework Core 和 Angular 11

主要特點

- 全面更新,包含 ASP.NET Core 5 和 Angular 11 的最新功能和新增項目
- 設計、建構和部署單頁應用程式或漸進式網頁應用程式,使用 ASP.NET Core 和 Angular
- 採用全棧方法來處理資料管理、Web API、應用程式設計、測試、SEO、安全性和部署

書籍描述

學習全棧開發需要了解前端和後端的網頁開發。ASP.NET Core 5 和 Angular 將幫助你開始使用 Angular 建立穩健的網頁應用程式,以及使用 .NET 5 和 Web API 控制器來實現 API 調用和後端路由。這本全面修訂的版本包括 Visual Studio Angular App 與 NG App 的並排比較,以及 Angular 路由模組的內容。

你將學會使用 Entity Framework Core 建立資料模型,並利用 Entity Core Fluent API 和 Entity Type Configuration 類別。隨著進展,你將學會使用 Angular 反應式表單和前端及後端驗證器來處理用戶輸入,以達到最佳效果。之後,你將探索 xUnit.net (.NET 5) 和 Jasmine 提供的高級除錯和單元測試功能,以及 Angular 的 Karma。

此外,你將深入了解漸進式網頁應用程式(PWAs),學習其技術要求、測試以及將單頁應用程式(SWAs)轉換為 PWAs。最後,你將學會如何使用 IIS、Kestrel 和 Nginx 在 Windows、Linux 和 Azure 上部署應用程式。

在本書結束時,你將具備創建、除錯和部署高效網頁應用程式所需的技能,使用 ASP.NET Core 和 Angular。

你將學到的內容

- 使用 ASP.NET Core 實現 Web API 介面,並使用 Angular 和 RxJS Observables 進行消費
- 使用本地實例或雲端資料儲存設置 SQL 資料庫伺服器
- 使用 Visual Studio 2019 進行 C# 和 TypeScript 除錯
- 使用 xUnit、Jasmine 和 Karma 創建 TDD 和 BDD 單元測試
- 探索 EF Core Fluent API 和 EntityTypeConfiguration 類別
- 使用第三方提供者如 SeriLog 進行 DBMS 結構化日誌記錄
- 將網頁應用程式部署到 Windows 和 Linux 網頁伺服器,或雲端 PaaS 解決方案

本書適合對象

本書適合有經驗的 ASP.NET 開發人員,他們已經具備一些 ASP.NET Core 和 Angular 的經驗,並希望學習如何將它們結合使用,以創建可投入生產的單頁應用程式(SPAs)或漸進式網頁應用程式(PWAs)。

然而,完整的代碼範例(也可在 GitHub 上獲得)和逐步實施的教學使得本書易於理解,即使是初學者也能輕鬆上手。