Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 704
  • Last Modified:

[VB.Net] Building a modular/pluggable web application

We're aiming to build a modular/pluggable web application with the following structure:

* Core Web App: top-level MasterPage, BasePage, BaseControl, Authentication/Authorization, Shared Components: CSS, Images, JavaScript libraries, Common ASCX/Server Controls, etc

* Module/Plug-in 1: ASPX Pages (and code behind), sub MasterPage, Private Components: css/images/javascript, ASCX controls, etc

* Module/Plug-in 2: ASPX Pages (and code behind), sub MasterPage, Private Components: css/images/javascript, ASCX controls, etc

In this case, the core application has a set of classes and resources that all plug-ins will depend on, but the core does not depend on any of the plug-ins.

Each module/plug-in is a separate mini application unto its own, rather than a discrete module meant for placing on any chosen page. It will have its own internal structure and relationships, yet be housed within the core application.

For example, if you have a site like this: http://mysite/

Then, plug-in 1 should be accessed via http://mysite/Plug-in1, and any functions therein by http://mysite/Plug-in/Function1.aspx ... etc etc

If we were to implement this in a single-solution / Web Application Project, by putting each plug-in in its own folder, the code would all compile into one web application DLL that will need to be deployed. And that's not what we're looking for, because the plug-ins are meant to be optional extensions to the core application.

We want to be able to distribute the core application, and easily add plug-ins to it lateron.

Any ideas how to go about this?
0
MarjaR
Asked:
MarjaR
  • 2
  • 2
1 Solution
 
moseackCommented:
Use can use one main Web-Aplication-Project (WAP), as the core, and multiple Plugin Sub-WAPs that (1) Refrence the Core-WAP (2) Are set to run as part of the bigger Web-Application(http://blogs.msdn.com/webdevtools/archive/2006/07/01/652986.aspx)

An other interesting option is to use Web Application Project Libraries:
http://www.codeplex.com/wapl
0
 
MarjaRAuthor Commented:
Thank you for your fast reply. I will look into those options and get back here.
0
 
MarjaRAuthor Commented:
I think the sub-projects are just what I need. Thank you for pointing me towards http://blogs.msdn.com/webdevtools/archive/2006/07/01/652986.aspx !
0
 
moseackCommented:
Happy to assist.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now