Full-stack web development with ASP.NET 6 and Angular
Valerio De Sanctis
ASP.NET#
.NET#
.NET6#
Angular#
Framework#
SPA#
Single_Page#
front_end#
back_end#
APIs#
GraphQL#
xUnit#
NGINX#
debug#
PWA#
Design, build and deploy robust web applications using ASP.NET 6, Angular 13, and Entity Framework Core
• 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
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.
• 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
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.
This book doesn’t just teach you to write code.It provides a comprehensive overview of several key aspects related to modern software development, including scaling capabilities, cross-platform approaches, and the importance of decoupling frontend and backend using different techniques and methodologies. It also focuses on support for cloud-based development and modern microservice-based architectures. The book guides you through real programming cases and development scenarios that you will likely face when building an ASP.NET Core and Angular app (most of them taken from my personal experience as lead developer, team leader and senior software engineer).
You won’t find “quick and dirty” workarounds in this book; all the topics covered, the problems faced, and the solutions implemented, are thoroughly analyzed with the most authoritative standards as references, and a bibliography of these references is provided at the end of each chapter.
The book adopts and enforces a full-stack development perspective. This means that it will teach you how to deal with all aspects related to the development and implementation of the most common functions required of programmers by the market today; from the definition of the data model, design of the user interface, and creation of REST interfaces based on structured APIs to modern techniques of querying data in real time, debugging, testing and deploying. The best practices covered in the book are frequently adopted by most Agile and DevOps approaches, and will greatly help you to understand and apply these methodologies in a practical way.
"This book amazed me – the topics are dealt with in a more than exhaustive way, yet it keeps its simplicity. It is very well structured – each chapter covers a specific topic, offers various insights, and implements a sample application from scratch.
The chapters concerning the interaction between front-end and back-end, testing and debugging, and, in particular, the chapter on PWAs are very interesting.
I recommend the purchase to everyone, both for newbies and for those who already have some notions about ASP.NET Core and/or Angular. It is certainly one of the books that cannot be missing from the library of a full-stack developer like me."
Luca Congiu, Microsoft MVP, Senior Solution Architect, DotNetCode User Group Founder and Community Leader
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 JavaScript-based frameworks. He held senior positions at a range of financial and insurance companies, most recently serving as Chief Technology and Security Officer at a leading IT service provider for top-tier insurance groups. He's an active member of the Stack Exchange Network, providing advice and tips on the Stack Overflow, ServerFault, and SuperUser communities; he is also a Microsoft Most Valuable Professional (MVP) for Developer Technologies. He's the founder and owner of Ryadel and the author of many best-selling books on back-end and front-end web development.