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
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.
Who is this book 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.
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
This book is well structured, nicely paced and has a project it builds through with a variety of different technologies. The projects are well thought out and demonstrate the techniques discussed within the chapters. It is one of the few books I have come across so far that describes the relationship between .net and Angular well. In years past this was a painful experience so I was delighted to see how far that has progressed.There were several chapters I particularly enjoyed, the first was about a great way of setting up health checks which was something I had reinvented in the past though now I know it is present, will use it. I also enjoyed the progressive web app and sections on Angular Material (instead of the common bootstrap), Observables and SignalR.The pacing of the examples is managed well in a highly readable and engaging style. Best practices are frequently commented on, and refactoring shown in order to achieve that (usually from WET to DRY).For later edition improvements, the angular testing area chapter could be improved slightly. I would like to suggest “ts-mocks” and “ng-mocks” should be considered as they simplify testing without having to create lots of spies etc.The use of SQL functions can make database interaction less painful than some of the queries Entity Framework generates and mention could have been made about the existence of tSqlt which means that there is no excuse for not testing business logic and a good reason to put those joins in the database where they often execute much more efficiently. You can mock test calls to the db easily with the brilliant Nuget package “EntityFrameworkCore.Testing.NSubstitute”.It would have been nice to see the DevOps section be a little more focused on automated deployment running the tests before deployment. The trend for best practices in the industry has been to “Shift-Left” and move the risk of finding bugs and quality issues closer to the development phase as well as infrastructure as code e.g. bicep (for another book?).Automated deployment using the azure static website service and function apps could be considered. Setting up a virtual machine seems overkill – particularly when function apps are so cheap to setup and run.There were a couple of errors in the text of the review copy I received such as a duplicated personal story in chapters 1 and 2 where it is talking about the history of the languages but they should be resolved in later editions. They don’t detract from what is a very useful book however and one that I really enjoyed reading and will come back to.For full disclosure, I was given and asked to review a digital preview copy of this book though the opinions are my own and I have tried to be as balanced in the rating as possible.
Amazon Verified review
Robert GJul 09, 2022
5
At 818 pages there's alot of info packed into this book. Some of the info, such as the history portions are probably unnecessary. Also, screenshots are a little difficult to read and may go out of date as software is updated. But, that's not a fault of the author. If you want to learn Core 6 and angular check it out!
Amazon Verified review
FelixAug 02, 2022
5
I've taught Advanced Web Development in University for last 4 years; where the main focus of the class is to build a Single-Page Application (SPA). I like that this book balances the fundamental concepts (SPA, ORM, OAuth) with very practical hands-on implementations of CORS, SignalR and many others.The book gradually builds reader's knowledge in both client (forms, observables) and server (Entity Framework) - and then ties the two together. Depending what is your background, you may skip a section or two - but it is also very helpful that it gradually builds two application (OK, health check is almost abandoned half way through - but it is nice to use it later for quick and dirty deployment). I also like the fact that unlike Microsoft, it prefers client and server running as *separate* applications.There are many other little things that come across as gems (authorization chapter alone, as they say, is worth the price)! I definitely use it as one of the guides in my class!
Amazon Verified review
Gerardo ArevaloAug 04, 2022
5
ASP.NET Core 6 and Angular starts with a historical perspective that leads the reader into one of today's most popular stacks. The book is huge, but it covers the most useful aspects of .NET and Angular, and builds a foundation for data access, APIs, and web and mobile client application development and deployment. It is "full-stack", and "end-to-end."If the book is read from beginning to end, then it provides common step-by-step guidance to create a properly designed boilerplate application, but each chapter can be read separately to brush up on what is new and the latest techniques. Some chapters go into deeper concerns, like SEO, security, performance issues, and coding best practices while covering the main subject. I think the only thing missing is relational database design. It's an easy read, and a long ride!This book is a good place to start learning full-stack development with a little bit of knowledge. It is also good for back-end developers to learn front-end development, and vice-versa, and it is also good if you have an old application sitting around that you need to modernize. I would recommend it for learning, and to reference the latest on .NET and Angular.
Amazon Verified review
Daniel fisherApr 13, 2022
5
This book is well written and it says it's for an intermediate programmer but I feel that if you understand the basics of angular you could pick up on this book fairly quickly.The book goes into a history of each version of angular and that is kinda interesting but the thing that drew me to it was the .net 6 information. Also the section on debugging and unit testing is priceless. There needs to be more unit testing in the professional world.I would recommend this book to someone wanting to increate their knowledge of angular and .net6 ac
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.