Solved

Facebook React and ASP.NET Core 1.0

Posted on 2016-08-17
  • React
  • ASP.NET
  • .NET Programming
  • JavaScript
  • C#
  • +1
3
234 Views
Last Modified: 2016-11-08
I have heard that react will replace Angular at the front end technology of choice. Please give me a bird's eye view of React, and how well it compliments an ASP.NET Core 1.0 application.

I have no experience with React, but have reviewed a bit of Angular and used Bootstrap. Please give some details about React.

Thanks
0
Comment
Question by:newbieweb
  • 2
3 Comments
 
LVL 54

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41759272
Not sure about React replacing Angular - they are subtly different with different adv / disadv.

React is a library
Angular is a framework

Some argue that the React way of doing things (more JS centric) makes it easier to code - debugging is slightly easier. Others argue that the framework benefits and features like two way binding make for easier development. Ultimately it is what suites your project. Google is behind Angular, Facebook behind React - too early to tell who will be the winner if any.

As for using React with ASP.NET - here is my take. Both Angular and React are client side solutions that bring the view logic into the browser. Communication with the server is for the purpose of fetching and sending data. Server side code is in a true Single Page Application is going to reduce to REST endpoints and API's that provide data services to to the application. So how it compliments an ASP Core app - not really a question in the context of true SPA's - any server side solution can provide REST interfaces - the app does not really care where or how the data is generated as long as it gets the JSON response it expects.

React as a library - if you are strong in JavaScript then you should find React easy to get into - it has a much shorter learning curve than Angular and sticks closely to native JS to get things done - whereas Angular needs decorators and special attributes.

Angular 2 is relatively new - so we are still waiting to see how the new component centric design of Angular 2 pans out - so far it looks promising.
0
 

Author Closing Comment

by:newbieweb
ID: 41759291
thanks
0
 

Author Comment

by:newbieweb
ID: 41759295
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question