.NET: Split web application into multiple DLLs?
- by aximili
Is it possible to compile some code-behind (.cs) files (eg. all .cs file under a particular folder) into one DLL, and the rest into another DLL?
We have some common codes and pages (aspx + cs files) that we want to use across many websites. We want this to compile into a DLL (eg. Common.dll).
The rest of the files will be website-specific, unique to each website and should compile into another DLL (eg. Website3.dll)
This is so that if we make changes to a common code-behind, we can just publish Common.dll onto all our websites.
Is that possible using VS Web Developer Express 2008?
Thanks in advance.
EDIT: We are already using a class library, but not for pages (aspx+cs)