是否可以使用 .net core 5.0 创建 SOAP 服务?

Is it possible to create SOAP service with .net core 5.0?

我有一个带有 SOAP 服务的 WCF 应用程序需要迁移到 .net 核心才能在 unix 上 运行,而不仅仅是像现在这样在 IIS 上。然而,我发现的唯一例子是在 .net core 2.2 上重写应用程序 whis 不再受支持。 关于如何进行的任何建议?

Is it possible to create SOAP service with .net core 5.0?

您可以创建一个 ASP.NET Web 应用程序(.NET Framework) 来创建 SOAP Web 服务,然后创建一个 asp.net 核心 5.0 应用程序并调用 SOAP 服务。

此外,您也可以尝试使用SoapCore package in the asp.net core 5.0 application, then create the SOAP service. You can refer the SoapCore Getting Started或使用Google搜索“在dotnet core中创建soap web服务”,关于使用SoapCore的教程有很多,您可以查看。