Git Product home page Git Product logo

simpel / dotnetframework4.x.x-reactjs-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rameshkunwar/dotnetframework4.x.x-reactjs-template

0.0 0.0 0.0 839 KB

A well-integrated React JS template for ASP.NET MVC/Web API (.Net Framework 4.x.x). Template inject bundled files directly into the _Layout.cshtml.

Home Page: https://github.com/rameshkunwar/dotNetFramework4.x.x-ReactJS-template

JavaScript 94.93% C# 1.94% CSS 0.61% HTML 2.47% ASP.NET 0.05%

dotnetframework4.x.x-reactjs-template's Introduction

React JS template for ASP.NET MVC/Web API (.net framework 4.x.x).

Webpack is configured in a way it injects scripts and styles inside _Layout.cshtml based on a template file _Template.cshtml.

Webpack splits the output bundle as well as hashed name is used to force the browser to reload if any changes has been made.

Installation

  1. Install all Nuget packages by right-clicking the Solution (on Visual Studio) and selecting Restore Nuget Packages.
  2. React dependencies:
    • Go to the root folder, which is wwwroot on the command prompt or can also be done using Visual Studio Code. Right-click the folder wwwroot and select Open With Code. Use Visual Studio Code to run npm install
    • Alternatively, open wwwroot on command prompt and type 'npm install'

Running

  1. On Visual Studio Code terminal or command prompt, type npm run start for development or npm run build for production.
  2. Hit F5 on Visual Studio to run IIS Express.
  3. Application will be loaded in the choosen browser (in Visual Studio).

Remember, I have used two names above Visual Studio and Visual Studio Code!

I recommend using Visual Studio Code for front-end developement.

dotnetframework4.x.x-reactjs-template's People

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.