grpc fai parlare i tuoi servizi, in binario, cross-platform. Vediamo come fare parlare tra loro un servizio C# e un client Python con gRPC. Codice qui https://github.com/maurobennici/grpc-demo
1. gRPC
Fai parlare i tuoi servizi: in binario, cross-platform, cross-language, ovunque siano
Mauro Bennici - 09/06/2021
2. Mauro Bennici
.NET Foundation member, Startupper, Data Scientist, Professional Scrum Master (PSM), Microsoft Certified Trainer
(MCT), Azure Cloud Solutions Associate (MCSA). Member of the European DIGITAL SME Alliance Focus Group on
Artificial Intelligence. Mentor at Techstars.
@maurobennici
https://www.linkedin.com/in/maurobennici/
https://ghostwriter.ai
12. DEMO
Passiamo alla ciccia!
Ma prima un paio di link:
https://github.com/protocolbuffers/protobuf
https://github.com/fullstorydev/grpcui
13. Quando usare cosa?
gRPC vs REST: Understanding gRPC,
OpenAPI and REST and when to use
them in API design
https://cloud.google.com/blog/products/api-management/understanding-grpc-openapi-and-rest-and-when-to-use-them
15. gRPC e REST
Creare gateway REST API per gRPC
https://grpc-ecosystem.github.io/grpc-gateway/
Generare sia gRPC che REST API (con tanto di Swagger) da file proto ma NON supportato
https://docs.microsoft.com/en-us/aspnet/core/grpc/httpapi?view=aspnetcore-5.0
16. Benchmarks .Net Core 3.1 v 5.0
Source: https://medium.com/swlh/working-with-grpc-in-net-b8e56404674b
18. Mauro Bennici
.NET Foundation member, Startupper, Data Scientist, Professional Scrum Master (PSM), Microsoft Certified Trainer
(MCT), Azure Cloud Solutions Associate (MCSA). Member of the European DIGITAL SME Alliance Focus Group on
Artificial Intelligence. Mentor at Techstars.
@maurobennici
https://www.linkedin.com/in/maurobennici/
https://ghostwriter.ai