简体   繁体   English

OWin是否支持WCF?

[英]Does OWin support WCF?

I have ac# project that exposes services via WebApi and also via WCF. 我有一个ac #project,它通过WebApi和WCF公开服务。 It works under IIS. 它在IIS下运行。 Now I need to offer it as self host solution. 现在我需要提供它作为自主主机解决方案。 I cannot find documentation about Owin and how to expose WCF services. 我找不到关于Owin的文档以及如何公开WCF服务。 Does OWin support WCF? OWin是否支持WCF?

I think the question should be the other way around. 我认为问题应该是另一种方式。 Does WCF support OWIN? WCF是否支持OWIN?

As I understand, OWIN offers the infrastructure needed to abstract away the web server. 据我了解,OWIN提供了抽象Web服务器所需的基础设施。 However, whatever framework you want to use on it must have an OWIN implementation, which I think WCF does not. 但是,无论你想在其上使用什么框架都必须有一个OWIN实现,我认为 WCF没有。

Nonetheless, you can still offer a self hosted application using OWIN or WebApi SelfHost for WebApi combining with a Self Hosted solution for the WCF as described in the documentation for WCF -> http://msdn.microsoft.com/en-us/library/ee939340.aspx 尽管如此,您仍然可以使用OWIN或WebApi SelfHost for WebApi提供自托管应用程序,并结合WCF的自托管解决方案,如WCF文档中所述 - > http://msdn.microsoft.com/en-us/library /ee939340.aspx

WCF is not supported on OWIN at this point of time. 此时OWIN不支持WCF。 Owin.org > Projects has information on the supported frameworks on OWIN. Owin.org > Projects提供有关OWIN支持的框架的信息。

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

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