We've got server-side application implemented in ASP.NET Core MVC 1.1.0 that serves web application. Everything works perfectly but we were requested to provide WCF service for third-party client app.
我们已经在ASP中实现了服务器端应用程序。为web应用程序服务的NET Core MVC 1.1.0。一切都很好,但我们被要求为第三方客户端app提供WCF服务。
I know that we could put WCF between app's logic and MVC's api. However, it seems like significant amount of work since the application isn't the smallest one.
我知道我们可以把WCF放在app的逻辑和MVC的api之间。但是,由于应用程序不是最小的,所以看起来工作量很大。
I wonder if it's possible to build WCF service beside MVC and host it as one application on iis.
我想知道是否有可能在MVC之外构建WCF服务,并将其作为一个应用程序托管在iis上。
2 个解决方案
#1
0
That is currently not possible. The WCF app has to be a separate app.
这目前是不可能的。WCF应用必须是一个单独的应用。
#2
1
Microsoft released an extension for visual studio which lets add service reference to asp.net core project. extension is called "Microsoft WCF Web Service Reference Provider"
微软发布了visual studio的扩展,允许向asp.net核心项目添加服务引用。扩展名为“Microsoft WCF Web服务引用提供程序”
Here is the link - https://marketplace.visualstudio.com/items?itemName=WCFCORETEAM.VisualStudioWCFConnectedService
这里是链接——https://marketplace.visualstudio.com/items?
#1
0
That is currently not possible. The WCF app has to be a separate app.
这目前是不可能的。WCF应用必须是一个单独的应用。
#2
1
Microsoft released an extension for visual studio which lets add service reference to asp.net core project. extension is called "Microsoft WCF Web Service Reference Provider"
微软发布了visual studio的扩展,允许向asp.net核心项目添加服务引用。扩展名为“Microsoft WCF Web服务引用提供程序”
Here is the link - https://marketplace.visualstudio.com/items?itemName=WCFCORETEAM.VisualStudioWCFConnectedService
这里是链接——https://marketplace.visualstudio.com/items?