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
Need Experienced dot Net and PHP Programmers Project Description: Need Experienced dot Net., JSP, PHP, Java Programmers Skilled professional and command in Programming eit

What is a Class in dot Net? The class describes all the attributes of objects, as well as the methods which implement the behavior of member objects. It is a comprehensive data

I would like to develop a new website to compete with an existing one: greatandhra I would like the new website to be less flashy, more content driven and be inspired from below

Write a XML with database with book details (BOOK ID, Title, Author, subject, published Year, language, vendor, price)

What' is the sequence in which ASP.NET events are processed? The sequence in which the ASP.NET events occur are as folows :- 1.     Page_Init. 2.     Page_Load. 3.

Project Description: We require working system to send message in bulk to whats-app numbers without getting blocked. Multiple senders can be used. Skills required: .NET, P

Explain the architecture of ADO.NET in brief. AD0.NET having of two fundamental components: The DataSet, which is disconnected from the data source and does not require to k

Who is a stakeholder? The stakeholder is anyone who has something to gain or lose as a result of the completion or failure of the project or phase. The stakeholder is not on

Describe all elements in Static Chart diagrams. Package: - The Package logically groups element of a UML model. Class: - The Class describes all set of objects with

What are the methods provided by the command object? The command objects used to connect the connection object to the Datareader or the dataset. The command object provided som