Asp.Net News
Free Tech Magazines
Asp.Net Web Hosting
Suggest Us
Link to Us
Feeds Subscription
Questions & Answers
Tips & Tricks
 what is the use of Class Library (dll) files in
Posted by shailendra pathak on  3/22/2009 3:36:02 PM Category: Asp.Net 2.0
Add to my favorites
Email to friend
i have seen many times that some one has used .dll files.
example: Ajax
then i want to ask that why .dll files are used .
and how do we create it and how to use it in .
plz tell me.
thank u.

Post Your Reply Post New Question

 Viewer's Reply
Using Class Library to create .Net dll
Answered By Moderator1 on 3/24/2009 10:02:19 AM
A DLL is a library that contains code and data that can be used by more than one program at the same time.

The use of DLLs helps promote modularization of code, code reuse, efficient memory usage, and reduced disk space. Also when dll is used the programs will load faster and also run faster than normal codes.

You can create the dll in .Net by adding a Class Library Project in Visual Studio 2005/2008 project and add some class files in it, then build the project. Browse to the location of the Class Library, and you can view a bin folder created and it will contain the Class Library dll. You can add this dll with "Add Reference" to any Asp.Net projects and use it.
Post Your Reply If you still have problem, post it again under this reply for better response.

Sponsored by
When Good HTML Goes Bad: How You Can Protect Your Web Applications
Sexy Web Design - Free 71 Page Preview!
Backup and Recovery Best Practices for Microsoft SQL Server 2005