You use Visual Studio.NET to develop an application for users on your company intranet. All client computers use Internet Explorer as their Web browser. You plan to create a setup package to distribute your application. The setup package must fulfill the following requirements: * It is placed in a network folder that is accessible to users. * It is accessible througha link on your company's intranet. * It includes an uninstaller for the application. Which type of project should you create? A. B. C. D. CAB project Merge module project. Setup project. Web setup project.
Answer: D Explanation: To deploy a Web application to a Web server, you create a Web Setup project, build it, copy it to the Web server computer, and run the installer to install theapplication on the server using the settings defined in your Web Setup project. Reference: Visual Studio, Visual Studio, Visual Studio, Visual Studio,
Deployment of a Web Setup Project CAB File Projects Adding Merge Modules to a Deployment Project Setup Projects
Incorrect Answers A: CAB projects allow you to create a .cab file to package ActiveX controls, not applications however, that can bedownloaded from a Web server to a Web browser. B: You don't install merge module projects with Internet Explorer. Note: Merge modules (.msm files) allow you to share components between multiple deployment projects. C: You don't install setup projects with Internet Explorer. Note: Setup projects allow you to create installers in order to distribute an application. The resulting Windows Installer (.msi)file contains the application, any dependent files, information about the application such as registry entries, and instructions for installation.
You develop a Windows-based application by using Visual Studio. NET. The application included numerous method calls as startup. After optimizing your application code, you test the application on a variety of client computers. However, thestartup time is too slow. You must ensure that your application starts as quickly as possible the first time it runs. What should you do? A. Precompile your application by using the Native Image Generator (Ngen.exe). Install the precompiled application on the client computers.
Examen 70-306 B. Install your application on the client computers. Precompile your application by using theNative Image Generator (Ngen.exe). C. Precompile your application by using the JIT compiler. Install the precompiled application on the client computers. D. Install your application on the client computers. Precompile your application by using the JIT compiler. Answer: A Explanation: Pre-compiling assemblies with Ngen.exe can improve the startup time for applications, because much of the work requiredto execute code has been done in advance. We precompile the application and then install it. Reference: .NET Framework Tools, Native Image Generator (Ngen.exe) .NET Framework Developer's Guide, Compiling MSIL to Native Code Incorrect Answers B: We should first precompile the application and then install it. C, D: JIT (just-in-time) compilation occurs at run-time, and cannot be PrecompiledQUESTION 3
You use Visual Studio .NET to create an application that will be distributed to employees within your company. You create and deploy a distribution package to test a computer running Windows 2000 Professional. Later you discover that your name is listed as the support contact for your application by the Add/Remove Programs option of Control Panel. You need to change the support contact tothe name of our help desk administrator. Which property of the setup project should you change? A. B. C. D. Author Comments Manufacturer Support Phone
Answer: A Explanation: The Author property specifies the name of the author of an application or component. Once the application is installed, the property is also displayed in the Contact field of the Support Info dialog box. Reference: Visual...
Leer documento completo
Regístrate para leer el documento completo.