dsuryd / dotNetify

Simple, lightweight, yet powerful way to build real-time web apps.
https://dotnetify.net
Other
1.17k stars 164 forks source link

Support for new ASP.Net Core 2.0 React.js and Redux VS template #37

Closed md8n closed 6 years ago

md8n commented 7 years ago

With the new .Net Core SDK VS2017 has a new project template for a ASP.Net Core 2.0 project that builds a React.Js and Redux web application.

I've tried a quick hack with plugging dotNetify into it, but the approach of the standard VS templates (folders, routes, etc.) is a lot different than the approach taken with the dotNetfy samples.

Any hope of an update to the HelloWorld samples that starts with the new ASP.Net Core 2.0 templates?

dsuryd commented 7 years ago

Thank you for the suggestion. My thought is the "reactredux" template adds a lot more into the mix, e.g. MVC, React Router, Redux, Typescript, while I would rather start with a super-simple template that can do just as much with only React, dotNetify and plain old C# objects. This is already in the to-do list now that .Net Core 2.0 supports custom templates.

I do like the webpack middleware part, which would be a great update to the existing HelloWorld sample for .NET Core CLI.

dsuryd commented 6 years ago

React SPA template for .NET Core 2.0 is now available.