Solved

Facebook React and ASP.NET Core 1.0

Posted on 2016-08-17
  • React
  • ASP.NET
  • .NET Programming
  • JavaScript
  • C#
  • +1
3
119 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 51

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now