WCSF for Sharepoint WebParts

Topics: Project Management Forum, User Forum
Sep 17, 2007 at 3:49 PM
Hi all,

I have been evaluating the features of WCSF to frame and guide the construction of an ASP web application with advanced enterprise features, such as page flows, page composition, global navigation, logging and authorization. All those areas are covered quite well in WCSF, and I also appreciate the GAT/GAE tools to automate part of the code generation.

I am willing to understand if the factory, now or in the future, may be used to efficiently develop applications with a web interface based on WebParts for SharePoint 2007 (WSS v3 and MOSS).

In my view this evolution should support the creation of views, presenters, controllers and pageflows for webpart classes. A characteristic of webparts is that they do not allow the inclusion of ASP pages, instead you can load ASCX user controls. Hence a Webpart aware WCSF may, for example, implement views as ASCX user controls, and presenters and other classes in C#/VB Code.

Is there any plan to move in such a direction?

Thanks in advance.

Sep 17, 2007 at 6:48 PM
Edited Sep 17, 2007 at 8:24 PM
Hi j.

We are not planning to include special support for WebParts for the next version of WC-SF. However, it will include support for creation of ascx user control views implementing the MVP pattern using dependency injection. You can get the latest drop from the Source Code section.

WCSF vNext Weekly Drop

Hope it helps!

Sebastian Iacomuzzi
Sep 18, 2007 at 10:10 AM
Hi Sebastian, thank you for your answer.

This seems quite good news for me at the moment: when WCSF will provide support for the creation of ASCX controls we will be able to use them in Sharepoint, either through a custom made or an off-the-shelf webpart wrapper for user controls, like Jan Tielens' SmartPart (ref.links 1-2).

Do you expect support for user controls in next release of WCSF would include controls with page flows?



1- http://weblogs.asp.net/jan/archive/2006/12/02/announcing-the-return-of-the-smartpart.aspx
2- http://www.smartpart.info
Sep 18, 2007 at 6:24 PM

On the subject of Web Parts, we are looking into guidance around building applications in SharePoint. Included in this would be looking at web parts.

On PageFlow, we initially considered providing support for PageFlow in user controls, but we did not get enough customer feedback and scenarios for it to be part of the release. Although we have not yet provided support for this, you can by all means jump into the PageFlow code and implement something that meets your needs. You'll need to modify or write a custom NavigationService as the one in the box uses Response.Redirect to move to a new page.

We'd love to hear your scenarios on using Web Parts and PageFlow with User Controls.