随笔分类 -  .netcore

摘要:No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://xxx' is therefore not allowed access ASP.net Core 跨域有两种,全 阅读全文
posted @ 2022-02-12 11:26 二姐1511 阅读(666) 评论(0) 推荐(0) 编辑
摘要:默认情况下,IIS拒绝PUT和Delete请求,原因为IIS默认注册了一个名为"WebDAVModule"的自定义HttpModule导致的,WebDAV的全称为"Web-based Distributed Authoring and Versioning",它是一个在多用户之间辅助协同编辑和管理在 阅读全文
posted @ 2022-01-05 16:27 二姐1511 阅读(302) 评论(0) 推荐(0) 编辑
摘要:本方案是针对Windows server+IIS7 +asp.net core 2.1的部署方案。当然asp.net core项目一样可部署到其它OS上,还有Durck或Azure 或OpsDev上。如果Linux上,通过Kestrel代理,如果应用使用 Kestrel 服务器,Nginx、Apac 阅读全文
posted @ 2021-11-26 21:08 二姐1511 编辑

点击右上角即可分享
微信分享提示