We have three ways to return data and HTTP status codes from an action method in ASP.NET Core. You can return a specific type, return an instance of type IActionResult, or return an instance of type ...
Let me start by emphasizing Blazor is not a committed product at this point, currently being classified as experimental. So please don't go building anything in production just yet. What Is Blazor?