Codabix.Web.SignalR
1.0.0-preview1-210921
This is a prerelease version of Codabix.Web.SignalR.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Codabix.Web.SignalR --version 1.0.0-preview1-210921
NuGet\Install-Package Codabix.Web.SignalR -Version 1.0.0-preview1-210921
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Codabix.Web.SignalR" Version="1.0.0-preview1-210921" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Codabix.Web.SignalR --version 1.0.0-preview1-210921
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Codabix.Web.SignalR, 1.0.0-preview1-210921"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Codabix.Web.SignalR as a Cake Addin #addin nuget:?package=Codabix.Web.SignalR&version=1.0.0-preview1-210921&prerelease // Install Codabix.Web.SignalR as a Cake Tool #tool nuget:?package=Codabix.Web.SignalR&version=1.0.0-preview1-210921&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Getting Started
At first you need an installed and running Codabix. Just go to https://www.codabix.com/en/downloads to get a latest evaluation version for free and without registration.
The most essential snippet to dig in:
using Codabix.Web.SignalR;
...
var client = new CodabixClient("http://localhost:8181", "username", "password");
await client.ConnectAsync();
// Your code to interact with Codabix.
Let's Read a Node
var response = await client.ReadNodeValueAsync("/Nodes/TestValue");
Let's Write a Node
var response = await client.WriteNodeValueAsync("/Nodes/TestValue", "Hello World!");
Let's Subscribe to a Node's value
var parameters = new NodeValueSubscriptionParameters {
Nodes = new CodabixNodeQueryIdentifier[] { "/Nodes/MyNode" }
};
var channel = await client.SubscribeValueChangesAsync(parameters);
while (await channel.WaitToReadAsync())
{
while (channel.TryRead(out var eventArgs))
{
Console.WriteLine($"New value: {eventArgs.NewValue.Value}");
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
- Microsoft.AspNetCore.SignalR.Client (>= 5.0.9)
- Microsoft.Management.Infrastructure (>= 2.0.0)
- Microsoft.Win32.Registry (>= 5.0.0)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.1-preview.1.240628 | 46 | 7/1/2024 |
1.0.0-preview9-240322 | 76 | 3/22/2024 |
1.0.0-preview8-240306 | 55 | 3/6/2024 |
1.0.0-preview7-220822 | 226 | 8/22/2022 |
1.0.0-preview6-220706 | 140 | 7/6/2022 |
1.0.0-preview5-220215 | 289 | 2/15/2022 |
1.0.0-preview2-211028 | 222 | 10/28/2021 |
1.0.0-preview1-210921 | 167 | 9/21/2021 |
Introduced new package to develop custom WebSocket clients using SignalR.