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
A marvellous publication for novice and not so practitioners on the Microsoft's ASP.NET platform.Having read a number of similar books on the subject this one stands out with its practical approach to building a "makes sense" application in an agile way using the "full-stack" approach. I mean it provides a comprehensive coverage to the modern capabilities of .Net and Angular.The book is gentle enough for those who began to master Angular and ASP.Net and also those who are already underway with the technology. I would recommend reading this book before you embark on a serious project.I liked the sections on debugging, EntityFramework, Unit Testing and more.I think this book was written to be technology-centric and not necessarily Cloud first. But I think it could be improved in that realm. Lastly, I would like to see more on how to operate within GitHub platform for various deployment scenarios, but nevertheless I gave this iteration a five star rating.
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!
Amazon Verified review
KieranMar 11, 2024
5
Being new to Angular, this book is a great help.I learnt a lot and would highly recommend this book to anyone wanting to learn how to use Angular with .NET.
Amazon Verified review
andersonaMar 06, 2024
5
I'm really enjoying this book! It's engaging and not dry like other tech books I've read. I appreciate the flow of the book and how it gets straight to the point without unnecessary fluff.The book is a practical guide so it's full of code examples that are easy to follow and the author provides a lot of helpful tips and advice. Getting insights from a more experienced and knowledgeable developer is always valuable.I'm around 80% through the book and decided to take a break to start applying what I've learned and apply it to my own project, in addition to the project in the book.One minor suggestion would be to remove the history lesson about .NET and Angular. That information is available online for those who are interested, and it would make the book a bit thinner and more manageable.Overall, if your goal is to learn how to build a full stack application with ASP.NET Core and Angular, I think this book is one of the best on the market today. I highly recommend it!P.S.If my opinion changes when I have read the remaining 20% of the book, I will update my review, but I doubt that will happen.
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.