.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

What is concept of strong names ?

Posted By :Subhransu Sekhar Jena     Posted Date :October 30, 2014    Points :40   Category :.NET Framework 
While using shared assemblies, in order to avoid name collisions strong names are used. Strong Names are based on private key cryptography , ie private assemblies are simply given the same name as their main file name.

You can also find related Interview Question to What is concept of strong names ?  below: 

What is the concept of strong names ?

  
Strong name is similar to GUID(It is supposed to be unique in space and time) in COM
components.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. (More...)

Explain the concept of Reentrancy?

  
It is a useful, memory-saving technique for multiprogrammed timesharing systems. A Reentrant Procedure is one in which multiple users can share a single copy of a program during the same period. Reentrancy has 2 key aspects: The program code cannot modify itself, and the local data for each user process must be stored separately. Thus, the permanent part is the code, and the temporary part is the pointer back to the calling program and local variables used by that program. Each execution instance is called activation. It executes the code in the permanent part, but has its own copy of local variables/parameters. The temporary part associated with each activation is the activation record. Generally, the activation record is kept on the stack.

Note: A reentrant procedure can be interrupted and called by an interrupting program, and still execute correctly on returning to the procedure. (More...)

what is strong name in .net

  
A strong name in .NET framework is the combination of following information.

a) Name of the assembly
b) version number
c) culture identity
d) public key token. (More...)

What is concept of Boxing and Unboxing ?

  
Boxing permits any value type to be implicitly converted to type object or to any interface type implemented by value type. Boxing is a process in which object instances are created and copy values in to that instance. Unboxing is vice versa of boxing operation where the value is copied from the instance in to appropriate storage location. Below is sample code of boxing and unboxing where integer data type is converted in to object and then vice versa.
Dim x As Integer
Dim y As Object x = 10
' boxing process
y = x
' unboxing process
x = y (More...)

What's a strong name , and What it includes ?

  
A strong name includes the name of the assembly, version number, culture identity, and a public key token. (More...)

What is Data Model concept?

  
Data Model is a collection of conceptual tools for describing data, data relationships data semantics and constraints. (More...)

How to install a strong named assembly to GAC at command prompt?

  
We can use a developer tool called the Global Assembly Cache tool (Gacutil.exe), provided by the .NET Framework SDK or Use Windows Explorer to drag assemblies into the cache.

To install a strong-named assembly into the global assembly cache at the command prompt, type the following command:
gacutil I Asembly_name

In this command, assembly_name is the name of the assembly to be installed in the GAC. (More...)

What is strong name and what is the purpose of strong name ?

  
strong names are same as GUID in com.strong names are used
to deploy assembly in global assembly cache(GAC).

A name that consists of an assembly's identity-its simple
text name, version number, and culture information (if
provided)-strengthened by a public key and a digital
signature generated over the assembly.

Strong name is the identification of an assembly. To avoid
DLL heal we are using the string name. Syntex for creating
a strong name SN (More...)

What is strong name?

  
Signing an Assembly with a strong name is nothing but associating the assembly with a pair of 1,024-bit cryptographic public and private keys. So in general your strong name will contains both the private & public keys.

Folloiwng is an example

sn.exe -k PublicPrivateKeyFile.snk (More...)

What is "Locking" concept in DBMS?

  
Locking is the most common type of concurrency control mechanism. In this approach, any data is retrieved by an active user for updating, must be locked or denied to other users until updating is not complete. (More...)

How the concept of method overriding different from method overloading?

  
When overriding occurs on a method, you can change the behavior of the method for the class you have derived. Overloading a method involves in having another method with the same name within the class. (More...)

What is strong name?

  
Strong name helps GAC(Global assembly cache) to differentiate between two versions.It is only needed when we deploy the assembly with GAC. It uses public key cryptocrophy to ensure that no one spoof it. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend