Design, build and deploy robust web applications using ASP.NET 6, Angular 13, and Entity Framework Core
Key Features
- The most up-to-date book that covers cutting-edge features released in ASP.NET Core 6 and Angular 13
- 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
Every full-stack Ninja needs the tools to operate on frontend and backend application development. This web app development book takes a hands-on project-based approach to provide you with all the tools and techniques that web developers need to create, debug, and deploy efficient web applications using ASP.NET Core and Angular.
The fifth edition has been updated to cover advanced topics such as Minimal APIs, Web API with GraphQL, real-time updates with SignalR alongside new features in .NET 6 and Angular 13.
You begin by building a data model with Entity Framework Core, alongside utilizing the Entity Core Fluent API and EntityTypeConfiguration class. You'll learn how to fetch and display data and handle user input with Angular reactive forms and frontend and backend validators for maximum effect.
Later, you will perform advanced debugging and explore the unit testing features provided by xUnit.net (.NET 6) and Jasmine, as well as Karma for Angular. After adding authentication and authorization to your apps, you will explore Progressive Web Applications, learning about their technical requirements, testing processes, and how to convert a Standard Web Application to a PWA.
By the end of this web development book, you will understand how to tie together the frontend and backend to build and deploy secure and robust web applications.
What you will learn
- Use the new Visual Studio Standalone TypeScript Angular template
- Implement and consume a Web API interface with ASP.NET Core
- Set up an SQL DB server using a local instance or a cloud datastore
- Perform C# and TypeScript debugging using Visual Studio 2022
- Create TDD and BDD unit tests using xUnit, Jasmine, and Karma
- Perform DBMS structured logging using providers such as SeriLog
- Deploy web apps to Azure App Service using IIS, Kestrel, and nginx
- Learn to develop fast and flexible Web APIs using GraphQL
- Add real-time capabilities to Angular apps with ASP.NET Core SignalR
Who This Book Is For
This book is for experienced ASP.NET developers who already possess some familiarity with ASP.NET Core and Angular and are looking to learn how to use them effectively together.
The fully documented code samples (also available on GitHub) and the step-by-step implementation tutorials make this book easy to follow.
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