多选题You create a Visual Studio 2010 solution that includes a WCF service project and an ASP.NET project. The service includes a method named GetPeople that takes no arguments and returns an array of Person objects. The ASP.NET application uses a proxy class to access the service. You use the Add Service Reference wizard to generate the class. After you create the proxy, you move the service endpoint to a different port. You need to configure the client to use the new service address. In addition, you must change the implementation so that calls to the client proxy will return a List instead of an array. Which two actions should you perform?()AIn the context menu for the service reference in the ASP.NET project, select the Configure Service Reference commSystem.Collections.Generic.ListBIn the context menu for the service reference in the ASP.NET project, select the Update Service Reference commaCChange the service interface and implementation to return a ListDEdit the address property of the endpoint element in the web.config file to use the new service address

多选题
You create a Visual Studio 2010 solution that includes a WCF service project and an ASP.NET project. The service includes a method named GetPeople that takes no arguments and returns an array of Person objects. The ASP.NET application uses a proxy class to access the service. You use the Add Service Reference wizard to generate the class. After you create the proxy, you move the service endpoint to a different port. You need to configure the client to use the new service address. In addition, you must change the implementation so that calls to the client proxy will return a List instead of an array. Which two actions should you perform?()
A

In the context menu for the service reference in the ASP.NET project, select the Configure Service Reference commSystem.Collections.Generic.List

B

In the context menu for the service reference in the ASP.NET project, select the Update Service Reference comma

C

Change the service interface and implementation to return a List

D

Edit the address property of the endpoint element in the web.config file to use the new service address


参考解析

解析: 暂无解析

相关考题:

You are designing an organizational unit (OU) structure to manage the New App servers.  What should you do? ()A、 Create one OU that includes both the web servers and the database servers.B、 Create one OU that includes the web servers and one OU that includes the database servers.C、 Create one OU that includes the web servers. Then Place the database servers in the Computer Containers.D、 Place the web server and the database servers in the Domain Controller OU.

You design a Business Intelligence (BI) solution by using SQL Server 2008. You create a SQL Server 2008 Reporting Services (SSRS) solution. You create reports by using Microsoft Visual Studio .NET 2008. The development team of your company must create 50 SSRS reports. You need to ensure that the company logo and the company name are included in the page header of all the reports. What should you do?()A、 Create an SSRS report and include the required page header in the report. Use the report as a template for all the reports.B、 Create an SSRS report and include the required page header in the report. Create a subreport that refers to the report. Include the subreport to all the reports.C、 Create a SSRS report and include the required page header in the report. Copy the report definition to an XML file.Add the XML file as a data source for all the reports.D、 Create a SSRS report and include the required page header in the report. Create a class library that includes the report.Add the class library as an assembly reference for all the reports.

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 work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. The Web application connects to a SQL Server database. You use the ADO.NET Entity Framework to handle persistence-ignorant entities. You create an ObjectContext object named ObjContext. Subsequently, you change properties on numerous entities. You are required to save the changed entity values in the SQL Server database. Which of the following code segments will you use?()A、ObjContext.SaveChanges(SaveOptions.DetectChangesBeforeSave);B、ObjContext.SaveChanges(SaveOptions.AcceptAllChangesAfterSave);C、ObjContext.SaveChanges(SaveOptions.All);D、ObjContext.SaveChanges(SaveOptions.None);

You create a control named ContosoUI for a Web application. You need to add the control to the toolbox of Microsoft Visual Studio .NET. Which two actions should you perform?()A、Create the ContosoUI control as a Web Control Library.B、Create the ContosoUI control as a Web user control.C、Within the Visual Studio .NET toolbox, browse to and select ContosoUI.ascx.D、Within the Visual Studio .NET toolbox, browse to and select ContosoUI.dll.

You are building a client for a Windows Communication Foundation (WCF) service. You need to create a proxy to consume this service. Which class should you use?()A、ChannelFactoryB、 ServiceHostC、ClientRuntimeD、CommunicationObject

