What is strong name and which tool is used for this ?
Answers were Sorted based on User's Feedback
Answer / mohan kumar e.
If you want to design an assembly which is used by more
than one application then that assembly should be assigned
a strong name. sn.exe is used to generate a strong name.
| Is This Answer Correct ? | 15 Yes | 1 No |
Answer / kamlesh sharma
A common use of attributes is to provide a strong name for
an assembly. assemblies that have a strong name can be
placed in the global assembly cache. The global assembly
cache enables a single assembly to be shared among multiple
projects. The global assembly cache can be used to share
multiple copies of the same assembly,
tool for that
command
sn -k mykey.snk
and then add this key in assembly information like
[assembly: AssemblyKeyFile("mykey.snk")]
and paste in global assembly catch
like
gacutil /i filename.dll
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / nikey patel
Strong Name is to be assigned to shared assembly. when more
then one application is going to use that dll/assembly,
that assembly has to assign a strong name and has to be
place in GAC(Global Assembly Cache).
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / priya
Strong name is like a GUID (globally unique Identifier.)
Strong Name is only needed when we need to deploy assembly
in GAC. Strong Names helps GAC to differentiate between two
versions.
Strong names use public key cryptography (PKC) to ensure
that no one can spoof it.PKC use public key and private key
concept.
strong name is given using SN.EXE
| Is This Answer Correct ? | 5 Yes | 0 No |
Diffence between .net framework 1.0 and 2.0?
How does the .net framework 3.0 relate to windows vista?
What are Scaffold templates in ASP.Net MVC?
Is it possible to use multipe inheritance in .net
What is the difference between a Struct and a Class
Explain the difference between Viewbag and Viewdata in ASP.NET MVC?
Is entity framework slow?
How do I install .net framework?
What is the difference between STA and MTA?
What is gacutil.exe. Where do we store assemblies ?
5 Answers Accenture, BirlaSoft,
Can a view be shared across multiple controllers? If yes, how we can do that?
Which is the base class for .net Class library?