Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there Rx.NET for .NET Core?

Found https://github.com/Reactive-Extensions/Rx.NET/issues/148, but I could not figure out the bottom line - where is Rx.NET for .NET Core and how to get it?

I am using Enterprise Visual Studio 2015 Update 3 with .NET Core installed.

like image 762
mark Avatar asked Jul 26 '16 00:07

mark


People also ask

What is Rx in C#?

Basically, Rx is a library for composing asynchronous and event-based programs using observable collections. This is very useful in the case wherein you are pulling data asynchronously from different sources and then manipulating the same and finally printing the result.

What is rx io?

An API for asynchronous programming. with observable streams.

What is io ReactiveX?

ReactiveX, also known as Reactive Extensions or RX, is a library for composing asynchronous and event-based programs by using observable sequences. This is perfect for Android, which is an event-driven and user-focused platform.


1 Answers

Yes, but Rx.NET namespaces and packages have been renamed to System.Reactive as described here.

The NuGet packages have changed their package naming in the move from v2.x.x to v3.0.0

  • Rx-Main is now System.Reactive
  • Rx-Core is now System.Reactive.Core
  • Rx-Interfaces is now System.Reactive.Interfaces
  • Rx-Linq is now System.Reactive.Linq
  • Rx-PlatformServices is now System.Reactive.PlatformServices
  • Rx-Testing is now Microsoft.Reactive.Testing

You can add the NuGet package by editing your project.json and adding a reference to System.Reactive

  (...)
  "dependencies": {
    "Microsoft.NETCore.App": {
      "type": "platform",
      "version": "1.0.0"
    },
    "System.Reactive": "3.0.0"    <------------- 
  },

  "frameworks": {
    "netcoreapp1.0": {
      "imports": "dnxcore50"
    }
  }
like image 67
Gerardo Grignoli Avatar answered Sep 20 '22 12:09

Gerardo Grignoli