What are the ways to deploy an assembly?

1 Answer

Answer :

An MSI installer, a CAB archive, and XCOPY command. 

Related questions

Description : What are the ways to deploy an assembly?

Last Answer : An MSI installer, a CAB archive, and XCOPY command. 

Description : Which one of the following tools is used to view the metadata information contained in a .NET assembly? Select Answer:  1. al.exe  2. ilasm.exe  3. vbx.exe  4. csc.exe  5. ildasm.exe

Last Answer :  5. ildasm.exe

Description : What is a shared assembly? How would you create one?

Last Answer : An assembly is an assembly of which only a single copy is installed per machine. This copy can be shared by multiple applications. To make an assembly a shared assembly, you must first assign it a strong name, and then install it to the global assembly cache.

Description : Describe how to sign your assembly with a strong name. Why would you want to do this?

Last Answer : To sign your assembly with a strong name, you must have access to a key file or create one with the strong name utility (sn.exe). You then specify the key file in the AssemblyInfo file and ... identity, a strong name is required if you want to install your assembly to the Global Assembly Cache.

Description : How do you specify a custom attribute for the entire assembly (rather than for a class) ?

Last Answer : Answer: Global attributes must appear after any top-level using clauses and before the first type or namespace declarations. An example of this is as follows: using System; [assembly : ... that in an IDE-created project, by convention, these attributes are placed in AssemblyInfo.cs.

Description : Where’s global assembly cache located on the system ?

Last Answer : Answer: Usually C:\winnt\assembly or C:\windows\assembly.

Description : How can you debug failed assembly binds ? 

Last Answer : Answer: Use the Assembly Binding Log Viewer (fuslogvw.exe) to find out the paths searched.

Description : Whats an assembly ?

Last Answer : Answer: Assemblies are the building blocks of .NET Framework applications; they form the fundamental unit of deployment, version control, reuse, activation scoping, and security permissions. An assembly is ... implementations. To the runtime, a type does not exist outside the context of an assembly.

Description : What’s the difference between private and shared assembly? 

Last Answer : Answer: Privateassembly is used inside an application only and does not have to be identified by a strong name. Shared assembly can be used by multiple applications and has to have a strong name.

Description : What is purpose of Assembly Linker or define SDK Tool in .NET Framework?

Last Answer : Answer: In .NET whole the working should be with the helps of DLLs.So all of Visual Studio .Net compilers gernate assemblies or u can say dll.If we want to create an assembly with ... Studio .Net .This multi file can contain modules that are written in diffrenet langauage in one application.

Description : What is the difference between a namespace and an assembly name?

Last Answer : A namespace is a logical naming scheme for types in which a simple type name, such as MyType, is preceded with a dot-separated hierarchical name. Such a naming scheme is completely under ... design-time naming convenience, whereas an assembly establishes the name scope for types at run time.

Description : What is a Assembly ?

Last Answer : An assembly is the primary building block of a .NET Framework application. It is a collection of functionality that is built, versioned, and deployed as a single implementation unit (as ... The self-describing nature of assemblies also helps makes zero-impact install and XCOPY deployment feasible. 

Description : What is a satellite assembly?

Last Answer : When you write a multilingual or multi-cultural application in .NET, and want to distribute the core application separately from the localized modules, the localized assemblies that modify the core application are called satellite assemblies.

Description : What does the assembly manifest contain? 

Last Answer : Assembly manifest lists all names of public types and resources and their locations in the assembly.

Description : What is an assembly identity?

Last Answer : Assembly identity is name, version number, and optional culture, and optional public key to guarantee uniqueness. 

Description : What is an assembly?

Last Answer : Assemblies contain logical units of code in MSIL, metadata, and usually a manifest. Assemblies can be signed and the can dome in the form of a DLL or EXE. 

Description : What is a satellite assembly?

Last Answer : When you write a multilingual or multi-cultural application in .NET, and want to distribute the core application separately from the localized modules, the localized assemblies that modify the core application are called satellite assemblies. 

Description : Mention the assembly name where System namespace lies in C#?

Last Answer : Assembly Name – mscorlib.dll

Description : Describe two ways to set the tab order of controls on your form.

Last Answer : You can set the tab order in Visual Studio by choosing Tab Index from the View menu and clicking each control in the order you desire. Alternatively, you can set the TabIndex property either in code or in the Properties window.

Description : What are the different ways a method can be overloaded?

Last Answer : Different parameter data types, different number of parameters, different order of parameters.

Description : What are the different ways a method can be overloaded?

Last Answer : Different parameter data types, different number of parameters, different order of parameters.

Description : Define what are the different ways a method can be overloaded?

Last Answer : Different parameter data types, different number of parameters, different order of parameters.

Description : Did East German military forces ever deploy in combat during the Cold War?

Last Answer : Combat? Depends what you mean by combat. East German military were deployed all over Africa to act as trainers and advisers to the various strongmen. I don’t believe they fought, but they were there and in uniform.

Description : What's the best way to deploy a PHP application?

Last Answer : answer:debian package At a previous job I had to install/maintain a site written in CakePHP. I made it into a debian package. “aptitude install projectname” and you’re done (although I guess that is technically “touching the server”) Send me a PM and I can give you the details.

Description : Suppose the next global influenza is a real killer - Should we deploy mosquitoes to distribute the vaccine more efficiently?

Last Answer : I do not like it, for the listed reasons. Also, there is no guarantee that the little buggers do not pick up other diseases before they sting the next person. Also I hate being stung by insects.

Description : How do I deploy a Rails app to a DreamHost shared account using Capistrano2?

Last Answer : answer:I would suggest posting a message on the Rails Community Did you checkout the Capistrano Wiki for Dreamhost Timothy Fisher’s Blog has a slew of links to deploying Rails Apps at Dreamhost. Good Luck! R

Description : How hire train and deploy model works ?

Last Answer : The hire, train and deploy service model works exactly on this principle. Sattwa finds the right candidates from various sources, trains them on the exact skill set required by the company, and deploys them with the clients once they have completed the training.

Description : An organisation’s ability or capacity to deploy or exploit resources is known as _______ Select one: a. All of these b. Capability c. Weaknesses of firm d. Strengths of firm

Last Answer : Capability

Description : ______ offering provides the tools and development environment to deploy applications on þÿ

Last Answer : IaaS

Description : I've a website containing all static pages. Now I want to provide a simple Feedback form for end users. I don't have software developers, and would like to spend minimum time and money. What should I ... form, and embed in html page. C. Use Google App Engine (GAE) to build and deploy dynamic page.

Last Answer : Use ZOHO creator to build the required form, and embed in html page

Description : Which statement best describes the Software as a Service cloud delivery model? A. A virtual machine provisioned and provided from the cloud which allows the customer to deploy custom ... and run the application on the customer's own computers and simplifying maintenance and support.

Last Answer : An application delivered to the client from the cloud which eliminates the need to install and run the application on the customer's own computers and simplifying maintenance and support.

Description : Management Software is used for? A. It helps to maintain and configure the infrastructure. B. It helps to deploy and integrate the application on the cloud. C. Both A and B D. None of the above

Last Answer : It helps to maintain and configure the infrastructure.

Description : Point out the wrong statement. a) Google App Engine lets you deploy the application and monitor it b) From the standpoint of the client, a cloud service provider is different than any other networked ... be brought to bear to solve mobile, desktop, and local server issues d) All of the mentioned

