PrepAway - Latest Free Exam Questions & Answers

You need to enable this service to be hosted in IIS by changing the web.config file

You are developing a Windows Communication Foundation (WCF) service that will be
hosted in Microsoft Internet Information Services (IIS) 7.0. The service must be hosted in an
IIS application named Info. You need to enable this service to be hosted in IIS by changing
the web.config file. Which XML segment should you add to the web.config file

PrepAway - Latest Free Exam Questions & Answers

A.
serviceHostingEnvironment > < serviceActivations > <add relativeAddress =” Info.svc ”
service=”Info” /> </ serviceActivations > </ serviceHostingEnvironment >

B.
< serviceHostingEnvironment > < serviceActivations > <add relativeAddress =”Info”
service=” Info.svc ” /> — </ serviceActivations > </ serviceHostingEnvironment >

C.
< serviceHostingEnvironment > < transportConfigurationTypes > <add name=”Info”
transportConfigurationType =” Info.svc ” /> </ transportConfigurationTypes > </
serviceHostingEnvironment >

D.
< serviceHostingEnvironment > < transportConfigurationTypes > <add name=” Info.svc ”
transportConfigurationType =” FileNotRequired ” /> </ transportConfigurationTypes > </
serviceHostingEnvironment >


Leave a Reply