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