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
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.
Who is this book 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.
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
This is the first time I have ever given 1 star to a programming book. I own dozens of programming books (including some C# books by the same publisher) because I prefer them over on-screen video tutorials.The pictures highlight 4 things which lead to my criticism:1. Explicit claim the book is for intermediate and experienced developers who already know about ASP.NET and Angular.2. The first 25 pages of the book are cumulative patch notes for ASP.NET and Angular since their inception - to make it even better, 2 full pages for "references" including commit lists.3. Half to full page code examples with no numbering, yet references to specific lines. Any time a change is made to the code, the entire code is printed out again with a handful of highlights for the 'diff'.4. The great part - nearly 100 pages in to the book, you have a "get" page for a weather app which looks suspiciously like the page generated by default when you choose a Blazor template project in Visual Studio (try this yourself).This book is utterly ridiculous. I consistently noticed the language itself could be reduced in volume by about 50%, and I found myself struggling to figure out what the paragraph was even trying to convey. Often times, 3-4 paragraphs could be summarized to 2 sentences.My title of the review - a "600 page CRUD tutorial for beginners" - might be a little exaggerated, but I believe this book could be reduced to 150 pages without losing any important details. Take off 100 pages of patch notes and example project setup, remaining 250 for language, and another 100 for needlessly copy pasted code and "references".Since I'm being critical of this book, here are my two recommendations by the same publisher:Beginners - C# 12 and .NET 8 – Modern Cross-Platform Development FundamentalsExperts - Software Architecture with C# 12 and .NET 8
Amazon Verified review
Mike nagatoshiJul 09, 2024
4
I am a C# developer. I feel like the book over-explains topics I am already familiar with and goes way too light on the topics that I am not...TypeScript. The exercises and code samples show me a pattern of functionality which are helpful, but they do not help me to understand why things are structured as they are. I can't internalize so that I can turn around and extend the learning into other contexts. On the bright side, the book does reinforce a lot of good programming habits.Also, there are extensive "look-backs". "Not explaining here because it was explained back in Chapter N". When this is employed a lot, it would be helpful to have specific page numbers to look back to.The author is well-versed in multiple disciplines. The chapter on testing is fantastic. Nice-to-have: I would have liked to have seen coverage on Playwright for end-to-end testing.
Amazon Verified review
FelixApr 11, 2024
3
I consider this series to be the best if you are new to ASP.NET Core and/or Angular and if you want to get clear hands-on tutorial that takes you from zero to significant level of proficiency - then consider my rating to be 5 stars (and in fact I wrote a fairly detailed review for the previous edition).HOWEVER, if you are considering this book because both ASP.NET Core 8 and Angular 17 are quite different from versions 7 and 16 respectively - don't bother. It's still uses Angular modules; it doesn't use new style dependency injection for C# classes and it doesn't use new if/for/switch syntax in Angular templates. Very disappointing.
Amazon Verified review
MrC0mm0nMar 28, 2024
5
I come from a Java background; the content is laid out pretty well to dive into a different eco-system and pick up hands-on knowledge to use at work. Worth a month's time to read!
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.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.