Рет қаралды 19,770
In this tutorial, I'll show you how to call and consume a REST API service from a Blazor WebAssembly application.
I'll explain how to enable CORS (Cross-Origin Resource Sharing) on the RESTful service side.
You'll learn how to register HttpClient with the address of WebAPI service and inject it to the Razor components.
Finally, I'll show you how to display binary images of categories in the Northwind database.