What is the concept of strong names, DOT NET Programming

concept of strong names

Strong name is similar to GUID(It is supposed to be unique in space and time) in the COM components.Strong Name is only needed when we need to deploy assembly in the  GAC. Strong Names helps GAC in differentiation b/w the two versions. Strong names use the public key cryptography (PKC) to ensure that no one can spoof it ever.PKC use the concept of public key and private key concept.

Following are the steps  to generate a strong name and sign a assembly :-

(1) Go to "Visual Studio Command Prompt". See figure "Visual studio Command Prompt". Please Note that the samples are compiled in 2005 but 2003 users do not have to worry about it. Same type of command prompt will display in 2003 also.

 

411_visualstudio command prompt.jpg


(2) When you are in command prompt type sn.exe -k "c:\test.snk".

63_runing sn.exe

1028_succ op of sn.exe



(3) After generation of the file  view the SNK file in a simple notepad.

(4) After the SNK file is generated its time to sign project with this SNK file.

(5) Click on project -- properties and the browse the SNK file to the respective folder and compile the project.

 

 

 

49_click on lib.jpg

Posted Date: 9/18/2012 7:04:22 AM | Location : United States







Related Discussions:- What is the concept of strong names, Assignment Help, Ask Question on What is the concept of strong names, Get Answer, Expert's Help, What is the concept of strong names Discussions

Write discussion on What is the concept of strong names
Your posts are moderated
Related Questions
What are value types and reference types?  Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short, strut, uint, ulong, ushort. Value types are

Project Description: We need to construct services in C# or VB.NET that can manipulate with a Targin TIP Protocol Server (protocol for financial information exchange), receive d

Explain the concept of constructor? Constructor is a special method of a class, which is called automatically when the instance of a class is formed. It is created with the sam

Design the following interface and add code to the command buttons to achieve the following using case statement. I) find coursework to be calculated using the following formula:-0

As you have probably realized by now, Web pages are much more useful when they are dynamic. In Internet terminology, the word dynamic means several things. Primarily, it refers to

ASP Developer- We are needed to hire an ASP developer for some urgent work. He needs to add a new page to an already prepared site; the page is already completed in HTML. He jus

What are the various objects in Dataset? The Dataset has a collection of DataTable object inside the Tables collection. Every DataTable object have  a collection of DataRow obj

I have a application on web i am getting some issue please make changes and help me out ..please help me Skills required: .NET, MySQL, PHP, ASP, Visual Basic


What do you mean by data encapsulation? Data encapsulation is a method of binding data and code in single unit known as object and hiding all the implementation details of a cl