【发布时间】:2020-07-28 17:40:58
【问题描述】:
ASP.NET 零(.Net Core v2 + Angular v5)
AbpUserConfiguration/GetAll 有时会中断,在服务了几个请求后,它开始产生跨域问题,其他时候它工作得很好。
以下是错误。
从源“http://localhost:4200”访问“http://localhost:22743/AbpUserConfiguration/GetAll”处的 XMLHttpRequest 已被 CORS 策略阻止:请求的资源上不存在“Access-Control-Allow-Origin”标头。
GET http://localhost:22743/AbpUserConfiguration/GetAllnet::ERR_FAILED
【问题讨论】:
标签: angular asp.net-core aspnetboilerplate