Base solution for your next web application

Activities of "magicang"

Thanks Maliming!

Another error message in log file "System.InvalidOperationException: A CORS policy named 'localhost' could not be found."

Thanks maliming!

However, there is another error appear after amend as above.

In Angular, the error message showing "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:91/DXXRDV. (Reason: CORS header 'Access-Control-Allow-Origin' missing)", refer to below image:

While Asp.Net Core show error message "Castle.MicroKernel.ComponentNotFoundException: No component for supporting the service FlexiCloud.Web.Host.Controllers.CustomWebDocumentViewerController was found", please refer to attached logs file.

https://www.dropbox.com/s/xngoqde361csrxj/Logs.txt?dl=0

There is an error when replace with options.AddDefaultPolicy(

Please click below dropbox link to download my Demo project. FYI, these 2 projects running in 2 different port:

Demo project source code: ~~delete~~

Asp.net zero: http://localhost:91

Angular: http://localhost:4200

Thank you!

Showing 1 to 4 of 4 entries