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
Read an Array and perform Sorting - C# program Can any one assist me in performing sorting of an array.

Web Service based application: Aims and Objectives Classics Online is a Web-based book and music retailer specialising in pre-1980s hardback

I need a project which shows Paypal integration with ASP.net website We have events website written in C# and ASP.net. We want to integrate Paypal using API and have a full inte

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

Job Portal A one-stop explanation to all your needs. Consist of employee as well as employer login accounts. Employee capable to look for jobs. Employer capable to post jobs.

I need a Web Application UI Modernization - Preliminary Technology Assessment We are seeking to overhaul a 10-year old enterprise application, CRM-related as well as web-based t

What is cyclomatic complexity and why is it important? Cyclomatic complexity is a computer science metric (measurement) developed by Thomas McCabe used to generally calculate t

ASP.NET/MSSQL/ MVC completing backend solution + integrating with frontend. - repost Project Description: System is used for tracking company's activities through several pro

i want to know the code for adding new item button in .net forms and delete button in vb.net forms. can any one pls help

What is the difference between Class and structure's? The main differences between them are as follows:- 1) The Structure is value types while classes are referen