/blazorserver

Data access in a Blazor Server app

Primary LanguageC#

BlazorServer

Exploring different ways of accessing the database in a Blazor Server app:

  1. REST call
  2. OData call
  3. gRPC (not gRPC-Web) call
  4. gRPC (not gRPC-Web) call with JSON transcoding
  5. GraphQL call
  6. WCF call
  7. Direct database access - no API calls of any kind

Switching between them is done at the DI registration level. The client code stays exactly the same, regardless of which one is being used.

Built with Clean Architecture.