ASP.NET Core 3 and React

Rippon, Cart




Microsoft's ASP.NET Core is a robust and high-performing cross-platform web API framework, and Facebook's React uses declarative JavaScript to drive a rich, interactive user experience on the client-side web. Together, they can be used to build full stack apps with enhanced security and scalability at each layer.

This book will start by taking you through React and TypeScript components to build an intuitive single-page application. You’ll understand how to design scalable REST APIs that can integrate with a React-based frontend. 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. The book shows how you can use TypeScript along with React to make the frontend robust and maintainable. You’ll then cover important .NET Core features such as API controllers, attribute routing, and model binding to help you build a sturdy backend. Additionally, you’ll explore API security with ASP.NET Core identity and authorization policies, and write reliable unit tests using both .NET Core and React before you deploy your app to the Azure cloud.

By the end of the book, you’ll have gained all the knowledge you need to enhance your C# and JavaScript skills and build full stack, production-ready applications with ASP.NET Core and React.

  • Explore the full potential and latest features of .NET Core 3.0, TypeScript 3, and React
  • Learn how to manage data, application design, and packaging, and secure your web apps
  • Discover best practices for using React and TypeScript to build a scalable frontend that interacts with REST APIs


Carl Rippon has been involved in the software industry for over 20 years, developing a complex line of business applications across 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 written over 100 blog posts on various technologies.


Table of Contents

  1. Understanding the ASP.NET Core React Template
  2. Creating Decoupled React and ASP.NET Core Apps
  3. Getting Started with React and TypeScript
  4. Routing with React Router
  5. Working with Forms
  6. Managing State with Redux
  7. Interacting with the Database with Dapper
  8. Creating REST API Endpoints
  9. Creating a Real-Time API with SignalR
  10. Improving Performance and Scalability
  11. Securing the Backend
  12. Interacting with RESTful APIs
  13. Adding Automated Tests
  14. Configuring and Deploying to Azure
  15. Implementing CI and CD with Azure DevOps