Sharing user controls acrros multiple websites

Posted by Jasper on Stack Overflow See other posts from Stack Overflow or by Jasper
Published on 2010-04-14T07:54:01Z Indexed on 2010/05/20 1:00 UTC
Read the original article Hit count: 282

Hello,

I am currently working on a project which involves three different websites with a lot of common functionality. At the moment the common functionality is placed in a different website full of user controls.

The problem is sharing the user controls across the multiple websites. Looking around on SO and other websites, the only solution seems the be using virtual directories. As this is a workable solution (we us this at the moment) it doesn't seem as a "clean" solution.

Which "best practices" exist on sharing common functionality (including the GUI/HTML) between different site?

Is it (for example) possible to create a single Web Application project and deploy subdirectories (each with their own web.config) to different production environments?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#