Referencing system.web.cors

前端 未结 4 1645
梦毁少年i
梦毁少年i 2021-02-06 23:42

I\'m trying to implement cors support in my Web API.

I have read a couple of blog posts on this topic, but I can\'t seem to find System.Web.Cors.dll or System.Web.Http.C

4条回答
  •  花落未央
    2021-02-06 23:50

    According to this thread, you can get it using nightly builds of ASP.NET using nuget (see instructions here). But it sounds like it is only compatible with v5 of System.Web.Http so you'll potentially need to get that also. That is certainly not RTM so you'd have to be comfortable with that.

提交回复
热议问题