ASP.NET Core 3 and React: Hands-On full stack web development using ASP.NET Core,React,and TypeScript 3
Authors: Carl Rippon
ISBN-10: 1789950228
ISBN-13: 9781789950229
Publication Date 出版日期: 2019-12-27
Print Length 页数: 598 pages
Book Description
By finelybook
Build modern,scalable,and cloud-ready single-page applications using ASP.NET Core,React,TypeScript,and Azure
ASP.NET Core and React are two of the most in-demand web technologies. Microsoft’s ASP.NET Core targeting the .NET Core runtime is a robust,high-performing cross-platform web API framework,and Facebook’s React allows developers to leverage declarative JavaScript to drive richly interactive user experiences at client-side web.
This book will guide us through building a scalable,React single-page application with an ASP.NET Core REST API backed by a SQL database accessed via the Dapper framework. As we build the frontend,we’ll learn about new React features and the popular patterns,technologies,and tools from the React ecosystem such as function-based components,JSX,React Router,Redux. We’ll leverage TypeScript on top of React to make our frontend robust and maintainable. While building the REST API,we’ll learn how to implement API controllers and understand attribute routing and model binding. We’ll also learn how to secure the API with ASP.NET Core identity and authorization policies. We’ll learn how to write robust unit tests in both the REST API and the React and complete our journey by deploying our app to the Azure cloud.
By the end of the book,you will have all the knowledge required to take your existing skills with C# and JavaScript and build full-stack,production-ready applications with ASP.NET Core and React.
What you will learn
Build RESTful APIs with .NET Core leveraging API controllers with attribute routing and model binding
Create strongly typed interactive function based React components using Hooks
Build forms efficiently using reusable React components
Perform client-side state management with Redux and Reacts Context API
Secure REST APIs with ASP.NET identity and authorization policies
Perform a range of automated tests on both the frontend and backend
Implement CI and CD processes into Azure using Azure DevOps
Contents
Preface
Section 1: Getting Started
Chapter 1: Understanding the ASP.NET Core React Template
Chapter 2: Creating Decoupled React and ASP.NET Core Apps
Section 2: Building a Frontend with React and TypeScript
Chapter 3: Getting Started with React and TypeScript
Chapter 4: Routing with React Router
Chapter 5: Working with Forms
Chapter 6: Managing State with Redux
Section 3: Building an ASP.NET Core Backend
Chapter 7: Interacting with the Database with Dapper
Chapter 8: Creating REST API Endpoints
Chapter 9: Creating a Real-Time API with SignalR
Chapter 10: Improving Performance and Scalability
Chapter 11: Securing the Backend
Chapter 12: Interacting with RESTful APIs
Section 4: Moving into Production
Chapter 13: Adding Automated Tests
Chapter 14: Configuring and Deploying to Azure
Chapter 15: Implementing CI and CD with Azure DevOps
Assessments
Other Books You May Enjoy
Index