Last Answer : From the standpoint of the client, a cloud service provider is different than any other networked service

Description : When you deploy an application on Google’s PaaS App Engine cloud service, the Administration Console provides you with the which of the following monitoring capabilities? a) View data and error logs b) Analyze your network traffic c) View the application’s scheduled tasks d) All of the mentioned

Last Answer : All of the mentioned

Description : .Which of the following offering provides the tools and development environment to deploy applications on another vendor’s application. a) PaaS b) IaaS c ) SaaS d ) All of the mentioned

Last Answer : IaaS

Description : How to deploy the Report?

Last Answer : Report can be deployed in three ways. 1. Using visual studio: In visual studio you can directly deploy the report through solution explorer by providing the report server URL in project properties at ... that which can be used to create a customize utility for your report deployment in bulk.

Description : How to deploy an SSRS Report?

Last Answer : Configure project properties (for multiple environments) and deploy from bids, upload manually or use rs.exe for command line deployment.

Description : How do you migrate your services from one environment to another or how do you deploy your services from one environment to another?

Last Answer : We have a support team who takes care of Service deployments. We take an export of the service which needs to be deployed and keep it in a secured server by doing FTP. Our support ... server and does the deployment We can also use Export and Import configuration along with the Deployment Policy

Description : To maintain altitude, what must be done as Indicated Airspeeed (IAS) is reduced? a. Decrease angle of attack to reduce the drag b. Increase angle of attack to maintain the correct lift force c. Deploy the speed brakes to increase drag d. Reduce thrust

