Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- C# HttpClient POST or PUT Json with content type application/json
- C# get results from Task.WhenAll
- C# Get expiry timestamp from JWT token
- Run tasks in parallel using .NET Core, C# and async coding
- Handling "415 Unsupported Media Type" in .NET Core API
- ASP.Net Core API - "'s' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0."
- Using C# HttpClient from Sync and Async code
Archive
Meta
Tag Archives: CORS
.NET Core API and CORS – allow POST from Javascript using Microsoft.AspNetCore.Cors
After hours of debugging, I finally managed to apply CORS correctly to my .NET Core 3.0 Application. Like so many other before me, I used this article as reference: Enable Cross-Origin Requests (CORS) in ASP.NET Core But I still managed … Continue reading
Calling Azure Functions from JavaScript – The CORS configuration
You cannot call Azure Functions from JavaScript unless you configure the CORS settings for your Function Apps: This is because Microsoft have by default enabled CORS and only allows only some azure domains to access the Function Apps: So to … Continue reading
Azure API Management configure CORS in the policy
Cross-Origin Resource Sharing (CORS) allows a user agent gain permission to access a web- or REST service from a server on a different domain than the site currently in use. Modern browsers does not allow websites with Javascript that calls … Continue reading