Blazor WASM Client and Server CORS Error .Net6
when i use in the Blazor WASM Client the Code
var client=new HttpClient(); var xyz=client.GetAsync(URL);
i got a CORS Error.
when i add an image with the URL i got also the same Error
<img src="@URL" />
I try it also in the API. On Localhost i got my httpclient response. When i upload it on my server i got a timeout Message.
Thank you for your support?
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more