Class Library is a one of the project type offered in Visual
Studio. Normally a class library contains class definition or interface. If we
use the class library in projects we can gain the below advantages:
- Provide a single DLL regardless of class files. That is a class library contains number of class files. But the output of the class library is a Single “DLL” (Dynamic Link Library) File.
- The main purpose of the class library comes into picture in a layered architecture projects.For example, a web project contains various layers (such as Business and Data Access Layers). If we use a separate class library for each layer, in this case if any layer changed we just compiled that particular layer and get the dll and replace it in Production environment. At these times, class library project type are best option.
Readers do you have any tip? Please use comment.
0 comments :