What are two possible properties you can use to achieve this goal?
A self-hosted Windows Communication Foundation (WCF) service uses a secure HTTP binding with a custom principal permission mode.
The binding requires users to provide their Windows logon credentials. You need to retrieve the identity of the caller.
What are two possible properties you can use to achieve this goal? (Each correct answer presents a complete solution Choose two)
Which two configuration settings should you add?
You are creating an ASP.NET web application that hosts several Windows Communication Foundation (WCF) services.
The services have ASP.NET Compatibility Mode enabled. Users authenticate with the Web application by using a cookie-based ASP.NET Forms Authentication model.
You add a service file named Authentication.svc that contains the following code segment:
<%@ ServiceHost Service=”System.Web.ApplicationServices.AuthenticationService”
Factory=”System.Web.ApplicationServices.ApplicationServicesHostFactory” %>
You need to ensure that users can access the WCF services without having to re-authenticate.
Which two configuration settings should you add? (Each is part of a complete solution. Choose two.)
What should you use to configure the service?
You have a self-hosted Windows Communication Foundation (WCF) service.
You need to configure the service to provide an X509 certificate during authentication. What should you use to configure the service?
What should you do?
You are creating a Windows Communication Foundation (WCF) service based on WSHttpBinding.
New audit requirements dictate that callers must be authenticated on every call to ensure that their credentials have not been revoked.
You need to ensure that the service will not cache the security request token. What should you do?
What should you do?
The endpoint of a Windows Communication Foundation (WCF) service uses basicHttpBinding for its binding.
Your company’s policies have changed to require that messages not be sent in clear text.
You must ensure that all messages are encrypted when traveling across the network. What should you do?
Which binding element should you use?
You are using Windows Communication Foundation (WCF) to create a service.
You need to implement a custom message-level security binding element. Which binding element should you use?
Which class should you use?
A Windows Communication Foundation (WCF) service sends notifications when the service is started and stopped.
You need to implement a client that logs these notifications. Which class should you use?
How should you use WCF Discovery to accomplish this?
You are implementing a Windows Communication Foundation (WCF) client application that consumes the ICatalog and lCatalog2 service interfaces.
You need to ensure that the client discovers services implementing these interfaces.
The services may already be online or may come online within a 30 second time limit. How should you use WCF Discovery to accomplish this?
What should you do?
An ASP.NET application hosts a RESTful Windows Communication Foundation (WCF) service at /Services/Contoso.svc.
The service provides a JavaScript resource to clients. You have an explicit reference to the JavaScript in your page markup as follows.
<script type=”text/javaScript” src=”/Services/Contoso.svc/js” />
You need to retrieve the debug version of the service JavaScript. What should you do?
What should you change in the configuration file’?
A Windows Communication Foundation (WCF) client communicates with a service.
You created the client proxy by using Add Service Reference in MS Visual Studio.
You need to ensure that the client accepts responses of up to 5 MB in size. What should you change in the configuration file’?