Рет қаралды 7,137
💻Get the source code: go.dotnetacade...
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
🔥Become a Senior C# Backend Engineer: juliocasal.com...
🗺️Get My Free .NET Backend Developer Roadmap: juliocasal.com...
Join me on Patreon: / juliocasal
Follow me on LinkedIn: / juliocasal
Follow me on X: x.com/julioc
#dotnet #aspnetcore #aspnet