What are the ways to deploy an assembly?

Answers were Sorted based on User's Feedback



What are the ways to deploy an assembly?..

Answer / swathi

There are three primary ways to deploy an assembly on a
target machine. The first technique involves deploying a
DLL as a private assembly by locating it in the
ApplicationBase directory. The second technique involves
installing it in a machine-wide repository called the
Global Assembly Cache (GAC). The third technique involves
configuring an assembly DLL with a <codeBase> element that
allows the CLR to download the DLL on demand from across
the network the first time it's used by a hosting
application.

Is This Answer Correct ?    2 Yes 0 No

What are the ways to deploy an assembly?..

Answer / swapna

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

Is This Answer Correct ?    2 Yes 1 No

What are the ways to deploy an assembly?..

Answer / mega

for deploying an assembly we have to create a Strong name.
Using SN.EXE can we create a strong name
eg:
SN.EXE -k "C:\ass.snk"

Once the strong name has been created add it to the GAC file
using GAC utility .

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

I couldnot answer for projects bcz i have 2+ fake experience.can you please tell me how to answer..?

2 Answers   IBM,


What are the sub types of ActionResult?

0 Answers  


When was the first version of .NET released

1 Answers  


Requirement is: try { \\SQL Query } catch(Exception i) { print a } catch(SQLQueryException e) { \\SQL Query } Qu)I Got Exception in "try" block. Which "catch" statement (i.e. 1st catch or 2nd catch ) catches the exception and Why???

6 Answers   3i Infotech,


what is ADO.NET

8 Answers   NIIT,






What is the difference between the value-type variables and reference-type variables in terms of garbage collection ?

1 Answers  


Have you designed any components?

2 Answers   HP,


What is the difference between Finalize and Dispose (Garbage collection)

1 Answers  


how can you enhance the performance of entity framework?

0 Answers   Microsoft,


Explain what is the difference between view and partial view?

0 Answers  


Explain JSON Binding?

0 Answers  


How does the 'page lifecycle' of asp.net mvc works?

0 Answers  


Categories