Explore the new features of .NET 5 with this updated edition of ASP.NET Core 5 and React
Discover strategies for adopting a full-stack development approach, clean architecture techniques, and development best practices
Learn how to manage data, design and package applications, and secure your web apps
Description
Microsoft’s .NET framework is a robust server-side framework, now even more powerful thanks to the recent unification of the Microsoft ecosystem with the .NET 5 framework. This updated second edition addresses these changes in the .NET framework and the latest release of React.
The book starts by taking you through React and TypeScript components for building an intuitive single-page application and then shows you how to design scalable REST APIs that can integrate with a React-based frontend. Next, you’ll get to grips with the latest features, popular patterns, and tools available in the React ecosystem, including function-based components, React Router, and Redux. As you progress through the chapters, you'll learn how to use React with TypeScript to make the frontend robust and maintainable and cover key ASP.NET 5 features such as API controllers, attribute routing, and model binding to build a sturdy backend. In addition to this, you’ll explore API security with ASP.NET 5 identity and authorization policies and write reliable unit tests using both .NET and React, before deploying your app on Azure.
By the end of this book, you’ll have gained the knowledge you need to enhance your C# and JavaScript skills and build full-stack, production-ready applications with ASP.NET 5 and React.
Who is this book for?
If you're a web developer looking to get up to speed with full-stack web application development with .NET Core and React, this book is for you. Although the book does not assume any knowledge of React, a basic understanding of .NET Core will help you to get to grips with the concepts covered.
What you will learn
Build RESTful APIs with .NET 5 using API controllers
Secure REST APIs with identity and authorization policies
Create strongly typed, interactive, and function-based React components using Hooks
Understand how to style React components using Emotion.js
Perform client-side state management with Redux
Run a range of automated tests on the frontend and backend
Implement continuous integration and continuous delivery (CI/CD) processes in Azure using Azure DevOps
I brought this book only to realise that Microsoft support for .Net 5 ended in May! Wish I'd checked before hand!
Amazon Verified review
FernaldMar 21, 2022
5
The book presents the topics well but a neophyte in API programming might not find it useful until after some studies. The author did a nifty job.
Amazon Verified review
AlexevFeb 12, 2022
1
Well, before I bought this book, I red another user review, he complained about the authors using store procedures , but I thought was an maybe wrong complaint, its nothing wrong with store procedures in a backend API book but... then I red the book.Lts talk first about the good things this book has because, it has some1. The approach is hands on2. The Backend/Frontend solution is simple enought so it wont take hours and hours to code3. The topics are relevant (specially the Auth0 part)Now the baddies1. The code has the worst practices of development, the Reac part has everything in one folder2. The Database uses Store procedures for CRUD operation (bad, bad BAD)3. The backend is using Drapper instead of EF (the superstar of .NET)I am very dissapointed (I asked for a refund) I hpped I will be founding best practices, architectures, best patterns, etc. but... no
Amazon Verified review
Ewan DaltonDec 08, 2021
5
Beautifully written, there is a logical flow to each page and everything is explained clearly. It ranges from basic concepts to more advanced concepts. Prior to this book I had intermediate experience with React + Typescript and no experience with .NET.I found this book to be the perfect stepping stone in my personal growth as a software developer.
Carl Rippon has been in the software industry for over 20 years developing a complex lines of business applications in various sectors. He has spent the last 8 years building single-page applications using a wide range of JavaScript technologies including Angular, ReactJS, and TypeScript. Carl has also written over 100 blog posts on various technologies.
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.