Giter Site home page Giter Site logo

flappizy / dotnet-core-with-react Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dennisfleischmann/dotnet-core-with-react

0.0 0.0 0.0 157 KB

A great combination, ASP.NET MVC Core with React. Server Side Rendering made simple with ReactJS.Net

C# 34.47% JavaScript 64.45% HTML 1.09%

dotnet-core-with-react's Introduction

Introduction

This repository contains an example how React and Redux can be used with ASP.NET MVC Core. ReactJS.NET is used to be able to use Server Side Rendering. It is a great way to reuse all React Components to create Server Pages.

The purpose of the example is for my own investigation of Visual Studio 2017 and ASP.NET MVC Core in connection with React technologies. The following was used for the setup/environment:

  • Just released Visual Studio 2017
  • Latest Version of ASP.NET MVC Core 1.1
  • React v15.4.0 and Redux v3.6
  • ReactJS.NET 3.0 for Server Side Rendering
  • Webpack for our builds and bundles

Installation

Clone the repository

git clone https://github.com/dennisfleischmann/dotnet-core-with-react.git

Change directory

cd dotnet-core-with-reacts

Restore all nuget packages

dotnet restore

Install node modules & run builds

cd dotnet-core-with-reacts.ui/client

Install node modules

yarn install

Run builds

yarn build

Output

alt tag

Run the Solution

cd..
dotnet run
open http://localhost:5000/

dotnet-core-with-react's People

Contributors

dennisfleischmann avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.