Utilise the dotnet client within a web app powered by Razor or Blazor?

Is it possible to use the .NET Nakama client library to connect a web app developed in C#?

Are there certain architectures that support this, such as using Blazor to run the code within the browser, or would it be possible the Razor pages where they are rendered server side?

I assume it’s trickier with the server side rendering because the dotnet Nakama client would be executing remotely, but if it updates data models then the client browser should receive what it needs.