打赏
摘要: from:http://www.cnblogs.com/xishuai/p/aspnet-core-cors.html CORS 全称"跨域资源共享"(Cross-origin resource sharing)。 跨域就是不同域之间进行数据访问,比如 a.sample.com 访问 b.sampl 阅读全文
posted @ 2018-03-30 16:18 刘奇云 阅读(311) 评论(0) 推荐(0)
摘要: from:http://www.cnblogs.com/dudu/p/5895424.html ASP.NET Core 内置了对 CORS 的支持,使用很简单,只需先在 Startup 的 ConfigureServices() 中添加 CORS 策略: 然后在想启用 CORS 的控制器 Acti 阅读全文
posted @ 2018-03-30 16:07 刘奇云 阅读(1672) 评论(0) 推荐(1)
摘要: from:http://www.cnblogs.com/xishuai/p/ef-dbcontext-thread-safe.html 先看这一段异常信息: A second operation started on this context before a previous asynchrono 阅读全文
posted @ 2018-03-30 11:00 刘奇云 阅读(590) 评论(0) 推荐(0)