24h購物| | PChome| 登入
2011-01-29 09:15:04| 人氣118| 回應0 | 上一篇 | 下一篇

Examsoon分享70-515考試資料(考古題)

推薦 0 收藏 0 轉貼0 訂閱站台

70-515考試資料

TS: Web Apps Development with MS .NET Framework 4

科目編號:70-515

科目名稱:TS: Web Apps Development with MS .NET Framework 4

語言(s):英語

考生:開發人員

技術: Microsoft Visual Studio 2010

類型:監考考試

70-515 考試是Microsoft 認證的 TS: Web Apps Development with MS .NET Framework 4 認證考試官方代號,TS: Web Apps Development with MS .NET Framework 4 認證作爲全球IT領域專家 Microsoft 熱門認證之壹,是許多大中IT企業選擇人才標准的必備條件。

 

TS認證是業界最廣泛認可的IT技術認證之一,也是業界最權威、最受尊敬的認證之一。獲得70-515認證不僅僅能證明您的IT技術能力,更是您進入職場的敲門磚,也是提高您身價的另一捷徑。

Examsoon認證考試題庫-始終致力與爲客戶提供Microsoft認證的全真考題及認證學習資料,助您壹次通過Microsoft認證考試。

70-515考古題問答賞析:

 

Exam : Microsoft 70-515

Title : Web Apps Development with MS .NET Framework 4

 

1.You are implementing an ASP.NET application that uses data-bound GridView controls in multiple pages. You add JavaScript code to periodically update specific types of data items in these GridView controls. You need to ensure that the JavaScript code can locate the HTML elements created for each row in these GridView controls, without needing to be changed if the controls are moved from one pa to another. What should you do?

A. Replace the GridView control with a ListView control.

B. Set the ClientIDMode attribute to Predictable in the web.config file.

C. Set the ClientIDRowSuffix attribute of each unique GridView control to a different value.

D. Set the @ OutputCache directive’s VaryByControl attribute to the ID of the GridView control.

Answer: C

2.You are implementing an ASP.NET application that includes a page named TestPage.aspx.

TestPage.aspx uses a master page named TestMaster.master. You add the following code to the

TestPage.aspx code-behind file to read a TestMaster.master public property named CityName.

protected void Page_Load(object sender, EventArgs e).

{ string s = Master.CityName;.

} You need to ensure that TestPage.aspx can access the CityName property. What should you do?

A. Add the following directive to TestPage.aspx. <%@ MasterType VirtualPath="~/TestMaster.master" %>

B. Add the following directive to TestPage.aspx. <%@PreviousPageType

VirtualPath="~/TestMaster.master" %>

C. Set the Strict attribute in the @ Master directive of the TestMaster.master page to true.

D. Set the Explicit attribute in the @ Master directive of the TestMaster.master page to true.

Answer: A

3.You are implementing an ASP.NET MVC 2 Web application that allows users to view and edit data.

You need to ensure that only logged-in users can access the Edit action of the controller.

What are two possible attributes that you can add to the Edit action to achieve this goal? (Each correct

answer presents a complete solution. Choose two.)

A. [Authorize(Users = "")]

B. [Authorize(Roles = "")]

C. [Authorize(Users = "*")]

D. [Authorize(Roles = "*")]

Answer: AB

4. You are implementing an ASP.NET MVC 2 Web application. A controller contains the following code. Function Edit(ByVal id As Integer) As ActionResult Return View(SelectUserToEdit(id)) End Function Function Edit(ByVal person As Person) As ActionResult UpdateUser(person) Return RedirectToAction("Index") End Function The first Edit action displays the user whose details are to be edited, and the second Edit action is called when the Save button on the editing form is clicked to update the user details. An exception is thrown at run time stating that the request for action Edit is ambiguous. You need to correct this error and ensure that the controller functions as expected. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

A. Add the following attribute to the first Edit action.

<AcceptVerbs(HttpVerbs.Head)>

B. Add the following attribute to the first Edit action.

<HttpGet()>

C. Add the following attribute to the second Edit action.

<HttpPost()>

D. Add the following attribute to the second Edit action.

<HttpPut()>

Answer: BC

分享更多證照考試科目代碼:

220-612

台長: passquick
人氣(118) | 回應(0)| 推薦 (0)| 收藏 (0)| 轉寄
全站分類: 不分類 | 個人分類: microsoft |
此分類上一篇:Examsoon分享70-646證照考試題庫

是 (若未登入"個人新聞台帳號"則看不到回覆唷!)
* 請輸入識別碼:
請輸入圖片中算式的結果(可能為0) 
(有*為必填)
TOP
詳全文