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

What is cookies in asp net?

945


What is asp.net used for?

1100


What is inproc mode in session?

942


What is client side state management?

965


If you are using components in your application, how can you handle exceptions raised in a component?

2680


What is %20 in a url?

909


How can you make sure that web api returns json data only?

985


Will the asp.net validators run in server side or client side?

1143


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

1150


What are the security types in asp.net?

1065


What is the use of HttpHandlers? When to use this?

1113


If you are using two select queries and retrieving data. how do you access second query's result set using data reader?

5586


How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know

1099


How can you use a custom controls in ASP.NET application?

1002


What is asp short for?

1007