/ReactWebForms

Server Side React + Asp.Net Web Forms + TypeScript

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Server Side React + Asp.Net Web Forms + TypeScript

An example showing how to integrate Server Side React with Asp.Net Webforms.

We use ReactJS.Net

Configuration

See the following files:

File What is it?
/App_Start/ReactConfig.cs The Asp.Net React Configuration File
/package.json Project Npm Packages
/Controls/ReactComponentSelector.cs Custom Asp.Net Server Control to help add React component to the page.
/src/components/* React Components
/Default.aspx Uses the Server Control to add the React Components
/tsconfig.json Typescript Configuration for this project

Also need Nuget package and dependencies: React.Web.Mvc4

Original Inspirations:

Using Reactjs.net in Web Forms

React Server Side Web Forms

Adding Typescript to a Project