How do you register a .NET assembly?

Answers were Sorted based on User's Feedback



How do you register a .NET assembly?..

Answer / srikanth

Using Regasm.exe tool

Is This Answer Correct ?    2 Yes 0 No

How do you register a .NET assembly?..

Answer / lavanya

first step is to create a strong name for your assembly by
using the sdk tool named sn and then using the regasm tool
to register the meta data into the registry.

Syntax:

To create a key pair

sn –k myKey.snk

To sign the assembly with a strong name using attributes

[assembly: AssemblyKeyFileAttribute(@"..\..\key.snk")]

To sign the assembly with a strong name using assembly
linker

al /out:MyAssembly.dll MyModule.netmodule /keyfile:myKey.snk

Is This Answer Correct ?    3 Yes 1 No

How do you register a .NET assembly?..

Answer / saiish bhat

To register an assembly : Regsvr32

Also you can use GacUtil.exe tool

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is another word for redirect?

0 Answers  


What are the different authentication modes in the .NET environment?

2 Answers   Veritas,


What is http only cookie?

0 Answers  


Types of caching ?

3 Answers   TCS,


What is viewstate? In which event of the page life cycle, is the viewstate available?

0 Answers  






Types of exceptions in dot net???

1 Answers   TCS,


Is it possible to prevent a browser from caching an ASPX page?

3 Answers  


Can you edit data in the Repeater control?

11 Answers   CAC, Creative,


What are the two properties that are common in every validation control?

4 Answers   Siebel,


Difference Between ReadOnly and Constant Variable in compile time and Run Time.

3 Answers   Phoenix Technologies, Quadrant,


Why session is more secure than cookies?

0 Answers  


Difference between ASP Session and ASP.NET Session?

2 Answers  


Categories