Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.12 KB

File metadata and controls

18 lines (15 loc) · 1.12 KB

WebAPI2RPC

A lightweight highly abstracted extension that creates a gRPC web API from a normal .NET API controller. This gRPC API will hook into existing controllers rather than services.

Requirements:

  1. Non-breaking addition to existing .Net web API’s
  2. Ability to run both the REST and gRPC versions of the API at the same time
  3. gRPC API code should be abstracted out of sight unless the dev wants to see it for debugging reasons then a build variable can be used
  4. Transcodes API at build/compile time
  5. Conversion from HTTP status codes to gRPC status codes where possible

Optional extras:

  1. Swashbuckle integration

Useful links