n-stefan / blazorserver

Data access in a Blazor Server app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Data access in a Blazor Server app


Languages

Language:C# 81.7%Language:HTML 9.8%Language:CSS 8.5%