Reputation: 11
Azure function calling an asmx WCF; methods work.
Adding security to the WCF (username, password) works from Postman.
I would like to enable the Basic Authentication on the Service.
How do you add on the Azure Function client contract to the WCF adding in the WCF username and password.
Either using a Certificate or simple username/password security.
(Side question; previos dev named the project "my app" with a space; what is the syntax in config file for name to use a space in the project name)
Upvotes: 1
Views: 158
Reputation: 578
Here's the example for adding on the client: Calling WCF client proxies in Azure Functions
Also adding in the WCF username and password you can refer to:How to Authenticate with a User Name and Password
Thanks.
Upvotes: 1