[英]Is it possible to use WCF in a .Net Core 2 console application?
I haven't problems for .Net Framework, but I need to use WCF in .NET Core 2. I need to host WCF services in my console application. 我对.Net Framework没问题,但是我需要在.NET Core 2中使用WCF。我需要在控制台应用程序中托管WCF服务。
On the base of this post I assume that it is possible in .NET Core 2 but I can't find any info how to do it in .NET Core 2. I would be very grateful for the links to expanded info. 在这篇文章的基础上,我假设在.NET Core 2中是可能的,但是我找不到在.NET Core 2中如何做的任何信息。对于扩展信息的链接,我将不胜感激。
Hosting WCF services is not supported in .NET Core 2.0. .NET Core 2.0不支持承载WCF服务。 The support libraries allow consuming WCF services, but not hosting.
支持库允许使用WCF服务,但不能托管。
You can follow this GitHub issue tracking the feature request for server-side WCF: 您可以按照此GitHub问题跟踪服务器端WCF的功能请求:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.