CMS专题

单选题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 In

题目
单选题
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.

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a custom-templated server control.  | English | Chinese | Japan | Korean | - 112 - Test Information Co., Ltd. All rights reserved. You need to ensure that the child controls of the server control are uniquely identified within thecontrol hierarchy of the page.  Which interface should you implement? ()

  • A、the ITemplatable interface
  • B、the INamingContainer interface
  • C、the IRequiresSessionState interface
  • D、the IPostBackDataHandler interface

正确答案:B

第2题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a Web page to display photos and captions. The caption of each photo in the database can be modified by using the application.  You write the following code fragment.  ’ runat="server"/>  | English | Chinese | Japan | Korean | - 124 - Test Information Co., Ltd. All rights reserved. ’ runat="server" />      When you access the Web page, the application throws an error.  You need to ensure that the application successfully updates each caption and stores it in the database.  What should you do?()

  • A、Add the ID attribute to the Label control.
  • B、Add the ID attribute to the TextBox control.
  • C、Use the Bind function for the Label control instead of the Eval function.
  • D、Use the Eval function for the TextBox control instead of the Bind function.

正确答案:B

第3题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()

  • A、the ITemplatable interface 
  • B、the INamingContainer interface 
  • C、the IRequiresSessionState interface
  • D、the IPostBackDataHandler interface

正确答案:B

第4题:

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.

正确答案:E

第5题:

You work as a Web Developer at Certkiller.com. You create a Web application using MicrosoftASP.NET 3.5.  Certkiller.com hosts the application in Microsoft Internet Information Services 7.0. You attempt tobrowse the application and receive the following error message:  Service Unavailable    HTTP Error 503. The service is unavailable.   You check and discover that you are able to browse successfully to other application that formspart of the same IIS Web site. The hosted applications on the network make use of ASP.NET 3.5.There are not previous versions of ASP.NET is installed. You need to resolve this error as soon aspossible.  What should you do?()

  • A、You should run the ServiceModel Metadata Utility tool (Svcutil.exe).
  • B、You should change the pipeline mode associated with the application pool that hosts theapplication.
  • C、You should run the ASP.NET Registration Tool (Aspnet_regiis.exe).
  • D、You should make sure that the application pool that hosts the application is initiated.

正确答案:D

第6题:

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. 

正确答案:B

第7题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  When you access the application in a Web browser, you receive the following error message: "Service Unavailable".  You need to access the application successfully.  What should you do? ()

  • A、Start Microsoft IIS 6.0.
  • B、Start the Application pool.
  • C、Set the .NET Framework version.
  • D、Add the Web.config file for the application.

正确答案:B

第8题:

You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.  You deploy the application on a Microsoft IIS 6.0 Web server. The server runs on a worker process isolation mode, and it hosts the .NET Framework version 1.1 Web applications. When you attempt to browse the application, the following error message is received:  "It is not possible to run different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process."    You need to ensure that the following requirements are met: all the applications run on the server  all the applications remain in process isolation mode all the applications do not change their configuration.   Which two actions should you perform?()

  • A、Create a new application pool and add the new application to the pool. 
  • B、Configure the IIS 6.0 to run the WWW service in the IIS 5.0 isolation mode. 
  • C、Configure the new application to use the .NET Framework version 2.0 in the IIS 6.0 Manager. 
  • D、Set autoConfig="false" on the <processModel> property in the machine.config file. 
  • E、Disable the Recycle worker processes option in the Application Pool Properties dialog box.

正确答案:A,C

第9题:

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.

正确答案:B

第10题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()

  • A、the ITemplatable interface
  • B、the INamingContainer interface
  • C、the IRequiresSessionState interface
  • D、the IPostBackDataHandler interface

正确答案:B

更多相关问题