AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 What is use of dll class libraries in ADO.NET
Posted by Ganesh Dixit on  2/17/2012 12:26:27 AM Category: ADO.NET
Add to my favorites
Email to friend
I a using Visual studio 2008.
I dont know that why people use class libraries in ado.net projects..?
if i create a class library and add reference of it to the project ,
can i move that project without taking the source of that class library.....?
so that no 1 can see my code .....
Thanx in advance......

Post Your Reply Post New Question

 Viewer's Reply
Use of Class Library Project in Asp.NET
Answered By Moderator1 on 2/17/2012 10:41:21 AM
Hi,

There are many use of creating a class library.
1. It bisects your project into smaller piece and it helps for code management.
2. It helps you in code re-use. That means you can write code once, and as you said, by adding the reference to the required project, you can re-use all the classes in the library.

It is always recommended to create project with class library for data access layer and business logic layer.
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Simply SQL - Free 111 Page Preview!
Speech Technology Magazine
Building a Web Application Security Program