Book description
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 front-end and back-end 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 APIs with GraphQL, real-time updates with SignalR, and 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 front-end and back-end 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 front-end and back-end 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 database 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
- Preface
- Introducing ASP.NET and Angular
- Getting Ready
- Looking Around
- Front-End and Back-End Interactions
-
Data Model with Entity Framework Core
- Technical requirements
- The WorldCities web app
- The data source
- The data model
- Creating the entities
- Getting a SQL Server instance
- Creating the database using Code-First
- Populating the database
- Entity controllers
- Summary
- Suggested topics
- References
- 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
- Technical requirements
- To auth, or not to auth
- Proprietary auth with .NET Core
- Updating the database
- Implementing authentication in Angular
- Finishing touches
- Summary
- Suggested topics
- References
-
Progressive Web Apps
- Technical requirements
- PWA distinctive features
- Implementing the PWA requirements
- Handling the offline status
- Testing the PWA capabilities
- Summary
- Suggested topics
- References
- Beyond REST – Web API with GraphQL
- Real-Time Updates with SignalR
-
Windows, Linux, and Azure Deployment
- Technical requirements
- Getting ready for production
- Windows deployment
- Linux deployment
- Azure App Service deployment
- Summary
- Suggested topics
- References
- Other Books You May Enjoy
- Index
Product information
- Title: ASP.NET Core 6 and Angular - Fifth Edition
- Author(s):
- Release date: April 2022
- Publisher(s): Packt Publishing
- ISBN: 9781803239705
You might also like
book
ASP.NET Core in Action, Third Edition
Build professional-grade full-stack web applications using C# and ASP.NET Core. In ASP.NET Core in Action, Third …
video
The Complete Guide to ASP.NET Core MVC (.NET 6)
This is a beginner to an advanced-level course on .NET 6 that will take you from …
video
ASP.NET Core - SOLID and Clean Architecture (.NET 5 and Up)
Creating a modular, testable, and maintainable application in .NET Core requires a solid foundation. Setting up …
book
Architecting ASP.NET Core Applications - Third Edition
Backend design like you've never seen it before – a guide to building SOLID ASP.NET Core …