G
Guest
I'm intending to write classes that I'll be using in my web application.
These classes include User, Member, Product, DbManager, Email and etc.
Should I add a new class to my web application project or create a new class
library project and write all the classes there?
One thing I notice that no matter which method I choose, after I build the
classes, there will only be 1 dll file created. For e.g. if I create a new
library project called ABC, and I write all my classes (User, Member,
Product, DbManager, ...) and build them, there's only 1 ABC.dll file created,
rather than User.dll, Member.dll, Product.dll... Is this correct? Or should I
create a User library project for a User class, then a Member library project
for a Member class, ...?
Please enlighten... Thank you.
These classes include User, Member, Product, DbManager, Email and etc.
Should I add a new class to my web application project or create a new class
library project and write all the classes there?
One thing I notice that no matter which method I choose, after I build the
classes, there will only be 1 dll file created. For e.g. if I create a new
library project called ABC, and I write all my classes (User, Member,
Product, DbManager, ...) and build them, there's only 1 ABC.dll file created,
rather than User.dll, Member.dll, Product.dll... Is this correct? Or should I
create a User library project for a User class, then a Member library project
for a Member class, ...?
Please enlighten... Thank you.