简体   繁体   English

我可以在较旧的MVC3应用程序中运行OWIN中间件吗

[英]Can I run OWIN Middleware in an older MVC3 application

We are specifically trying to run SignalR in an older MVC3 application. 我们专门尝试在较旧的MVC3应用程序中运行SignalR。 We went down to v1.2 and it still throws an obsolete exception on the MapConnection method and wants to use AppBuild.MapConnection instead. 我们降至v1.2,它仍然在MapConnection方法上引发过时的异常,而是想改用AppBuild.MapConnection。

Is there a way to run SignalR in Owin in an older MVC3 application? 有没有办法在较旧的MVC3应用程序中的Owin中运行SignalR? It need not be SignalR really, any Owin middleware will do 不一定是SignalR,任何Owin中间件都可以

unfortunately there is no out of the box method that can provide Owin for MVC 3, however there are some frameworks which can help you out: NaNcy , Simple Web 不幸的是,没有可以为MVC 3提供Owin的现成方法,但是有一些框架可以为您提供帮助: NaNcySimple Web

hope they will help you to achieve what oyu wanted :) 希望他们会帮助您实现oyu想要的:)

BR BR

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM