Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.


dotNetify-React Template

DotNetify is a free, open source project that lets you create real-time, reactive, cross-platform apps with React, React Native, or Knockout front-end on C# .NET back-end via WebSocket.

This is a full React SPA template for ASP.NET Core 2.1 featuring:

  • Reactive, real-time dashboard page.
  • Edit form + CRUD table pages.
  • Login page with JWT bearer token authentication.
  • UI components from Material-UI.
  • Routing with deep links.
  • Webpack hot module replacement + dotnet watch.
  • OpenID Connect/OAuth2 authentication server.

How to install from NuGet

dotnet new -i DotNetify.React.Template

dotnet new dotnetify -o MyApp
cd MyApp
npm i
dotnet build
dotnet watch run

Open http://localhost:5000.

alt screenshot

How to make it work with IE 11

Add the following scripts in index.html:

 <!-- Polyfills for IE 11 -->
 <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.26.0/polyfill.min.js"></script>
 <script src="https://cdn.jsdelivr.net/npm/fetch-polyfill@0.8.2/fetch.min.js"></script>


Documentation and live demo are available at http://dotnetify.net/react.


The UI layout was adapted from the work by @rafaelhz.