With Blazor’s implementation of WASM, the front end and the backend of a Blazor C# project is separated. This means that for the WASM project to run on the client side, it needs to interact with a server to send and receive data. This is possible using APIs however it’s far too easy to create many API controllers for every reason to call to the server.
Code sample: https://github.com/jeffreypalermo/blazor-wasm-single-web-api
With this Json Serialization pattern, you will create a single API to send/receive data from the front end to the back end. These patterns prevent the creation of hundreds of API endpoints for Blazor WebAssembly applications as they grow.
This demo will be going over what code needs to be added to both the frontend and the backend. And how to add additional queries to your application.