1

I'm using grpc in the asp.net project with clean architecture, where should I put proto files and grpc services which layer, and which folder

enter image description here

regestea23
  • 456
  • 6
  • 19

1 Answers1

2

When taking Clean Architecture (from Uncle Bob) very strict gRPC should be considered as a "framework" (technical detail) and so all code depending on it (including proto files) should be outside the domain/application layer and in the outer most layer.

plainionist
  • 2,950
  • 1
  • 15
  • 27