简体   繁体   中英

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.

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.

Hosting WCF services is not supported in .NET Core 2.0. The support libraries allow consuming WCF services, but not hosting.

You can follow this GitHub issue tracking the feature request for server-side WCF:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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