ASP.NET plug-in architecture, settings problem

Posted by Xaqron on Stack Overflow See other posts from Stack Overflow or by Xaqron
Published on 2010-06-13T10:54:22Z Indexed on 2010/06/13 11:42 UTC
Read the original article Hit count: 309

I want to divide business layer (BLL) of an asp.net application into multiple components. Each component is a .NET class library which is compiled as a standalone DLL. These components should have their own configuration files. For example "MyNameSpace.Users.dll" contains classes about users of the website and there's a password policy to check if password length is at least x characters. When webmaster edits the config file of this DLL and set x to y then component (DLL) should use new value (y) in the future and enforce passwords to be at least y characters. I want each component as a single project and compile them separaely (and not to put all projects in a solution in Visual Studio), and put the DLLs of these libraries into the "Bin" folder of my ASP.NET application.

Is it possible ? Where should I put these config files ?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about architecture