Search code examples
azure-functionswcf-client

How to call WCF in Azure Function?


Is there step-by-step example how to implement WCF client proxy in Azure Function? I read that we can't consume WCF directly in Azure Function and need to add it first to a class library project. The latest example I found was written in 2017. Is there a more recent example utilizing Visual Studio 2019?


Solution

  • Here's the example tutorial: Calling WCF client proxies in Azure Functions:

    • In this post we will show you how to use a generated WCF client proxy from an Azure Function.

    There isn't an example which written with Visual Studio 2019. In usually, the code is same in VS 2017 and 2019. Visual Studio is just a IDE tool, it won't affect the code changing and running.

    Just need note the feature difference in different versions, ref: http://www.webdevelopmenthelp.net/2015/09/new-features-in-visual-studio-2015.html.

    HTH.