网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList. You need to ensure that changes to ProductList are automatically reflected in the ListBox control. What should you do? ()
- A、 Implement the INotifyPropertyChanged interface in the Product class.
- B、 Implement the IQueryable<Product> interface in the ProductList class.
- C、 Extend the DependencyObject class in the Product class.
- D、 Extend the ObservableCollection<Product> class in the ProductList class.
参考答案
更多 “ You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList. You need to ensure that changes to ProductList are automatically reflected in the ListBox control. What should you do? ()A、 Implement the INotifyPropertyChanged interface in the Product class.B、 Implement the IQueryableProduct interface in the ProductList class.C、 Extend the DependencyObject class in the Product class.D、Extend the ObservableCollectionProduct class in the ProductList class.” 相关考题
考题
You create a Microsoft ASP.NET AJAX application by using the Microsoft .NET Frameworkversion 3.5. You attach Microsoft Visual Studio 2008 debugger to the Microsoft Internet Explorer instance to debug the JavaScript code in the AJAX application. You need to ensure that the application displays the details of the client-side object on the debugger console. What should you do?()A、Use the Sys.Debug.fail method. B、Use the Sys.Debug.trace method. C、Use the Sys.Debug.assert method. D、Use the Sys.Debug.traceDump method.
考题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application uses the LINQ ParallelEnumerable. AsParallel method to perform multiple queries on a database. You need to ensure that queries can execute on separate threads concurrently. What should you do? ()A、Use the AsOrdered method.B、Use the SelectMany method.C、Use the AutoBuffered option in the WithMergeOptions method.D、Use the WithExecutionMode method with the ParallelExecutionMode.ForceParallelism parameter.
考题
You create a Microsoft ASP.NET AJAX application by using the Microsoft .NET Framework version 3.5. You attach Microsoft Visual Studio 2008 debugger to the Microsoft Internet Explorer instance to debug the JavaScript code in the AJAX application. You need to ensure that the application displays the details of the client-side object on the debugger console. What should you do?()A、Use the Sys.Debug.fail method.B、Use the Sys.Debug.trace method.C、Use the Sys.Debug.assert method.D、Use the Sys.Debug.traceDump method.
考题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application named MyApp.exe. You use Microsoft Windows Installer to package the application. You create an icon file named Application.ico. You need to associate Application.ico with MyApp.exe when it is deployed. What should you do?()A、Use the File Types Editor tool.B、Rename the icon file to MyApp.exe .ico.C、Set the AddRemoveProgramsIcon property to Application.ico.D、Use the File System Editor tool to set the Icon property to Application.ico.
考题
You have a Microsoft Hyper-V Server 2008 R2 server. You need to join the server to an existing Active Directory Domain Services (AD DS) domain. Which should you use?()A、oc set upB、hvc onfigC、sc configD、net config
考题
You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. The user name and password that is kept by the connection string is stored directly in the code of the application. You want to make sure that the password in the connection string is as protected. What should you do? ()A、 Add the connection string to the Settings.settings file.B、 Add connection string to the Web.config file and use protected configuration.C、 Use the TRUE setting in the Persist Security Info keyword.D、 Use the FALSE setting in the Persist Security Info keyword
考题
You create a Web site. The Web site has many predefined roles and associated users that will be used for security purposes. You need to manage these roles and user accounts. Which tool should you use? ()A、the Microsoft .NET Framework Configuration toolB、the Code Access Security Policy toolC、the ASP.NET IIS Registration toolD、the Web Site Administration Tool
考题
You have a Microsoft ASP.NET Framework version 1.0 application. The application does not use any features that are deprecated in the Microsoft .NET Framework version 3.5. The application runs on Microsoft IIS 6.0. You need to configure the application to use the ASP.NET Framework version 3.5 without recompiling the application. What should you do?()A、Edit the ASP.NET runtime version in IIS 6.0. B、Edit the System.Web section handler version number in the machine.config file. C、Add the requiredRuntime configuration element to the Web.config file and set the version attribute to v3.5. D、Add the supportedRuntime configuration element in the Web.config file and set the version attribute to v3.5.
考题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to implement a test strategy for the application. You need to ensure that the test strategy meets the following requirements: Test data can be added to the test project without recompiling. Multiple variations of a test can be executed at run time. What should you do? ()A、Use IntelliTrace.B、Use data-driven tests.C、Create a single test class.D、Create a test method for each data variation.
考题
You create a Microsoft Windows Installer file for a Windows Presentation Foundation (WPF) application that requires Microsoft .NET Framework 4. You need to ensure that the installation starts only if .NET Framework 4 is already installed on the computer. What should you do?()A、Use a custom action.B、Set the MinVersion property to .NET Framework 4.C、Set the Version property of Windows Installer to .NET Framework 4.D、Set the Version property of the Launch Condition to .NET Framework 4.
考题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You need to ensure that the application meets the following requirements: Displays a menu that is specific to the control selected by the user. Displays the menu next to the control. Which control should you use? ()A、MenuB、PopUpC、ListBoxD、ContextMenu
考题
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application uses Session objects. You are modifying the application to run on a Web farm. You need to ensure that the application can access the Session objects from all the servers in the Web farm. You also need to ensure that when any server in the Web farm restarts or stops responding, the Session objects are not lost. What should you do?()A、Use the InProc Session Management mode to store session data in the ASP.NET worker process. B、Use the SQLServer Session Management mode to store session data in a common Microsoft SQL Server 2005 database. C、Use the SQLServer Session Management mode to store session data in an individual database for each Web server in the Web farm. D、Use the StateServer Session Management mode to store session data in a common State Server process on a Web server in the Web farm.
考题
You have a Microsoft ASP.NET Framework version 1.0 application. The application does not use any | English | Chinese | Japan | Korean | - 106 - Test Information Co., Ltd. All rights reserved. features that are deprecated in the Microsoft .NET Framework version 3.5. The application runs on Microsoft IIS 6.0. You need to configure the application to use the ASP.NET Framework version 3.5 without recompiling the application. What should you do?()A、Edit the ASP.NET runtime version in IIS 6.0.B、Edit the System.Web section handler version number in the machine.config file.C、Add the requiredRuntime configuration element to the Web.config file and set the version attribute to v3.5.D、Add the supportedRuntime configuration element in the Web.config file and set the version attribute to v3.5.
考题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You need to ensure that users can view content in a book-reading format that displays two pages at a time. Which control should you use?()A、FlowDocumentB、FlowDocumentReaderC、FlowDocumentPageViewerD、FlowDocumentScrollViewer
考题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You discover that when the application runs, a user control is not rendered correctly. You need to find out the user interface (UI) element of the window that is causing the rendering problem. What should you do?()A、Use the Local Window.B、Use the WPF Visualizer.C、Generate a trace log by using IntelliTrace.D、Set a breakpoint at the control. Run the application.
考题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application uses data-bound controls. You discover that when the application is executed by users, one of the controls is not displayed properly. You need to view the property values assigned to the controls. What should you do?()A、Use IntelliTrace.B、Use PresentationTraceSource.C、Run the application in debug mode with Visual Studio 2010. Use the Auto window while you step through the application code.D、Run the application in debug mode with Visual Studio 2010. Use the WPF Visualizer while you step through the application code.
考题
You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. The database on the Microsoft SQL Server 2005 database has two tables that are displayed by using two SqlConnection objects in two different GridView controls. You want the tables to be displayed at the same time with the use a single SqlConnection object. What should you do?()A、 Create a bound connection by using the sp_getbindtoken and the sp_bindsession stored procedures.B、 Enable Multiple Active Result Sets (MARS) in the connection string of the application. C、 Create an exception handler for the connection-busy exception that is thrown on using a single SqlConnection object.D、 Run the two SqlDataReader objects by using a single SqlCommand object.
考题
You create Windows Forms applications by using the .NET Framework 3.5. You plan to use a setup project to deploy a new Windows Forms application.The application uses a component that requires the Microsoft NET Framework 1.1.You need to create a launch condition so that the application can be deployed on client computers. What should you do?()A、Use the Depth property.B、Use the Version property.C、Use the MinVersion property.D、Use the ComponentID property.
考题
You are employed as a network administrator at Certkiller.com. You are in the process of creatingan Asp.Net application using Microsoft .NET Framework v3.5. The application is hosted on a server named CERTKILLER-SR01. CERTKILLER-SR01 isconfigured to run Microsoft IIS 6.0. You receive several requests from management to set upCERTKILLER-SR01 for remote debugging. You need to make use of CERTKILLER-WS01 inorder to debug the application remotely. What should you do?()A、This can be accomplished by attaching Microsoft Visual Studio.NET to the inetinfo.exe process.B、This can be accomplished by attaching Microsoft Visual Studio.NET to the Msvsmon.exeprocess.C、This can be accomplished by attaching Microsoft Visual Studio.NET to theWebDev.WebServer.exe process.D、This can be accomplished by attaching Microsoft Visual Studio.NET to the w3wp.exe process.
考题
You have a Microsoft Hyper-V Server 2008 R2 server. You need to join the server to an existing Active Directory Domain Services (AD DS) domain. Which should you use?()A、ocsetupB、hvconfigC、sc configD、net config
考题
单选题You are employed as a network administrator at Certkiller.com. You are in the process of creatingan Asp.Net application using Microsoft .NET Framework v3.5. The application is hosted on a server named CERTKILLER-SR01. CERTKILLER-SR01 isconfigured to run Microsoft IIS 6.0. You receive several requests from management to set upCERTKILLER-SR01 for remote debugging. You need to make use of CERTKILLER-WS01 inorder to debug the application remotely. What should you do?()A
This can be accomplished by attaching Microsoft Visual Studio.NET to the inetinfo.exe process.B
This can be accomplished by attaching Microsoft Visual Studio.NET to the Msvsmon.exeprocess.C
This can be accomplished by attaching Microsoft Visual Studio.NET to theWebDev.WebServer.exe process.D
This can be accomplished by attaching Microsoft Visual Studio.NET to the w3wp.exe process.
考题
单选题You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application that will connect to the Microsoft SQL Server 2005 database. You want to use Windows Authentication along with the Microsoft OLE DB provider. You now need to make sure that the OLE DB connection is as secure as possible. What should you do?()A
Add the following parameter to the connection string: Integrated Security=true; PersistSecurityInfo=true;B
Add the following parameter to the connection string: Integrated Security=SSPI;C
Add the following parameter to the connection string: Integrated Security=SSPI; PersistSecurityInfo=yes;D
Add the following parameter to the connection string: Integrated Security=true;
考题
单选题You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application that displays an image. You need to ensure that users can stretch and scale the image. Which control should you use?()A
FrameB
SliderC
ViewboxD
ScrollViewer
考题
单选题You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application that allows users to arrange images. You need to ensure that users can arrange child elements in a panel without affecting the size of the elements. You also need to ensure that child elements are oriented horizontally. Which control should you use?()A
ListBoxB
DockPanelC
WrapPanelD
StackPanel
考题
单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You host the application on a server named ContosoTest that runs Microsoft IIS 6.0. You set up remote | English | Chinese | Japan | Korean | - 127 - Test Information Co., Ltd. All rights reserved. debugging on the ContosoTest server. You need to debug the application remotely from another computer named ContosoDev. What should you do?()A
Attach Microsoft Visual Studio.NET to the w3wp.exe process.B
Attach Microsoft Visual Studio.NET to the inetinfo.exe process.C
Attach Microsoft Visual Studio.NET to the Msvsmon.exe process.D
Attach Microsoft Visual Studio.NET to the WebDev.WebServer.exe process.
考题
单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You host the application on a server named ContosoTest that runs Microsoft IIS 6.0. You set up remote debugging on the ContosoTest server. You need to debug the application remotely from another computer named ContosoDev. What should you do? ()A
Attach Microsoft Visual Studio.NET to the w3wp.exe process.B
Attach Microsoft Visual Studio.NET to the inetinfo.exe process.C
Attach Microsoft Visual Studio.NET to the Msvsmon.exe process.D
Attach Microsoft Visual Studio.NET to the WebDev.WebServer.exe process.
考题
单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application resides on a server named ContosoTest that runs Microsoft IIS 5.0. You use a computer named ContosoDev to log on to the Contoso.com domain with an account named ContosoUser. The ContosoTest and ContosoDev servers are members of the Contoso.com domain. You need to set up the appropriate permission for remote debugging. What should you do?()A
Set the Remote Debugging Monitor to use Windows Authentication.B
Add the ContosoUser account to the domain Administrators group.C
Add the ContosoUser account to the local Administrators group on the ContosoTest server.D
Change the ASP.NET worker process on the ContosoTest server to run as the local Administrator account.
考题
单选题You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. The user name and password that is kept by the connection string is stored directly in the code of the application. You want to make sure that the password in the connection string is as protected. What should you do? ()A
Add the connection string to the Settings.settings file.B
Add connection string to the Web.config file and use protected configuration.C
Use the TRUE setting in the Persist Security Info keyword.D
Use the FALSE setting in the Persist Security Info keyword
热门标签
最新试卷