![]() A Strong Name consists of the assembly indentity and also a public key and digital signature. This is achieved by creating a strong name for your new assembly. Since all applications can access this library, some security precautions have been taken by Microsoft to ensure uniqueness, version protection, and code integrity. ![]() The steps involved in adding an assembly to the GAC is not as simple as adding the assembly to a web application. Wouldn't it be nice if we could add our library into some common location likes and then just be able to access them by a simple using statment? Well, today, I'll show you how to add an assembly (your library) to the Global Assembly Cache (GAC) so that all your web applications (and windows applications) can access a library which is stored the central location. Then you lose track of which web application has which version of your library, and some of your libraries have added functions and some don't. Although, this cuts down on a lot of duplicate code, anyone with a lot of different web sites runs into the problem of having to copy this library over and over. ![]() You can generate a library of common functions and compile them into a library. ![]() Creating libraries of code for ASP.NET is great.
0 Comments
Leave a Reply. |