70-513 · Question #214
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…
The correct answer is A. In the system web.extensions/scripting/webServices/authenticationService element, set the C. Add a service endpoint with basicHttpBinding for the contract System.WebApplicationServices. See the full explanation below for the reasoning.
Question
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 ASR NET Forms Authentication model. You add a service tile named Authentication. svc that contains the following code segment:
<%@ SenviceHost Servicee"System Web Application Services Authentication Service"Factory="System.Web.ApplicationServices.AppicationServicesHostF actory' %>. 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.)
Options
- AIn the system web.extensions/scripting/webServices/authenticationService element, set the
- BIn the system web.extensions/scripting/webServices/profileService element, set the enabled
- CAdd a service endpoint with basicHttpBinding for the contract System.WebApplicationServices.
- DAdd a custom service behavior named AuthenticationServiceTypeBehaviors with a
How the community answered
(31 responses)- A77% (24)
- B13% (4)
- D10% (3)
Community Discussion
No community discussion yet for this question.