Can CAB be used for building ASP.NET application?

Topics: CAB & Smart Client Software Factory
Oct 26, 2006 at 1:27 PM
originally posted by: lewtravl

Most reading I've done explain CAB as a code-based component used to build complex smart client user interface, but I can't find anything that tells me not to use CAB to build ASP.NET or browser-based applications.

I am currently building an application using CAB and Winforms, but at some point I'd like to extend it to support a browser-based front end using ASP.NET. Most CAB examples I've seen use the MVC pattern. Ideally, I'd like to share the 'model' and 'controller' classes between the winform and ASP.NET applications, and just swap out the 'view'. However, in all the CAB examples, the Controller base class has a reference to a WorkItem which is a part of CAB. This being the case, is it bad for an ASP.NET page to reference the Controller class? Is it Winform specific? I've also read about CAB for web client, so how would that fit into my situation?
Oct 28, 2006 at 5:31 AM
originally posted by: askew

I don't believe you can use CAB directly as a web app, (not easily, anyway).

There is a new software factory in progress at P&P that meets your requirement:
http://www.codeplex.com/wiki/view.aspx?projectname=websf

You should be able to reuse much of your code, given the guidance of 'seperation of concerns' that we obtain with MVP.