Skip to content
Code To share
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
NewWebConfig.xml
OriginalWebConfig.xml
README.md
startup.cs

README.md

ShareWithWorld

The original web.conifg had a section that looked like it was supposed to help with CORS, but I couldn't get it to work properly. What I read was that even if it did work, it would have only allowed you to specify one origin in the "Access-Control-Allow-Origin" tag.

With that removed, the regular cors code in startup.cs worked, as well as the corsPolicyBuilder route that I took.

You can’t perform that action at this time.