| We can say that assembly is a combination of | | | | of code through DLL. And when same dll is |
| single-file or multiple files in ASP NET. The | | | | needed in applications then users have to |
| assembly which contains more then one file is | | | | register that DLL on to the machine. One of |
| dynamic link library (DLL) or we can also say | | | | main thing in ASP NET is that the assembly is |
| it's an EXE file. In ASP.NET assembly | | | | created by default when we build our |
| contains metadata that is pronounced as | | | | application or DLL. We can also check the |
| assembly manifest. This manifest of assembly | | | | details of the manifest of the assembly by |
| contains data about the assembly versioning, | | | | using classes located in the |
| AuthorName, Security, Token Key etc that's | | | | System.Reflection namespace. We can create |
| makes assembly popular and secure. | | | | two types of assemblies in ASP NET. |
| | | | |
| We can also say it's a big advantage of | | | | Private Assembly |
| assembly and another big advantage of using | | | | |
| ASP.NET Assemblies is that programmer need | | | | Shared Assembly |
| not to create applications without | | | | |
| interfering with other applications on the | | | | There are many advantages of assembly some of |
| system its means assembly requirement in one | | | | them are as follows: |
| application cannot harm another application | | | | |
| that using that assembly because assembly in | | | | (1) Increased performance. |
| one application is not applied to another | | | | |
| application. | | | | (2)Better code management and encapsulation. |
| | | | |
| But one assembly can be shared with many | | | | (3)Introduces the n-tier concepts and |
| applications. In asp dot net 2003 assembly is | | | | business logic. |
| placed in Bin directory of the application | | | | |
| that uses it. This advantage make assembly so | | | | In asp dot net System namespace and other |
| popluar because this is one of the drawback | | | | namespaces like it i.e. System.Data, |
| in of DLL in the past. | | | | System.Web are also pre-built assemblies that |
| | | | have been provided in the dot net framework |
| In past, developers need to share libraries | | | | to us by Microsoft. |