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 do you register a .NET assembly?

Answer Posted / lavanya

first step is to create a strong name for your assembly by
using the sdk tool named sn and then using the regasm tool
to register the meta data into the registry.

Syntax:

To create a key pair

sn –k myKey.snk

To sign the assembly with a strong name using attributes

[assembly: AssemblyKeyFileAttribute(@"..\..\key.snk")]

To sign the assembly with a strong name using assembly
linker

al /out:MyAssembly.dll MyModule.netmodule /keyfile:myKey.snk

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of file extensions for razor views in ASP.Net MVC?

1124


What does asp in asp.net stand for?

929


Describe session handling in a webfarm, how does it work and what are the limits?

1021


Can you explain one critical mapping? Performance issue which one is better?

844


What websites use asp.net?

982


What is the difference between a cookie and a pixel?

885


What is asp.net mvc? : asp.net mvc

1040


Name the tools or API for developing or testing web api?

905


Where can I get information on cookies in asp.net?

958


In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?

1107


Why do we need Sessions?

994


Explain the difference between panel and groupbox classes using .net?

914


How to manage different kinds of sessions in ASP.NET?

1008


Why viewstate is used in asp.net?

973


What does asax stand for?

946