
The user credentials dialog box is presented. net core console application (NetCoreDemoServiceClient) using the WCF Service Reference tool. By default, VS configures the service to expose metadata over HTTP, line 32. Notice in particular the configuration settings for the binding in lines 20-26 in the web.config file above. In order for my service to work with this server configuration, it must be configured with transport security, I edited the service configuration as follows: I deployed the service to my local IIS, and configured it with Digest authentication using the IIS Management Console, as illustrated in the picture below. To illustrate let’s step through an example: I have created a simple WCF Service Application (DemoWebService) using Visual Studio 2017. In this article, we will demonstrate the new IIS Authentication feature in the WCF Web Service Reference tool and how it is related to the web service authentication feature in WCF. If authentication is enabled at both levels, the same type of authentication must be used. We need to differentiate between these two levels of authentication the MEX authentication is usually processed by the server’s pipeline (IIS) while other service requests are authenticated by the web service host’s pipeline (WCF). Still, there are cases in which the metadata might be considered sensitive information and so the MEX endpoint must also be secured, allowing only authorized clients to discover the service capabilities.

This is not a problem in general as the actual service resources can be exposed on secured endpoints.


The purpose of MEX endpoints is to allow clients to discover the service capabilities, including security aspects of the service, and usually this endpoint can be accessed by an anonymous request.
VISUAL STUDIO 2017 DOWNLOAD FROM WEBSITE WIRTH PASSWORD UPDATE
With the recent update to the WCF Service Reference tool in the VS Marketplace, support has been added for downloading metadata for a web service where the metadata exchange (MEX) endpoint has been secured with IIS authentication.
