You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform. You are developing a .NET Framework 2.0 Windows Service application and are busy writing the following installat

题目

You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform. You are developing a .NET Framework 2.0 Windows Service application and are busy writing the following installation code for the Windows service: Public Class TestServiceInstaller Implemets Installer 'Additional code to go here End Class You are required to install the Windows service and write the values associated with the service in the Windows Registry. What should you do?()

  • A、The Assembly Registration Tool (Regasm.exe) should be used.
  • B、The Global Assembly Cache Tool (Gacutil.exe) should be used.
  • C、The .NET Services Installation Tool (Regsvcs.exe) should be used.
  • D、The Installer Tool (InstallUtil.exe) should be used.
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You work as an application developer at Certkiller .com. Certkiller .com has been hired by a small local private school to develop a class library that will be used in an application named ManageAttendance for the purpose of managing student records.You are responsible for developing this class library. Certkiller .com has instructed you to create a collection in the application to store learners’ results. The school has informed you that they currently only have seven learners, but that this value will triple in the following year. Due to the limited resources, you need to ensure that the collection you create consumes a minimum amount of resources. What should you use to create the collection?()

  • A、 The HybridDictionary collection class.
  • B、 The HashTable collection class.
  • C、 The ListDictionary collection class.
  • D、 The StringCollection collection class.

正确答案:A

第2题:

You work as an application developer at Certkiller .com. You have recently created an application domain for Certkiller .com. A few weeks later you are asked to retrieve information from this application domain, which is the current application domain. What can you do to achieve this objective?()

  • A、 Use the following code: AppDomain appInfo = ApplicationDomain.Current;
  • B、 Use the following code: AppDomain appInfo = AppDomain.CurrentDomain ();
  • C、 Use the following code: AppDomain appInfo = Thread.GetDomain ();
  • D、 Use the following code: AppDomain appInfo = MainThread.GetDomain ();

正确答案:B,C

第3题:

You work as an application developer at Certkiller .com. Certkiller .com uses an application that calculates monthly payments based upon client input.You are currently debugging this application using the Microsoft Visual Studio 2005 IDE.The application contains the following code:public double CalculateMonthlyPayment (Single rate, double principal) {//Implementation code}You have discovered that unexpected results are being returned by the application. You would like to pause execution and display a message box containing an error message in the event of a negative or zero rate value is Passed to the CalculateMonthlyPayment method.You need to ensure that this only occurs during debugging mode.What should you do?()

A.

B.

C.

D.


参考答案:A

第4题:

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

第5题:

You work as an application developer at Certkiller .com. You have recently created an application domain for Certkiller .com. A few weeks later, you are required to determine if assembly references in this application domain, which is the current application domain, are being cached. What property should you use to achieve this objective?()

  • A、 AppDomain.CurrentDomain.ShadowCopyFiles
  • B、 AppDomain.CurrentDomain.CachePath
  • C、 AppDomain.CurrentDomain.ConfigurationFile
  • D、 AppDomain.CurrentDomain.Evidence

正确答案:A

第6题:

You work as an application developer at Certkiller .com. Certkiller .com has asked you to develop an application that monitors and controls the activities of a Windows service.You need to use the appropriate class to meet Certkiller .com’s requirements. What should you do?()

  • A、 Use the ServiceBase class.
  • B、 Use the ServiceInstaller class.
  • C、 Use the ServiceManager class.
  • D、 Use the ServiceController class.

正确答案:D

第7题:

You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform. You are developing a Windows Service application. You need to change the security context in which the service runs. The service will be run in context of a non-privileged user on the local computer and present anonymous credentials to any remote server. You are required to set the Account property of the ServiceProcessInstaller class to specify the service account. What should you do?()

  • A、Use ServiceAccount.User.
  • B、Use ServiceAccount.LocalService.
  • C、Use ServiceAccount.LocalSystem.
  • D、Use ServceAccount.NetworkService.

正确答案:B

第8题:

You work as an application developer at Certkiller .com. You are currently in the process of creating a new application for Certkiller .com. You are required to read compressed data files that has been sent by Certkiller .com‘s sales offices.These data files are less than 4 GB in size, but was compressed without cyclic redundancy. You want to write a method that receives the compressed files and return the uncompressed data as a byte array.What should you do?()

A.

B.

C.

D.


参考答案:A

第9题:

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);

正确答案:A

第10题:

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

更多相关问题