Base solution for your next web application

Activities of "muradkayani"

while i disbale middleware it caused some framework enpoints to stop working so as a workaround i did this for now but its not a clean approch, but its working fine.

Hi, i was busy in some other priority items.

Anyhow while it did not work for a simple controller as well and i think this is the reason behind.

it appears that we are mixing two different approaches for enabeling CORS which is not recommended as stated in the above link.

I want only a few app services to be exposed as public APIs without specifying origin of the site in appsettings.json All other app service should work only for allowd origins in appsettings.json

For this i have defined cors policy as folloing

Fnd using EnableCors Attribute on app service

[EnableCors("AllowAll")] public class GuideReaderAppService : GuideBuddyAppServiceBase, IGuideReaderAppService { ...

while searching support forum i have read a few question but no help for example this one

Showing 1 to 3 of 3 entries