Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can we give strong name to assembly? What is satellite
assembly?

Answers were Sorted based on User's Feedback



How can we give strong name to assembly? What is satellite assembly?..

Answer / srilakshmi

To sign an assembly with a strong name, we must have a
public/private key pair. It can be generated by using
sn.exe (strong name) utility.

1. Type the following at the command prompt
sn -k mykey.snk

2. Open the project in VS.NET
3. open solution explorer window, right click on ur project
name -> properties
4. click on the signing tab in the properties page
5. select the "sign the Assembly" checkbox
6. click the dropdown list and select strong name key file.
7. Build the application


Satellite Assembly: is a resource assembly that include
separte resources for different cultures. This assembly
allow a different set of resources to be loaded
automatically based on the culture of the thread.

Is This Answer Correct ?    3 Yes 0 No

How can we give strong name to assembly? What is satellite assembly?..

Answer / fabin rodrigues

Before signing an assembly we have to prepare the strong
key.

Step 1:

Go to Command prompt type---> sn.exe -k "Path for saving
the key"

eg:

C:\Program Files\Common files\test> sn.exe -k "D:\test.snk"

the key pair will be generated in the particular location

Step 2:

Click on the Project Properties and Go to signing Tab
And browse for the strong key generated and and sign the dll


Satellite assemblies are assemblies which do not contain
source code. They only contain resource files. You can
create a satellite assembly using rsgen.exe and al.exe.
They are in binary DLL format which makes it easier to ship
it during deployment. So finally during deployment you do
not need to ship the resx files but only the compiled
satellite DLL.

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More C Sharp Interview Questions

What is a long in c#?

0 Answers  


Why do we need to serialize data?

0 Answers  


So what makes your code really object-oriented #?

0 Answers  


What is attribute and reflection in c#?

0 Answers  


How can we convert XML Data to DataBase Table in C#.Net?

2 Answers   Wipro,


Why can’t struct be used instead of class for storing entity?

0 Answers  


Why do we need dependency injection in c#?

0 Answers  


What is difference between ilist and list?

0 Answers  


What is the use of "default" and "Using" keyword?

3 Answers   TCS,


What is interface used in c#?

0 Answers  


What is the difference between dispose() and finalize() methods in c#?

0 Answers  


What are the Types of values mode can hold session state in web.config

0 Answers   BirlaSoft,


Categories