Home
Releases
Discussions
Issue Tracker
Source Code
Stats
People
License
RSS RSS Feed
Search Wiki:

IMPORTANT: this project has been rolled into, and superseded by, the SCSFContrib project.


The SCSFContrib project includes a complete rewrite of the WPF/CAB layer that focuses on correctness, usability and performance. It is backed by a large suite of unit and functional tests and also includes comprehensive API and user documentation. You should migrate from this implementation to SCSFContrib as soon as possible.

Note that there are some breaking changes in the migration (mostly minor in impact). Here is a non-exhaustive list:
  • UI element insertion indexes are now specified by an attached property rather than hijacking the FrameworkElement.Tag property.
  • Workspaces can be configured in XAML rather than requiring code-behind. As an example, see the ZoneWorkspace documentation.
  • There are no modifications to the CAB core. Hence, the IWorkspace.SmartPartActivating event is no longer present.
Last edited Jul 5 2007 at 5:36 AM  by kentcb, version 6
Comments
smodak wrote  Dec 20 2006 at 5:13 PM  
This is great Kent!
Thanks for doing this.
I am having a problem running the sample application.
protected override sealed void CreateVisualizationShell()
{
RootWorkItem.Items.AddNew<VisualizerWindow>("VisualizerWindow").Show();
}

blows up as it is looking for some CabVisualizer.cs file in your desktop. I commented visualization in the sample app.config to run the project without the visualization and that works for now...but no visualization ;)

kentcb wrote  Dec 24 2006 at 5:18 AM  
Glad you find this useful, smodak. If you download the latest source this problem should be fixed. Let me know if you still get it.

armen wrote  Jan 3 2007 at 8:38 PM  
This is indeed great. But isn't Microsoft going to provide CAB over WPF as well? Maybe even adopt this product?

Bitwise wrote  Jan 8 2007 at 8:28 PM  
Looks very cool!

kentcb wrote  Jan 12 2007 at 12:16 AM  
Thanks guys. I'm unsure whether MS intend to provide a WPF layer for CAB themselves. Indeed, I wrote this because I needed one and MS couldn't tell me whether they would be writing one. I don't think they can adopt this one, however, due to licensing and their internal policies.

felixpollan wrote  Feb 14 2007 at 9:24 PM  
Thank you Kent for working on this project! Till now Microsoft does not issue anithing like that. I really hope Pattern & Practices team will take a look at your job to avoid reinvent the wheel.

felixpollan wrote  Feb 14 2007 at 9:25 PM  
Thank you Kent for working on this project! Till now Microsoft does not issue anything like that. I really hope Pattern & Practices team will take a look at your job to avoid reinvent the wheel.

bistok wrote  Feb 16 2007 at 8:41 PM  
In the file CustomerMap.xaml use a Frame not a interop WebBrowserControl.
<Frame Name ="Browser" Padding="0,0,0,0"></Frame>
and in the file: CustomerMap.xaml.cs load the page with the command:
Browser.Source = new Uri(url);

bennedik wrote  Feb 19 2007 at 3:18 PM  
At http://www.codeplex.com/smartclient Microsoft is saying that "Support & Guidance for Windows Presentation Foundation interoperability" is planned for an April update, but it is not clear what is meant.
I have created a feature proposal at the smart client issue tracker at http://www.codeplex.com/smartclient/WorkItem/View.aspx?WorkItemId=8350.
Please consider voting for this issue.

kentcb wrote  Feb 20 2007 at 10:22 AM  
Thanks for the info bennedik.

Bistok, the sample is just there for demonstration purposes. One of the things I wanted to show was explicit interop with winforms. To be honest, I'd be very surprised if the frame control isn't doing exactly the same thing behind the scenes.

dplattipswich wrote  Feb 26 2007 at 11:14 AM  
Kent, this is David Platt. I've been working on a port of Smart Client SOftware Factory to WPF, using your DLLs as a base, and I'd like to discuss that with you. Can you ping me using the contact form at http://www.rollthunder.com/Contact/contactfrm.htm (spam spiders, y'know), I'll reply, and we'll go from there? Thanx.

peterdownes wrote  Mar 28 2007 at 7:09 AM  
Kent, thanks for the great work. I had a few issues integrating with Enterprise library (Specifically Caching). Had to recompile using Enterprise Library's ObjectBuilder. Did you do anything WPF specific in your ObjectBuilder? Regards.

kentcb wrote  Mar 31 2007 at 5:14 AM  
Hi Peter,

No I did not modify ObjectBuilder apart from giving it a strong name. I suspect that there was a clash between the key used to sign Entlib and that used to sign WPF/CAB.

israelio wrote  Apr 17 2007 at 7:24 PM  
Hi Kent,

Just added the SCSFWPF (http://www.codeplex.com/scsfwpf) to codeplex.
The SCSFWPF is modification of SCSF to support you WPF implementation for building rapid WPF CAB based applications.

Ohad.

kentcb wrote  Apr 21 2007 at 2:03 AM  
Thanks Ohad - that's great!

ssunilnaidu wrote  Jun 21 2007 at 10:28 AM  
Hi... guys can any one send me the link or application itself for BankTeller WPF version to my mail..... i am eager to look at it...

ssunilnaidu wrote  Jun 21 2007 at 11:34 AM  
hey.. forgot to put my mail ID it is ssunilnaidu@yahoo.com or sunilkumar.s@sonata-software.com

moshiur wrote  Jul 5 2007 at 6:25 AM  
hi ssunil naidu here is the WPF version of cab/scsf with bankteller in wpf.
http://www.codeplex.com/scsfwpf

komminane wrote  Jul 11 2007 at 6:50 PM  
Where can i found the list of the things to install to get the WPF version of the CAB.

Can some one give me this information

nbgandhi wrote  Oct 28 2007 at 5:22 AM  
Hi,
I need an Mdi Workspace so as to host my wpf .The Mdi Workspace is missing in the SCSFContrib.Can you guide me as to how this can be achieved.Thanks

Updating...