Description |
1 online resource |
Contents |
Cover -- Title Page -- Copyright and Credits -- Dedication -- About Packt -- Contributors -- Table of Contents -- Preface -- Section 1: Getting Started -- Chapter 1: Understanding the ASP.NET Core React Template -- Technical requirements -- SPA architecture -- Understanding the backend -- Creating an ASP.NET Core and React templated app -- Understanding the backend entry point -- Understanding the Startup class -- The ConfigureServices method -- The Configure method -- Custom middleware -- Understanding controllers -- Understanding the frontend -- Understanding the frontend entry point |
|
Running in development mode -- Publishing process -- Understanding the frontend dependencies -- Understanding how the single page is served -- Understanding how components fit together -- Understanding how components access the backend web API -- Summary -- Questions -- Further reading -- Chapter 2: Creating Decoupled React and ASP.NET Core Apps -- Technical requirements -- Creating an ASP.NET Core Web API project -- Creating a React and TypeScript app -- Understanding the benefits of TypeScript -- Creating the app with CRA -- Adding linting to React and TypeScript |
|
Configuring Visual Studio Code to lint TypeScript code -- Configuring linting rules -- Adding automatic code formatting to React and TypeScript -- Adding Prettier -- Summary -- Questions -- Further reading -- Section 2: Building a Frontend with React and TypeScript -- Chapter 3: Getting Started with React and TypeScript -- Technical requirements -- Understanding JSX -- Creating function-based components -- Creating a Header component -- Creating our first component -- Adding elements to the Header component -- Creating a HomePage component -- Creating mock data -- Styling components |
|
Styling using CSS class references -- Understanding the benefits of CSS in JS -- Installing Emotion -- Styling the document body -- Styling components using Emotion -- Styling the App component -- Styling the Header component -- Styling the HomePage component -- Implementing component props -- Creating HomePage child components -- Creating the QuestionList component -- Creating the Question component -- Wiring up the components -- Optional and default props -- Children prop -- Function props -- Implementing component state -- Changing getUnansweredQuestions so that it's asynchronous |
|
Using useEffect to execute logic -- Using useState to implement component state -- Handling events -- Handling a button click event -- Handling an input change event -- Rendering optimization -- Summary -- Questions -- Further reading -- Chapter 4: Routing with React Router -- Technical requirements -- Installing React Router with types -- Declaring routes -- Creating some blank pages -- Creating a component containing routes -- Redirecting a route -- Handling routes not found -- Implementing links -- Using the Link component -- Navigating programmatically -- Using route parameters |
Summary |
ASP .NET Core is a powerful framework to architect a powerful backend for scalable web applications. Combined with the solid front-end development capabilities of React, you will be reinforced to build a solid full-stack web. With this book, we will teach .NET developers how to harness the full potential of React using ASP.NET Core as the backbone. |
Local Note |
eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - North America |
Subject |
Active server pages.
|
|
Microsoft .NET Framework.
|
|
Active server pages. |
|
Microsoft .NET Framework. |
|
Web applications.
|
|
Application software -- Development.
|
|
TypeScript (Computer program language)
|
|
Application software -- Development. |
|
TypeScript (Computer program language) |
|
Web applications. |
Other Form: |
Print version: Rippon, Carl. ASP. NET Core 3 and React : Hands-On Full Stack Web Development Using ASP. NET Core, React, and TypeScript 3. Birmingham : Packt Publishing, Limited, ©2019 9781789950229 |
ISBN |
1789959241 (electronic bk.) |
|
9781789959246 (electronic bk.) |
|