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)()A、Thread.CurrentPrincipal.Identity.NameB、HttpContext.Current.User.Identity.NameC、ServiceSecurityContext.Current.PrimaryIdentity.NameD、OperationContext.Current.ServiceSecurityContext.PrimaryIdentity.Name

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)()

  • A、Thread.CurrentPrincipal.Identity.Name
  • B、HttpContext.Current.User.Identity.Name
  • C、ServiceSecurityContext.Current.PrimaryIdentity.Name
  • D、OperationContext.Current.ServiceSecurityContext.PrimaryIdentity.Name

相关考题:

Windows XP是()的换代产品。 A.Windows 98B.Windows MEC.Windows 2003D.Windows 2000

按操作系统发布的先后顺序,正确的是A、Windows95、Windows98、Dos、windows XPB、Windows95、Windows98、WindowsXP、DosC、Dos、Windows95、Windows98、windowsXPD、Dos、WindowsXP、Windows95、Windows98

操作系统是计算机系统中最重要、最基本的系统软件,在PC市场Windows系列操作系统一直占主导地位。在下列Windows操作系统中,从时间来看发布的顺序是A.Windows 98→Windows Me→Windows Vista→Windows XPB.Windwos 7→Windows 2000→Windows XP→Windows VistaC.Windows 98→Windows XP→Windows Vista→Windows 7D.Windows 7→Windows 98→Windows XP→Windows NT

Windows9X系列,包括Windows95,Windows98,()以及WindowsMe。 A.Windows2000B.WindowsNTC.Windows98seD.windows3.x

(37)操作系统是计算机系统中最重要、最基本的系统软件,在 PC 市场Windows系列操作系统一直占主导地位。在下列Windows操作系统中,从时间来看发布的顺序是A)Windows 98→Windows Me→Windows Vista→Windows XPB)Windwos 7→Windows 2000→Windows XP→Windows VistaC)Windows 98→Windows XP→Windows Vista→Windows 7D)Windows 7→Windows 98→Windows XP→Windows NT

following code segment.[ServiceContract]public interface ICustomerService{...}public class CustomerService : ICustomerService{...}The service is self-hosted in a console application. Older client applications access the service at http://contoso.com:8080/CustomerService/V1.Newer client applications access the service at http://contoso.com:8080/CustomerService/V2.You need to ensure that any client application can access the service at either address.Which code segment should you use?()A.B.C.D.

Windows Communication Foundation (WCF) service is self-hosted in a console application. The service implements the lTimeService service interface in the TimeService class.You need to configure the service endpoint for HTTP communication. How should you define the service and endpoint tags?()A.B.C.D.

A Windows Communication Foundation (WCF) service is self-hosted in a console application. The service implements the IDataAccess contract, which is defined in the MyApplication namespace. The service is implemented in a class named DataAccessService which implements the IDataAccess interface and also is defined in the MyApplication namespace. The hosting code is as follows. (Line numbers are included for reference only.)01 static void Main(string[] args)02 {03 ServiceHost host;04 ...05 host.Open();06 Console.ReadLine();07 host.Close();08 }You need to create a ServiceHost instance and assign it to the host variable. You also need to instantiate the service host.Which line of code should you insert at line 04?()A. host = new ServiceHost(MyApplication.DataAccessService);B. host = new ServiceHost(MyApplication.DataAccess);C. host = new ServiceHost(typeof(IDataAccess));D. host = new ServiceHost(typeof(DataAccessService));

Windows包括Windows 95、Windows 98 Windows NT、Windows 2000以及Windows XP等多个操作系统产品。 ( )此题为判断题(对,错)。

什么版本的Windows可以被升级到Windows 2000 rofessional?A.只有Windows 95和Windows98B.只有Windows NT 4.0 Workstations和Windows 98C.只有Windows NT 3.51及4.0 Workstations和Windows 98D.Windows NT 3.51及4.0 Workstations、Windows 95和Windows 98都可以被升级到Windows 2000 rofessional

你想配置一台新的电脑来进行软件的兼容性测试。这台计算机需要能够在windows 7、windows XP、和windows Vista操作系统里启动。下列哪一个安装操作系统的顺序不必使用BCDedit工具编辑启动项就能够满足你的目标?() A.Windows 7,Windows XP,Windows VistaB.Windows Vista,Windows 7,Windows XPC.Windows XP,Windows 7,Windows VistaD.Windows XP,Windows Vista,Windows 7

Windows XP Home Edition的升级安装只能在()。A、Windows 98B、Windows MEC、Windows 2000D、Windows 98/ME

