70-528 無料問題集「Microsoft TS: Microsoft .NET Framework 2.0 - Web-based Client Development」

You create a Web site. At the top of every page on the site is the following code segment.
<%@ OutputCache Duration="60" VaryByParam="none" %>
You need the pages to display the current user's name at the top without turning off the output cache.
Which control should you use?

You are developing a Microsoft ASP.NET application that will include Web Forms. Some of the Web Forms will use a master page.
You need to ensure that when an ASP.NET exception is raised, the application logs error messages to a central error log.
In which event handler should you place the code to log the error messages?

You are developing a Microsoft ASP.NET Web application. The application uses methods of the Trace
class.
You add a TextWriterTraceListener class to the Listeners collection that writes trace messages to a log file.
You need to ensure that the following requirements are met:
The trace messages are written to the TextWriterTraceListener class.
The trace output is accessible only by using the Trace Viewer or by viewing the log file.
Which trace element should you add to the configuration file of the application?

You are creating a Microsoft ASP.NET Web site.
The Web site allows users to select a theme that is applied to all pages they visit. The selected theme is stored in a profile property named Theme.
You create a Web Form that contains the following code segment. (Line numbers are included for reference only.)
01 public partial class _Default : System.Web.UI.Page {
02 ...
03 }
You need to ensure that the selected theme is applied to the page.
Which code segment should you use?

You are creating a Microsoft ASP.NET Web application. The application connects to a remote Microsoft
SQL Server database.
You need to ensure that the Web application can be deployed to a remote Web server.
You also need to ensure that the Web application does not contain the source code and markup in user
controls during deployment.
What should you do?

You create a Web site. At the top of every page on the site is the following code segment.
<%@ OutputCache Duration="60" VaryByParam="none" %>
You need the pages to display the current user's name at the top without turning off the output cache.
Which control should you use?

You write a class to interact with a database. The class uses a SqlConnection instance.
You need to detect when the state of the connection has been modified.
What should you do?

You have a Web site that uses a Microsoft ASP.NET membership provider. You use a Login control named Login1 to authenticate users.
You create a method named GetData.
You need to call GetData when a user is authenticated.
Which code segment should you use?

You have a Microsoft ASP.NET Web site.
The site allows users to select a theme to use while they are browsing the site.
You need to ensure that the selected theme is applied only to pages browsed during the user's current visit.
Where should you store the selected theme?

You create a Microsoft ASP.NET Web application. The application contains a Mobile Web Form.
You need to ensure that the Mobile Web Form can display a large volume of text across multiple pages.
What should you do?

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