ASP.NET Core 5 and React - Second Edition: Full-stack web development using .NET 5, React 17, and TypeScript 4
內容描述
Build fully functional, cloud-ready, and professional web applications using the latest features in the .NET 5 framework and React.js with Microsoft Azure
Key Features
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
Book 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.
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
Who this book is 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.
目錄大綱
Table of Contents
Understanding the ASP.NET 5 React Template
Creating Decoupled React and ASP.NET 5 Apps
Getting Started with React and TypeScript
Styling React Components with Emotion
Routing with React Router
Working with Forms
Managing State with Redux
Interacting with the Database with Dapper
Creating REST API Endpoints
Improving Performance and Scalability
Securing the Backend
Interacting with RESTful APIs
Adding Automated Tests
Configuring and Deploying to Azure
Implementing CI and CD with Azure DevOps
作者介紹
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 9 years building single-page applications using a wide range of JavaScript technologies, including Angular, ReactJS, and TypeScript. Carl has written over 150 blog posts on various technologies.