题目
A. Set the Collection type to ObservableCollection.
B. Select the Reuse types in all referenced assemblies option.
C. Select the Generate asynchronous operations option.
D. Select the Always generate message contracts option.
第1题
第2题
A.
B.
C.
D.
第3题
B.When creating info records
C.When creating a purchase order
D.When creating contracts
第4题
You are creating an application that consumes a Windows Communication Foundation (WCF) service. The service implements the IService contract. The client application contains the CallbackHandler class, which implements IServiceCallback.You need to ensure that a client proxy is created that can communicate with the service over a duplex channel.Which code segment should you use?()
A.
B.
C.
D.
第5题
A.NetTcpContextBinding
B. BasicHttpContextBinding
C. NetTcpBinding
D. NetMsmqBinding
第6题
A.
B.
C.
D.
第7题
第8题
A.
B.
C.
D.
第9题
If you associate with such people, I‘ m afraid you ________serious trouble.
A.are heading for
B.are making
C.are avoiding
D.are creating
第10题
You are creating a Windows Communication Foundation (WCF) service that uses claims-based authorization. The following code retrieves the correct claim set.var claims = ServiceSecurityContext.Current.AuthorizationContext.ClaimSets[0];You need to validate that the requesting client application has included a valid DNS value in the claim.Which code segment should you use to retrieve the claim for validation?()
A. claims.FindClaims(ClaimTypes.Dns, Rights.PossessProperty).FirstOrDefault();
B. claims.FindClaims(ClaimTypes.Dns, Rights.Identity).FirstOrDefault();
C. claims.ContainsClaim(Claim.CreateDnsClaim(ClaimTypes.Dns));
D. claims.Equals(ClaimTypes.Dns);
第11题
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?()
A. Apply a ServiceBehavior attribute to the service implementation class with the lnstanceContextMode property set to Single.
B. In the message security configuration, change clientCredentialType from lssuedToken to UserName
C. In the message security configuration, set establishSecurityContext to false.
D. At the end of every operation, call the SessionStateUtility.RaiseSessionEnd method.
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!