ASP.NET 5 add WCF service reference

前端 未结 5 2057

In Visual Studio 2015 Preview (Pre Release), how can I add a service reference for a WCF service?

5条回答
  •  忘掉有多难
    2020-12-01 06:01

    Another potential way of doing this that has worked for me is to simply add a dll project to the solution and add the service ref here as you normally would - include the dll in the MVC project and ref for the services.

    You just need to copy the contents of app.config to the mvc projects own app.config - yes, app.config, not web.config.

    Done

提交回复
热议问题