Is there a limit to how many classes can be contained inside of a dll in an asp.net application?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on what you are trying to do.
By default, all of your ASP.Net code will compile into a single DLL, which is typically named after the application in question.
However, if you need multiple classes to provide support for your data access layer, or custom objects, your best bet is to create a solution in Visual Studio with multiple projects. A class library for your data access layer, and a class library for each of your custom objects.
From there you can simply add a reference to each of your custom libraries from within your ASP.Net application and the web application will pull in the updated DLLs as needed.