How do you register the dotnet component or assembly ?
Answer / narayansahu
The steps to register a dot net component is:
The command line instruction to create a strong name.
sn -k ComInterOp.snk.
Strong name is a unique name created by hashing a 128-bit
encryption key against the name of the Assembly (ComInterOp
in our case). The strong name is created using SN.exe, that
would create ComInterOp.snk file, which we would use while
creating the DotNet Assembly.
The command line instruction to create an assembly using
the strong name
vbc /out:ComInterOp.dll /t:library /keyfile:ComInterOp.snk
Assembly Registration Tool.
The Assembly Registration Tool (Regasm.exe), reads the
metadata within an assembly and adds the necessary entries
to the registry, which allows COM clients to create DotNet
Framework classes transparently. The Assembly Registration
tool can generate and register a type library when you
apply the /tlb: option. COM clients require that type
libraries be installed in the Windows registry. Without
this option, Regasm.exe only registers the types in an
assembly, not the type library. Registering the types in an
assembly and registering the type library are distinct
activities.
The command line instruction to create and register
ComINterOp.tlb(Type Library) is
regasm ComInterOp.dll /tlb:ComInterOp.tlb.
The DotNet Services Installation Tool (Regsvcs.exe)
The command line instruction to install ComINterOp.dll in
GAC is
Gacutil -i ComInterOp.dll.
Is This Answer Correct ? | 13 Yes | 3 No |
How to enable Attribute Routing?
mention what is the key advantage of using entity framework or ef?
What are HTML Helpers, AJAX Helpers in ASP.Net MVC?
what is entity framework advantage?
What is presentation framework?
What are the ways to show data grid inside a data grid for a master details type of tables?
Hello frnds, Actually i am plannig to put fake Xperince letter is it good or not, and please suggest me from where we take it.
I am going for H1B visa interview, I am not having bank statement ,is it neccesary for stamping process? how to handle the,consulate people without that statement ?
Give an example for authorization filters in an asp.net mvc application?
Where does web.config info stored? Will this be stored in the registry ?
1 Answers Accenture, BirlaSoft,
What is RouteConfig.cs in ASP.Net MVC 4?
What is needed for running an application built on winfx on the .net framework 3.0?