Reputation: 18577
Currently we have an ASP.NET MVC 5 website hosted in IIS. This MVC application also contains a WCF service (.svc), which is also hosted in IIS. The advantage is that we can use the same logic/services for the ASP.NET MVC website as for the WCF service. (see: https://learn.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-host-a-wcf-service-in-iis )
Now there seems to be a move from ASP.NET MVC to ASP.NET Core MVC.
Question: is it still possible to host a WCF service in an ASP.NET Core MVC application, similar as what I've described above or should you stick with ASP.NET MVC 5 + WCF?
Upvotes: 0
Views: 585
Reputation: 18577
It does not seem possible to host a wcf service inside asp.net core mvc application directly. asp.net core mvc is still limited and under development. Best way seems to still stick with asp.net mvc 5...
Update: github tracking info: https://github.com/dotnet/wcf/issues/3139#issuecomment-417101129
Upvotes: 1