Git Product home page Git Product logo

aspnetcore-react-redux-template's Introduction

What is this?

It's a template project for a SPA application on asp.net core using React.js and Redux written in ES2015 syntax. It's the same template as the one in original repository that is called ReacReduxSpa but it's developed in JavaScript rather than TypeScript.

What is JavaScript services?

JavaScriptServices is a set of technologies for ASP.NET Core developers. It provides infrastructure that you'll find useful if you use Angular 2 / React / Knockout / etc. on the client, or if you build your client-side resources using Webpack, or otherwise want to execute JavaScript on the server at runtime. Everything is cross-platform, and works with .NET Core 1.0 RC2 or later on Windows, Linux, or OS X.

Differences with the TypeScript version

There are small differences with the corresponding TypeScript version. Most importantly there is no yo generator for this template so far. So if you want to create an application based on this template you have to clone it locally and modify it according to your needs.

On top of that there is a slightly difference in the way the bundles are created during development and production. Initially there is no need to create explicitly the vendor bundle by executing the webpack command before launching the project. It's enough to just execute dotnet run and the library will take care creating the bundles. For production now you have to manually create the bundles and probably add them to source control as they are part of your application. In order to create these bundles you have to execute npm run dist from the root of the app. This could be also part of your build process. Once it's finished successfully there will be two JavaScript files one containing the code of yout application and the other one all the vendor code that doesn't change often, only when upgrading or adding new libraries. The generated files are located inside the wwwroot\dist folder.

For more information please visit the JavaScriptServices project

aspnetcore-react-redux-template's People

Contributors

xabikos avatar

Watchers

 avatar  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.