Dabbas
Dabbas

Reputation: 3230

How to consume WCF service in ASP.NET Core 1 adn VSCode editor?

I'm using VSCode editor from Microsoft to build my first ASP.NET Core 1.0 eb app, my problem now how can I consume external WCF service in this App ?
I read that using VS 2015 I can add an extension to build the client of WCF, but how to do it using VSCode or any other editor ?.

Upvotes: 2

Views: 803

Answers (1)

Anuraj
Anuraj

Reputation: 19598

Yes you can't use the extension with VSCode. Instead you can do a hack, you can download the VSIX file from Visual Studio Gallery. Rename it as ZIP, extract it. In the extracted folder, under svcutil folder, you can find dotnet-svcutil.exe, where you can specify the URL and other options to generate code.

Upvotes: 2

Related Questions