What is CORS? | Fixing CORS errors in ASP.NET Core

preview_player
Показать описание

Has it happened to you that you have your modern frontend ready to talk to your ASP.NET Core backend but on the first request all you get is a CORS policy error?

Luckily, dealing with CORS is a very straightforward process, so here's how to configure CORS in an ASP.NET Core application.

Topics covered:
00:24 What is a cross-origin request?
02:08 What is CORS?
03:33 Invoking a Web API server from a Blazor WebAssembly client
12:42 Configuring CORS in ASP.NET Core

#dotnet #aspnetcore #aspnet
Рекомендации по теме
Комментарии
Автор

solved in seconds!!!! CORS has got to be the most irritating thing to encounter as a developer!

kuljotbakshi
Автор

Amazing video! Never has CORS been explained so clearly. Wonderful job, senor!

oswaldumeh
Автор

A very common issue. Gracias por el excelente contenido, Julio!

hernan.cortes
Автор

Finally a video that not only makes sense but actually works. Thank you so much.
Por fin un vídeo que no sólo tiene sentido sino que realmente funciona. Muchas gracias.

RouteDeTours
Автор

Good video. Thanks for the great content, Julio.

HomeSlize
Автор

Amazing explanation ... I have cors problems but with specials verbs (put, delete and options), I'm using windows authentication too and It is broking my mind... This only when I deploy the API in cloud server, any idea?... Thanks in advance

AnGeLuz
Автор

How abt extra steps for post and put request

dharanidevi
Автор

Amazing please work on a full asp.net 7 api course please

shittusulaimon
Автор

I have tried all steps and many other documents. Nothing worked.

saurabhk
visit shbcf.ru