.Net 6 Blazor WebAssembly App api is not working without debugging mode but working in debugging mode.
without debugging mode getting the following error: enter image description here
And also api not working after publishing in local iis.
I tried with a new project but new project is working fine.