kriasoft / aspnet-starter-kit

Cross-platform web development with Visual Studio Code, C#, F#, JavaScript, ASP.NET Core, EF Core, React (ReactJS), Redux, Babel. Single-page application boilerplate.
https://twitter.com/dotnetreact
MIT License
1.16k stars 203 forks source link

Question: What is the purpose? #19

Closed RobertPaulson90 closed 8 years ago

RobertPaulson90 commented 8 years ago

What's the point of bundling .net core together with frontend such as react/angular & webpack? Is it just to ease publication/development? Shouldn't they be mutually exclusive and communicating via. restful api's?

I notice these great boilerplates such as this where you combine both the server-side .net core together with webpack + angular/react for example. Is this to achieve intellisense, easier publication/distribution? Or what exactly is the purpose?

Thanks!

koistya commented 8 years ago

Yeah, it's easier to deploy your app this way, also, how would you test your app if the front-end part comes separately from the backend? How would you deploy or rollback your app, making sure that versions of the front-end and back-end are compatible with each other?