Dave Ceddia. CodeProject. 2016-09-14.
One of the first questions new React developers have is, “How do I do AJAX requests in React?”
Here’s an answer to that question.
First: React itself doesn’t have any allegiance to any particular way of fetching data. In fact, as far as React is concerned, it doesn’t even know there’s a “server” in the picture at all.
React simply renders components, using data from only two places: props and state.
So therefore, to use some data from the server, you need to get that data into your components’ props or state.
You can complicate this process with services and data models (er, “build abstractions”) as much as you desire, but ultimately it’s just components rendering props and state.
[AJAX Requests in React: How and Where to Fetch Data]
Peter Vogel. MSDN Magazine. September 2016-09-01.
In an earlier article, I discussed how the observer pattern can be used to manage long-running tasks (msdn.com/magazine/mt707526). By the end of that article, I showed how Microsoft Reactive Extensions (Rx) provide a simple mechanism for managing a sequence of events from a long-running process in a Windows application.
Rx provides a standard way to abstract a variety of scenarios and manipulate them using a fluent, LINQ-like interface that lets you compose applications from simpler building blocks. Rx lets you both integrate your UI events with back-end processing while, at the same time, keeping them separate—with Rx you can rewrite your UI without having to make corresponding changes to your back end (and vice versa).
RxJS also supports a clean separation between your HTML and your code, effectively giving you data binding without requiring special HTML markup. RxJS also builds on existing client-side technologies (jQuery, for example). There’s one other benefit to Rx: all Rx implementations tend to look very similar—the RxJS code in this article is very much like the Microsoft .NET Framework code I wrote in my previous article. You can leverage the skills you pick up in one Rx environment in any Rx environment.
[Reactive Framework – Build Asynchronous AJAX-Enabled Web Pages with Reactive Extensions]
In this article I am going to share how to validate and save data into SQL SERVER database table in asp.net without any post back (asynchronously) using jQuery AJAX JSON and WebMethod.
Lalit Raghuvanshi. WCE (Web Code Experts). 2016-09-06.
[jQuery Ajax Json example in Asp.net to insert data into sql server database without postback]