You design a SQL Server 2008 Reporting Services (SSRS) solution. You create a report by using Microsoft Visual Studio .NET 2008. The report contains the following components: A dataset named Customer that lists all active customers and their details. The dataset accepts no parameters. A dataset named SalesHistory that lists all sales transactions for a specified time period and accepts year and month as parameters. You need to ensure that a summary of sales transactions is displayed for each customer after the customer details. Which component should you add to the report? ()A、 ListB、 TableC、 MatrixD、 Subreport

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application. You have a company logo that must appear on multiple forms in the application. The logo design changes frequently. You need to ensure that when the logo image is changed, you only need to update a single location. What should you do?()A、Define the image as a page resource.B、Define the image as an application resource.C、Save the image on a network drive.D、Include the image as an embedded resource.

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application includes a function that is triggered by filling out a form and by clicking a button. Currently, the application is tested manually. You need to create an automated and iterative process to test the application. What should you do?()A、Use IntelliTrace.B、Use UISpy.exe to extract the user interface (UI) information. Then, use MSTest.exe.C、Use classes in the System.Windows.Automation and System.Windows.Automation.Text namespaces.D、Use the Action Recording methodology to record the user interface (UI) actions.Then, use MSTest.exe.

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 work as an ASP.NET Web Application Developer for SomeCompany.  The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. You create a Web page in the application. The Web page will get large sets of data from a data source.  You add a DataPager control to the page. You are required to display navigation controls that enable you to create a custom paging Ul for the DataPager control. What will you do?()A、Use NextPreviousPagerField.B、Use NumericPagerField.C、Use PreviousPagerField.D、Use NextPagerField.E、Use TemplatePagerField.

You work as the enterprise exchange administrator at Xxx .Xxx is using Microsoft Exchange Server 2010 as their messaging solution.The Xxx network contains a Mailbox server named XXX-EX10.What action must you take to have mailboxes retained for 8 weeks after deletion?()A、You must create a legal hold.B、You must change the mailbox database properties.C、You must create Transport Protection Rules.D、You must create Personal archives.

You create a Visual Studio 2010 solution that includes a WCF service project and an ASP.NET project. The service includes a method named GetPeople that takes no arguments and returns an array of Person objects. The ASP.NET application uses a proxy class to access the service. You use the Add Service Reference wizard to generate the class. After you create the proxy, you move the service endpoint to a different port. You need to configure the client to use the new service address. In addition, you must change the implementation so that calls to the client proxy will return a List instead of an array. Which two actions should you perform?()A、In the context menu for the service reference in the ASP.NET project, select the Configure Service Reference commSystem.Collections.Generic.ListB、In the context menu for the service reference in the ASP.NET project, select the Update Service Reference commaC、Change the service interface and implementation to return a ListD、Edit the address property of the endpoint element in the web.config file to use the new service address

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 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? ()AUse the AsOrdered method.BUse the SelectMany method.CUse the AutoBuffered option in the WithMergeOptions method.DUse the WithExecutionMode method with the ParallelExecutionMode.ForceParallelism parameter.

单选题You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a custom control that is used to display customer information. You discover that the custom control is not rendering correctly. You need to identify the WPF element that is causing the issue. You want to achieve this goal by using the minimum amount of administrative effort. What should you do?()AStart the application in debug mode.Place a breakpoint at the main entry point of the application.Use the debugger to step through the application code.BStart the application in debug mode.Place a breakpoint at the main entry point of the application.Use the WPF Tree Visualizer tool.CEnable IntelliTrace and configure Visual Studio to generate a trace log.Start the application in debug mode.DEnable IntelliTrace and configure Visual Studio to generate a trace log.Start the application by double-clicking the executable file (.exe).

单选题You design a SQL Server 2008 Reporting Services (SSRS) solution. You create a report by using Microsoft Visual Studio .NET 2008. The report contains the following components: A dataset named Customer that lists all active customers and their details. The dataset accepts no parameters. A dataset named SalesHistory that lists all sales transactions for a specified time period and accepts year and month as parameters. You need to ensure that a summary of sales transactions is displayed for each customer after the customer details. Which component should you add to the report? ()A ListB TableC MatrixD Subreport

