ServiceHub.ApiV1
1.0.10
dotnet add package ServiceHub.ApiV1 --version 1.0.10
NuGet\Install-Package ServiceHub.ApiV1 -Version 1.0.10
<PackageReference Include="ServiceHub.ApiV1" Version="1.0.10" />
paket add ServiceHub.ApiV1 --version 1.0.10
#r "nuget: ServiceHub.ApiV1, 1.0.10"
// Install ServiceHub.ApiV1 as a Cake Addin #addin nuget:?package=ServiceHub.ApiV1&version=1.0.10 // Install ServiceHub.ApiV1 as a Cake Tool #tool nuget:?package=ServiceHub.ApiV1&version=1.0.10
Overview
This nuget package contains the Api/V1 package.
Proto/api.proto
Defines a set of requests and responses for the MyGreeterCsharp service. The Api/V1 package includes the generated gRPC service from api.proto
, including functions like SayHello()
, CreateResourceGroup()
, etc. More info can be found here.
Modify the API
Whenever the API is changed, you need to run the following command to regenerate the code.
cd api/v1
make service
Client/Client.cs
,
NewClient()
function returns a new client that connects to the specified remote address.
Nuget Packages
Instructions on how to build, release, and publish nuget packages can be found here.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- Google.Protobuf (>= 3.27.2)
- Grpc.Net.Client (>= 2.63.0)
- Microsoft.AspNetCore.Grpc.JsonTranscoding (>= 8.0.6)
- Microsoft.AspNetCore.Grpc.Swagger (>= 0.8.6)
- Microsoft.Extensions.Logging (>= 8.0.0)
- Newtonsoft.Json (>= 13.0.3)
- Polly (>= 8.4.1)
- protobuf-net (>= 3.2.30)
- ProtoValidate (>= 0.1.3)
- Serilog.AspNetCore (>= 8.0.1)
- Serilog.Extensions.Logging (>= 8.0.0)
- Serilog.Formatting.Compact (>= 3.0.0)
- ServiceHub.AKSMiddleware (>= 1.0.4)
- ServiceHub.LogProto (>= 1.0.1)
- Swashbuckle.AspNetCore.Swagger (>= 6.6.2)
- System.Runtime (>= 4.3.1)
- System.Threading.Tasks (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.