ASP.NET Core 8 and Angular – Sixth Edition 版本: Full-stack web development with ASP.NET Core 8 and Angular
Author: Valerio De Sanctis (Author)
Publisher finelybook 出版社: Packt Publishing
Edition 版本: 6th ed.
Publication Date 出版日期: 2024-02-28
Language 语言: English
Print Length 页数: 804 pages
ISBN-10: 1805129937
ISBN-13: 9781805129936
Book Description
Build robust, scalable web applications using ASP.NET Core 8, Angular, and Entity Framework Core
Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- Combine ASP.NET Core and Angular to build highly versatile web applications
- Create a production-ready Single-Page Application (SPA) or Progressive Web Application (PWA)
- Adopt a full-stack approach to handle data management, API documentation, Web APIs, end-to-end testing, security, and deployment
Book Description
If you want to learn how to use ASP.NET Core with Angular effectively, this hands-on guide is for you.
Improve the way you create, debug, and deploy web applications while keeping up to date with the latest developments in .NET 8 and modern Angular, including .NET Minimal APIs and the new Angular standalone API defaults.
You’ll begin by setting up SQL Server 2022 and building a data model with Entity Framework Core. You’ll progress to fetching and displaying data, handling user input with Angular reactive forms, and implementing front-end and back-end validators for maximum effect. After that, you will perform advanced debugging and explore unit testing features with xUnit for .NET, and Jasmine and Karma for Angular. You’ll use Identity API endpoints in ASP.NET Core and functional route guards in Angular to add authentication and authorization to your apps. Finally, you’ll learn how to deploy to Windows, Linux, and Azure.
By the end of this book, you will understand how to tie together the front-end and back-end to build and deploy secure and robust web applications.
What you will learn
- Explore the new Angular and ASP.NET Core template with Visual Studio 2022
- Use modern interfaces and patterns such as the HTML5 pushState API, webhooks, and UI data bindings
- Add real-time capabilities to Angular apps with SignalR and gRPC
- Implement authentication and authorization using JWTs
- Perform DBMS structured logging using providers such as SeriLog
- Convert a standard web application to a progressive web application (PWA)
- Deploy an Angular app to Azure Static Web Apps
- Add GraphQL support to back-end and front-end using HotChocolate and Apollo Angular
Who this book is for
This book is for developers who have some familiarity with ASP.NET Core and Angular and want to learn how to use them effectively together.
Table of Contents
- Introducing ASP.NET and Angular
- Getting Ready
- Looking Around
- Front-End and Back-End Interactions
- Data Model with Entity Framework Core
- Fetching and Displaying Data
- Forms and Data Validation
- Code Tweaks and Data Services
- Back-End and Front-End Debugging
- ASP.NET Core and Angular Unit Testing
- Authentication and Authorization
- Progressive Web Apps
- Beyond REST – Web API with GraphQL
- Real-Time Updates with SignalR
- Windows, Linux, and Azure Deployment
Review
“The book contains comprehensive tutorials on both back-end and front-end development. A must-have for anyone interested in full-stack web development.”
Oleg Kyrylchuk, Microsoft MVP
About the Author
Valerio De Sanctis is a skilled IT professional with 20 years of experience in lead programming, web-based development, and project management using ASP.NET, PHP, Java, and JS-based frameworks. He currently holds the position of CTO for several top-tier companies. He is a Microsoft Most Valuable Professional (MVP) for Developer Technologies and the author of many best-selling books on back-end and front-end web development.