单选题You are debugging an ASP.NET Web application by using the Visual Studio debugger. The application is incorrectly handling a SQL Exception on the login page. You need to break execution where the exception is thrown . What should you do?()AEnable the User-unhandled option for SqlException in Visual Studio Exception configuration.BSet the value of the customErrors element‟s mode attribute to “on” in the web.config file.CManually attach the Visual Studio debugger to Internet Explorer.DEnable the thrown option for SqlException in Visual Studio exception configuration.

单选题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? ()AUse IntelliTrace.BUse data-driven tests.CCreate a single test class.DCreate a test method for each data variation.

多选题You create a control named ContosoUI for a Web application. You need to add the control to the toolbox of Microsoft Visual Studio .NET. Which two actions should you perform?()ACreate the ContosoUI control as a Web Control Library.BCreate the ContosoUI control as a Web user control.CWithin the Visual Studio .NET toolbox, browse to and select ContosoUI.ascx.DWithin the Visual Studio .NET toolbox, browse to and select ContosoUI.dll.

单选题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?()AAttach Microsoft Visual Studio.NET to the w3wp.exe process.BAttach Microsoft Visual Studio.NET to the inetinfo.exe process.CAttach Microsoft Visual Studio.NET to the Msvsmon.exe process.DAttach 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? ()AAttach Microsoft Visual Studio.NET to the w3wp.exe process.BAttach Microsoft Visual Studio.NET to the inetinfo.exe process.CAttach Microsoft Visual Studio.NET to the Msvsmon.exe process.DAttach Microsoft Visual Studio.NET to the WebDev.WebServer.exe process.

多选题You are designing a Windows Azure application.   The application includes processes that communicate by using Windows Communications Foundation (WCF) services.  The WCF services must support streaming.  You need to recommend a host for the processes and a WCF binding.   Which two actions should you recommend?()AHost the processes in web roles.BHost the processes in worker roles.CUse NetTcpBinding for the WCF services.DUse WSHttpBinding for the WCF services.

单选题You are creating an application using Visual Studio 2010. The application consumes a Windows Communication Foundation (WCF) service.You are adding a service reference to the WCF service. You need to ensure that the generated proxy does not block the calling thread when executing a service method. What should you do when adding the service reference? ()ASet the Collection type to ObservableCollection.BSelect the Reuse types in all referenced assemblies option.CSelect the Generate asynchronous operations option.DSelect the Always generate message contracts option.

单选题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?()AUse IntelliTrace.BUse PresentationTraceSource.CRun the application in debug mode with Visual Studio 2010. Use the Auto window while you step through the application code.DRun the application in debug mode with Visual Studio 2010. Use the WPF Visualizer while you step through the application code.

单选题You are designing an organizational unit (OU) structure to manage the New App servers.  What should you do? ()A Create one OU that includes both the web servers and the database servers.B Create one OU that includes the web servers and one OU that includes the database servers.C Create one OU that includes the web servers. Then Place the database servers in the Computer Containers.D Place the web server and the database servers in the Domain Controller OU.

单选题You design a Business Intelligence (BI) solution by using SQL Server 2008. You create a SQL Server 2008 Reporting Services (SSRS) solution. You create reports by using Microsoft Visual Studio .NET 2008. The development team of your company must create 50 SSRS reports. You need to ensure that the company logo and the company name are included in the page header of all the reports. What should you do?()A Create an SSRS report and include the required page header in the report. Use the report as a template for all the reports.B Create an SSRS report and include the required page header in the report. Create a subreport that refers to the report. Include the subreport to all the reports.C Create a SSRS report and include the required page header in the report. Copy the report definition to an XML file.Add the XML file as a data source for all the reports.D Create a SSRS report and include the required page header in the report. Create a class library that includes the report.Add the class library as an assembly reference for all the reports.