Microsoft TS: Microsoft .NET Framework 2.0 - Web-based Client Development 認定 70-528 試験問題:
1. You are developing a Web application that has two distinct UIs. One UI is targeted to desktop browsers.
The other UI is targeted to mobile devices.
The mobile devices might or might not support cookies and relative URLs.
Users request the Default.aspx page.
You need to redirect users to the appropriate UI, depending on whether they are using a mobile device or a desktop browser.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
A) Add the following node to the <system.web> element of the Web.config file. <httpRuntime useFullyQualifiedRedirectUrl="false" />
B) Add the following code segment to the Page_Load event of Default.aspx. If Request.Browser("IsMobileDevice") = "true" Then Response.Redirect("MobileDefault.aspx") Else Response.Redirect("DesktopDefault.aspx") End If
C) Add the following node to the <system.web> element of the Web.config file. <httpRuntime useFullyQualifiedRedirectUrl="true" />
D) Add the following code segment to the Page_Load event of Default.aspx. If Request.Browser.Type = "MobileDevice" Then Response.Redirect("MobileDefault.aspx") Else Response.Redirect("DesktopDefault.aspx") End If
2. You create a Web Form. The Web Form allows users to calculate values and display the results in a label named lblResults.
You need to capture all unhandled exceptions on the Web Form through the Error event. The Error event must capture each unhandled exception and display it on the Web Form.
Which code segment should you use?
A) protected void Page_Error(object sender, EventArgs e) { Response.Write(e.ToString()); e=null; }
B) protected void Page_Error(object sender, EventArgs e) { lblResults.Text = Server.GetLastError().ToString(); Server.ClearError(); }
C) protected void Page_Error(object sender, EventArgs e) { lblResults.Text = e.ToString(); e=null; }
D) protected void Page_Error(object sender, EventArgs e) { Response.Write(Server.GetLastError().ToString()); Server.ClearError(); }
3. You create a Web Form.
You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
A) Add mobile controls to the Web Form.
B) Add custom controls that emit XHTML to the Web Form.
C) Add custom controls that emit WML to the Web Form.
D) Add Web server controls to the Web Form.
4. You are creating a Microsoft ASP.NET application.
The application contains a Mobile Web Form.
You need to ensure that the Mobile Web Form displays text in different fonts and sizes for all labels based
on the type of the mobile device that browses the Web site.
What should you do?
A) Add a StyleSheet control to the Mobile Web Form. Add a PagerStyle element to the control for each mobile device.
B) Add a DeviceSpecific control to the Mobile Web Form. Add a Filter element for each mobile device in the deviceFilters section of the Web.config file.
C) Add a StyleSheet control to the Mobile Web Form. Add a Style element to the control for each mobile device.
D) Add a DeviceSpecific control to the Mobile Web Form. Add a Choice element for each mobile device in the deviceFilters section of the Web.config file.
5. Your company has test, staging, and production servers. You create a Web setup project to deploy a Microsoft ASP.NET Web application to a target Web server.
You create a Web configuration file for each server.
You need to ensure that when the Web setup installation runs, the correct Web.config file is installed on the target Web server.
You set the condition property of each Web configuration file to TARGET="SERVER" where SERVER is the target server.
What should you do next?
A) *Set the TargetName property of the Web configuration file to Web.config. Install the Web.config file by passing the condition value to the msiexec.exe file along with the compiled output of the Web setup project and the install switch.
B) *Set the TargetName property of the Web configuration file to SERVER.web.config. Install the Web.config file by passing the compiled output of the Web setup project and the install switch to the msiexec.exe file.
C) *Set the TargetName property of the Web configuration file to SERVER.web.config. Install the Web.config file by passing the Web.config file to the msiexec.exe file along with the compiled output of the Web setup project and the install switch.
D) *Set the TargetName property of the Web configuration file to Web.config. Install the Web.config file by passing the compiled output of the Web setup project and the install switch to the msiexec.exe file.
質問と回答:
| 質問 # 1 正解: B、C | 質問 # 2 正解: D | 質問 # 3 正解: A、D | 質問 # 4 正解: B | 質問 # 5 正解: A |














1024 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