Last Answer : b. Increase angle of attack to maintain the correct lift force

Description : ______ offering provides the tools and development environment to deploy applications on another vendor’s application. A. PaaS B. IaaS C. CaaS D. All of the mentioned

Last Answer : B. IaaS 

Description : What si the difference between interface and abstractclass Select Answer:  1. interface contain only methods  2. we can't declare a variable for interface  3. interface contain only events  4. None  5. All

Last Answer : Ans : 2 The only Difference between Interface and Abstract class is we can declare a variable in abstract class but we can't declare in variable interface

Description : What is the lifespan for items stored in ViewState? Select Answer:  1. Item stored in ViewState exist for the life of the current page  2. Item stored in ViewState exist for the life ... of the current Applicaiton  4. Item stored in ViewState exist for the life of the current configuration

Last Answer : 1. Item stored in ViewState exist for the life of the current page AS any web application works on request and response basis ,so on every post backs, The data in control gets lost. To retain page ... control with data. The life cycle of the view state exist for life of current running page only. 

Description : How would you ensure that all relevant registry entries were removed in the event that installation of your application failed?

Last Answer : You can ensure that registry entries are removed, as well as perform any other “clean-up” tasks, by creating an Installer class and writing the appropriate code in the Rollback event handler. Then create a new Custom Action and set the InstallerClass, and EntryPoint properties to appropriate values.

Description : Describe a general strategy for creating a setup project that terminates installation if a specific file is not already installed on the target machine.

Last Answer : First, create a file search to search the file system for the specific file. Then create a launch condition to evaluate the results of the search. You can connect the launch condition to ... in the search's Property property in the expression specified by the launch condition's Condition property. 

Description : What is the purpose of a bootstrapper application? When do you not need to create one?

Last Answer : A bootstrapper application automatically detects if Windows Installer is installed on the target machine. If Windows Installer is not present, it installs Windows Installer before proceeding with the rest ... Installer 1.5 already installed) or have had Microsoft Installer 1.5 installed previously.

Description : What is a native image? How do you create one?

Last Answer : A native image is a precompiled version of a .NET assembly. You can create a native image of your application by using the Ngen.exe utility.

Description : Describe XCOPY deployment. Under what conditions is it useful? When can it not be used?

Last Answer : XCOPY deployment is a simple method of deployment where the DOS command XCOPY is used to copy the application directory and any subdirectories to the target machine. You can use XCOPY ... an application requires a more complex deployment or references shared assemblies, you cannot use XCOPY.

Description : Briefly highlight the differences between imperative and declarative security as they pertain to code access security.

Last Answer : Imperative security is implemented by calling methods of Permission objects in code at run time. Declarative security is configured by attaching attributes representing permissions to classes ... request assembly-wide permissions using the Assembly (assembly) directive with declarative security.

Description : Explain how to retrieve information from the configuration file at run time. How would you store information in the configuration file at design time?

Last Answer : You must first create an instance of AppSettingsReader to read the configuration file. You can then call the GetValue method to read values represented in the configuration file. To add configuration ... used to retrieve the entry. The value can be changed between executions of the application.

Description : Describe how to use code to retrieve resources at run time.

Last Answer : You must first create an instance of the ResourceManager class that is associated with the assembly that contains the desired resource. You can then use the GetString method to retrieve string resources or the GetObject method to retrieve object resources.