key4.Grpc.Autoload 1.0.0.6-b

Key4.Grpc.Autoload

Extensions for gRPC microservices.

Usage

Use templates

Add Attribute

[GrpcService]
public class OrganisationService : Organisation.OrganisationBase
{
}

Initialize all gRPC services with attribute

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
    // ...

    app.UseEndpoints(endpoints =>
    {
        endpoints.AddGrpcServicesFromAssembly(Assembly.GetExecutingAssembly());
    });
}

No packages depend on key4.Grpc.Autoload.

.NET 6.0

Version Downloads Last updated
2.1.0.10-b 9 12/08/2022
2.0.0.9-b 12 12/08/2022
1.0.0.8-b 10 12/08/2022
1.0.0.7-b 9 12/08/2022
1.0.0.6-b 10 12/08/2022