STAIExtensions.Host.Grpc.Client
1.0.3
See the version list below for details.
dotnet add package STAIExtensions.Host.Grpc.Client --version 1.0.3
NuGet\Install-Package STAIExtensions.Host.Grpc.Client -Version 1.0.3
<PackageReference Include="STAIExtensions.Host.Grpc.Client" Version="1.0.3" />
paket add STAIExtensions.Host.Grpc.Client --version 1.0.3
#r "nuget: STAIExtensions.Host.Grpc.Client, 1.0.3"
// Install STAIExtensions.Host.Grpc.Client as a Cake Addin #addin nuget:?package=STAIExtensions.Host.Grpc.Client&version=1.0.3 // Install STAIExtensions.Host.Grpc.Client as a Cake Tool #tool nuget:?package=STAIExtensions.Host.Grpc.Client&version=1.0.3
STAIExtensions Host Grpc Client
This library contains a default .NET Protobuf Client. It also contains a managed wrapper to ease development of handling the connections and callbacks from and to the Grpc Server.
Usage
To use the library in a .NET project, install the package from Nuget. Once installed, either the managed client or the built in generated Protobuf client can be used as both are exposed.
The one parameter to take note of is the Owner Id parameter used throughout the lifetime of this library. The object instantiating this class should create a unique value for the owner (or User) to be passed to the backend. This will ensure that the callbacks when views are updated are returned to the correct instance of the Grpc client. A suggested approach is to either generate a new Guid for the lifespan of the connection or use a user name for this value.
It should also be noted that when a user name is used for the owner and a view's parameters are set this will update the view globally. These changes will propagate to all other retrievals like the API and SignalR GetView data.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- Google.Protobuf (>= 3.18.0)
- Grpc.Net.Client (>= 2.39.0)
- System.Text.Json (>= 6.0.1)
-
.NETStandard 2.1
- Google.Protobuf (>= 3.18.0)
- Grpc.Net.Client (>= 2.39.0)
- System.Text.Json (>= 6.0.1)
-
net5.0
- Google.Protobuf (>= 3.18.0)
- Grpc.Net.Client (>= 2.39.0)
- System.Text.Json (>= 6.0.1)
-
net6.0
- Google.Protobuf (>= 3.18.0)
- Grpc.Net.Client (>= 2.39.0)
- System.Text.Json (>= 6.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.
v1.0.3 - Added Xml documentation and package updates
v1.0.2 - Added package Readme
v1.0.1 - Added package Icon
v1.0.0 - Initial Release