Рет қаралды 1,139
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 API's however it's far too easy to create many api controllers for every reason to call to the server. With this Json Serialization pattern you will create a single API to send/receive data from the front end to the back end. This patterns prevents the creation of hundreds of API endpoints for Blazor WebAssembly applications as they grow.
This demo will be going over what code is needed to be added to both the frontend and the backend. And how to add additional queries to your application.
Here is the CODE SAMPLE: github.com/jef...
Thank you for watching Programming with Palermo. Our processes, tools, and resources are empowering countless development teams all around the world.
Subscribe for more great content!
• Architect Tips - New video podcast: architecttips.c...
• Azure DevOps: azure.microsof...
• Azure DevOps Podcast: • The Azure DevOps Podcast
• Clear Measure (Sponsor): www.clear-meas...
• .NET DevOps for Azure: A Developer’s Guide to DevOps Architecture the Right Way, by Jeffrey Palermo - Available on Amazon: www.amazon.com...
• Jeffrey Palermo’s Twitter - Follow to stay informed about future events: / jeffreypalermo
#blazor #webassembly #webapi