pdf | 59.29 MB | English| Isbn:9781805129936 | Author: Valerio De Sanctis | Year: 2024
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.