Open mrlife opened 3 months ago
Hi @mkArtakMSFT @javiercn, please update the label to https://github.com/dotnet/aspnetcore/labels/area-blazor when you have a chance?
(perhaps, the dotnet-issue-labeler prioritized "API" or "controller" over "Blazor" in the title when determining the label)
Is there an existing issue for this?
Describe the bug
In an ASP.NET Core 8 Blazor web app, I have an API controller with the following setup. When the endpoint is accessed, for some reason, Routes.razor is being run (not sure if App.razor is being run prior to that).
Is this the intended behavior, either by default or with my configuration below, or possibly a bug?
MyController.cs
Here is the related information in Program.cs:
Expected Behavior
When accessing an API endpoint, Blazor should not be involved.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
8.0.204
Anything else?
No response