当前位置:MCTS(70-515)题库

问题:

[单选]

You are implementing an ASP.NET MVC 2 Web application that contains several folders. The Views/Shared/DisplayTemplates folder contains a templated helper named Score.ascx that performs custom formatting of integer values. The Models folder contains a class named Player with the following definition.

You need to ensure that the custom formatting is applied to LastScore values when the HtmlHelper.DisplayForModel method is called for any view in the application that has a model of type Player. What should you do?()

A . Rename Score.ascx to LastScore.ascx.
B . Move Score.ascx from the Views/Shared/DisplayTemplates folder to theViews/Player/DisplayTemplates folder.
C . Add the following attribute to the LastScore property. [UIHint("Score")]
D . Add the following attribute to the LastScore property. [Display(Name="LastScore", ShortName="Score")]

A Windows Communication Foundation (WCF) client uses the following service contract.(Line numbers are included for reference only.) 01 [ServiceContract] 02 public interface IService 03 { 04 [OperationContract] 05 string Operation1(); 06 [OperationContract] 07 string Operation2(); 08 } You need to ensure that all calls to Operation1 and Operation2 from the client are encrypted and signed. What should you do?() Set the ProtectionLevel property in line 01 to EncryptAndSign.。 Set the ProtectionLevel property in line 04 and line 06 to Sign.。 Add a SecurityCriticalAttribute ror each operation.。 Add a SecunitySafeCriticalAttribute for each operation.。 矿体的产状应包括哪些内容? 管理信息系统是个复杂的大系统,对它的分析和研究可采用系统理论中的()。 从社会总产值中扣除生产过程中消耗掉的生产资料价值后的净产值叫()。 国内生产总值。 国民生产净值。 国民收入。 国民生产总值。 何谓抗体酶?试述获得抗体酶的主要方法。

You are implementing an ASP.NET MVC 2 Web application that contains several folders. The Views/Shared/DisplayTemplates folder contains a templated helper named Score.ascx that performs custom formatting of integer values. The Models folder contains a class named Player with the following definition.

You need to ensure that the custom formatting is applied to LastScore values when the HtmlHelper.DisplayForModel method is called for any view in the application that has a model of type Player. What should you do?()

参考答案:

  参考解析

本题暂无解析

在线 客服