Base solution for your next web application

Activities of "tactuumadmin"

@ismcagdas Thank you for your response.

Is there something beyond adding the CORS information to the customHeaders section of the web.config that needs to be done in order to enable CORS for the Web API? There doesn't appear to be any specific documentation for this on the .NetZero website. It is mentioned for the projects that use .Net Core, however we are using the MVC5 with JQuery version and there doesn't appear to be anything (that I can find) to specify any specific configuration requirements.

Many thanks, Kenny

I am having issues accessing my API from an external site and can't think why it's happening. From Postman, I am able to access everything without any issues, but when trying to access the API directly, I receive the same message every time:

405: Method Not Allowed (referring to the OPTIONS pre-flight request sent).

I can't seem to get any further than this regardless of what setup I do to either the source project or the .NetZero project. Am I missing a key element of the setup that will enable this feature to work as expected?

Many thanks, Kenny

Showing 1 to 2 of 2 entries