Blazor WebAssembly With Single Web API | Programming with Palermo, ep.004

  Рет қаралды 1,139

Clear Measure

Clear Measure

Күн бұрын

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

Пікірлер: 5
@ClearMeasure
@ClearMeasure Жыл бұрын
Running with Confidence....it is attainable! kzbin.info/aero/PLccbmtqZglzrorpkZOE2_MaU2ctdHpjd3
@alexandero.9413
@alexandero.9413 7 ай бұрын
Thanks for the video! It's a really interesting pattern, especially for intranet applications. If I understand correctly, it would be possible to omit the Request/Dto->Command/Query->Response Request/Dto ceremonies using this pattern. What would be your way to implement authorization for restricted data? Would you just add some security context property to the command/query, and challenge the authorization in an AbstractValidator for it?
@ClearMeasure
@ClearMeasure 5 ай бұрын
Thank you for watching our video! We are so glad you found it helpful. Subscribe to our KZbin channel for more and check out our website for other free resources and content! clearmeasure.com/
@amanjain967
@amanjain967 2 жыл бұрын
How can we send an HttpStatus code 404 if a route is not found? I mean for Blazor Webassembly or server app. I assume both have different methods if any.
@ClearMeasure
@ClearMeasure Жыл бұрын
I'm sorry your comment was missed. Did you find the information you were looking for?
Enumerated Classes | Programming with Palermo, ep.003
21:13
Clear Measure
Рет қаралды 136
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 198 М.
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 57 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 15 МЛН
Blazor Webassembly - Communicating with the Backend Server
22:39
Azure Service Bus 12 - Queue Based Azure Functions
21:46
Consume REST API from Blazor WebAssembly
20:09
Roozbeh Shad
Рет қаралды 19 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 354 М.
🔒 Identity with a .NET 6 Web API & Blazor WebAssembly
50:47
Patrick God
Рет қаралды 30 М.
Web Server Concepts and Examples
19:40
WebConcepts
Рет қаралды 248 М.
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 57 МЛН