✨ Add grpc reflection
This commit is contained in:
		| @@ -23,6 +23,7 @@ public static class ApplicationConfiguration | ||||
|         // Map gRPC services | ||||
|         app.MapGrpcService<PostServiceGrpc>(); | ||||
|         app.MapGrpcService<PublisherServiceGrpc>(); | ||||
|         app.MapGrpcReflectionService(); | ||||
|  | ||||
|         return app; | ||||
|     } | ||||
|   | ||||
| @@ -53,6 +53,7 @@ public static class ServiceCollectionExtensions | ||||
|         services.AddRazorPages(); | ||||
|  | ||||
|         services.AddGrpc(options => { options.EnableDetailedErrors = true; }); | ||||
|         services.AddGrpcReflection(); | ||||
|  | ||||
|         services.Configure<RequestLocalizationOptions>(options => | ||||
|         { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user