You write a Web application. This application must support multiple languages. You store the localized strings in the application as resources. You want these resources to be accessed according to a users language preference. You create the following resource files in the App_GlobalResources folder of your application. myStrings.resx myStrings.en-CA.resx myString.en-US.resx myStrings.fr-CA.resx myStrings.es-MX.resxEach resource file stores a localized version of the following strings: Name, E-mail, Address, and Phone. You create a Web Form that contains one label for each of these strings. You need to ensure that the correct localized version of each string is displayed in each label, according to a users language preference. What should you do? ()
第1题:
Your team creates a Web site. The Web site needs to be deployed to a staging server for performance testing. You plan to make a number of performance enhancements and then retest. You need to compile and copy the Web site to the staging server. What should you do? ()
第2题:
You are implementing a Web page that displays text that was typed by a user. You need to display the user input in the Web page so that a cross-site scripting attack will be prevented. What should you do?()
第3题:
Certkiller.com has employed you as a system administrator. Your job function encompassescreating an ASP.NET application for the network. You make use of Microsoft .NET Frameworkv3.5 to creaste the application. You receive a request from management to capture the timing and performance data of the newlycreated application. For security purposes you need to make sure that he data is only availablewhen a Certkiller user is logged on to the Web server and not on individual Web pages. What should you do?()
第4题:
You create a Web application. You need to turn on Tracing for a page that is not performing well. You must store the trace information in a database for reporting and trending. Which two actions should you perform? ()
第5题:
You create a Web application. The Web application enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. You need to raise a custom event to track each change that is made to a user profile so that you can locate the error. Which event should you use?()
第6题:
Oracle Web Grid
ActiveCache
Coherence Grid Edition
WebLogic Session Replication
Coherence Web Edition
第7题:
Add the ID attribute to the Label control.
Add the ID attribute to the TextBox control.
Use the Bind function for the Label control instead of the Eval function.
Use the Eval function for the TextBox control instead of the Bind function.
第8题:
Use Forms authenticationto generate claims.
Use Active Directory Federation Services (AD FS) to generate claims.
Use SqlMembershipProvider in the web application.
Use Windows Identity Foundation in the web application.
第9题:
Add a TraceContextEventHandler to the Trace.TraceFinished event to add the trace records into the database.
Add a system.diagnostics section to the Web.config file. Then add a listener to the new section.
Use the System.Diagnostics.Trace object to connect to a database. Then insert the trace records.
In the Page_Load for the page, place the Trace.Write call into a SQL INSERT statement.
第10题:
第11题:
You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()
第12题:
You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()
第13题:
You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to develop a new control for the application. You need to ensure that the control extends the DataGridView control by allowing the cells to contain multicolored text. What should you do?()
第14题:
You are developing a Web application. The Web application restricts access to an administrative page. The Web application uses the following code segment to protect the page.if (Page.User.Identity.Name != @"CONTOSO/Administrator") { the page, you are redirected to Login.aspx. You discover that the User.Identity.Name property is not being correctly populated. You need to ensure that you can access the page when you are logged on as Administrator. Which two actions should you perform? ()
第15题:
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You use the ClickOnce deployment methodology to distribute the application. You need to store application-specific data along with read/write permissions without requiring elevated permissions for the application. Where should you store the application data?()
第16题:
In isolated storage.
On the database server.
In the ClickOnce data directory.
In the App.config file of the application.
第17题:
In the Web.config file of the application,set the Theme attribute of the pages element to the name of the theme.
In the Web.config file of the application,set the StyleSheetThemeattribute of the pages element to the name of the theme.
Add a master page to the application. In the @Master directive,set the Theme attribute to the name of the theme.
Add a master page to the application. In the @Master directive,set the StyleSheetTheme attribute to the name of the theme.
第18题:
AjaxHelper
XDocument
JsonResult
DataContractJsonSerializer
第19题:
Persist control data by using view state.
Use Web Part controls.
Maintain a profile for each user.
Enable session state on the Web application.