Run Asp.Net Mvc as OWIN middleware?

前端 未结 4 1062
执念已碎
执念已碎 2020-12-10 01:34

Is it possible to run Asp.Net Mvc as OWIN middleware? What is necessary for this? I can\'t seem to find anything about this but I have no idea why it wouldn\'t be possible.<

相关标签:
4条回答
  • 2020-12-10 01:45

    Checkout project Helios. Possibly fill the need.

    0 讨论(0)
  • 2020-12-10 01:46

    No, MVC depends on System.Web.dll (and thus IIS).

    0 讨论(0)
  • 2020-12-10 01:49

    You may look at Katana.Boot.AspNet but as Chris Ross said it's just a "hello world" prototype without any futher development. Also you may look at OWIN Gate's era ASP.NET pipeline adapter.

    0 讨论(0)
  • 2020-12-10 01:53

    Currently ASP.NET MVC doesn't run on OWIN. Web API will because it's been decoupled from System.Web, specifically HttpContext. This is the main dependency that prevents MVC from running on OWIN as well.

    Some alternatives that do run on OWIN are FubuMVC, Nancy and Simple.Web

    0 讨论(0)
提交回复
热议问题