.NET: Split web application into multiple DLLs?

Posted by aximili on Stack Overflow See other posts from Stack Overflow or by aximili
Published on 2010-05-05T07:33:05Z Indexed on 2010/05/05 23:18 UTC
Read the original article Hit count: 321

Filed under:
|
|

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)

© Stack Overflow or respective owner

Related posts about .NET

Related posts about web-applications