Which of the following Windows versions includes Windows Defender, by default?()A、Windows Vista Home PremiumB、Windows 2000 ProfessionalC、Windows XP ProD、Windows XP Pro x64E、Windows Vista Pro

Windows XP是()的换代产品。A、Windows 98B、Windows MEC、Windows 2003D、Windows 2000

以下哪个不是windows2000的版本()。A、Windows2000ProfessionalB、windows2000ServerC、Windows2000AdvancedServerD、windows2000Datacenter

你想配置一台新的电脑来进行软件的兼容性测试。这台计算机需要能够在windows 7、windows XP、和windows Vista操作系统里启动。下列哪一个安装操作系统的顺序不必使用BCDedit工具编辑启动项就能够满足你的目标?()A、Windows 7,Windows XP,Windows VistaB、Windows Vista,Windows 7,Windows XPC、Windows XP,Windows 7,Windows VistaD、Windows XP,Windows Vista,Windows 7

2001年,Windows发布了()。A、Windows NTB、Windows 98C、windows XPD、Windows 7

Internet cookies are lost when upgrading from Windows 98 or Windows Me to Windows XP. What is the MOST likely cause?()A、Internet Explorer cookies from Windows 98 or Windows Me are incompatible with Windows XPB、Internet Explorer 4x was installed prior to upgrading to Windows XPC、Windows XP has a different user profile structure than Windows 98 or Windows Me and the upgrade process does not migrate cookiesD、Windows XP default Internet security option settings delete cookies during upgrades from Windows 98 or Windows Me

Windows9X系列,包括Windows95,Windows98,()以及WindowsMe。A、Windows2000B、WindowsNTC、Windows98seD、windows3.x

()操作系统是在Windows Vista之后开发出来的。A、Windows 7B、Windows XPC、Windows MED、Windows 2003

A Windows Communication Foundation (WCF) service is self-hosted in a console application. The service implements the IDataAccess contract, which is defined in the MyApplication namespace. The service is implemented in a class named DataAccessService which implements the IDataAccess interface and also is defined in the MyApplication namespace. The hosting code is as follows. (Line numbers are included for reference only.) 01 static void Main(string[] args) 02 { 03 ServiceHost host; 04 ... 05 host.Open( ); 06 Console.ReadLine( ); 07 host.Close( ); 08 } You need to create a ServiceHost instance and assign it to the host variable. You also need to instantiate the service host.Which line of code should you insert at line 04?()A、host = new ServiceHost("MyApplication.DataAccessService");B、host = new ServiceHost("MyApplication.DataAccess");C、host = new ServiceHost(typeof(IDataAccess));D、host = new ServiceHost(typeof(DataAccessService));

You have a computer that runs Windows Vista. You need to identify whether the computer can be upgradedto Windows 7.  Which tool should you use?()A、Windows Anytime Upgrade for Windows 7.B、Windows Anytime Upgrade for Windows Vista.C、Windows 7 Upgrade Advisor.D、Windows Vista Upgrade Advisor.

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?()A、the Certificate property of the X509 Certificate lnitiator Service Credential classB、the SetCertificate method of the X509 Certificate Initiator Service Credential classC、the SetCertificate method of the X509 Certificate Recipient Service Credential classD、the TrustedStoreLocation property of the X509 Certificate Recipient Service Credential class

单选题Internet cookies are lost when upgrading from Windows 98 or Windows Me to Windows XP. What is the MOST likely cause?()AInternet Explorer cookies from Windows 98 or Windows Me are incompatible with Windows XPBInternet Explorer 4x was installed prior to upgrading to Windows XPCWindows XP has a different user profile structure than Windows 98 or Windows Me and the upgrade process does not migrate cookiesDWindows XP default Internet security option settings delete cookies during upgrades from Windows 98 or Windows Me

单选题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?()Athe Certificate property of the X509 Certificate lnitiator Service Credential classBthe SetCertificate method of the X509 Certificate Initiator Service Credential classCthe SetCertificate method of the X509 Certificate Recipient Service Credential classDthe TrustedStoreLocation property of the X509 Certificate Recipient Service Credential class

单选题对Windows系列的操作系统发展中,()。AWindows ME是Windows 98的升级版本,Windows XP是Windows ME的升级版本BWindows ME是Windows 98的升级版本,Windows XP是Windows 2000的升级版本CWindows XP是Windows 98的升级版本,Windows 2000是Windows XP的升级版本DWindows XP是Windows 98的升级版本,Windows 2000是Windows ME的升级版本

多选题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)()AThread.CurrentPrincipal.Identity.NameBHttpContext.Current.User.Identity.NameCServiceSecurityContext.Current.PrimaryIdentity.NameDOperationContext.Current.ServiceSecurityContext.PrimaryIdentity.Name