Infrastructure Namespace

Topics: CAB & Smart Client Software Factory
Jun 6, 2007 at 7:06 PM
I have a philosophical question about the infrastructure namespace.

Is it the intent of the SCSF that this entire namespace be shared between separate applications, or should each application have its own Infrastructure namespace (and this is what the guidance seems to suggest by creating one each time you create a new application)?

And as a followup, if it's not supposed to be shared, where has everyone been putting custom control libraries (the reference application puts them in Infrastructure.UI?

Jun 6, 2007 at 11:35 PM
We have a shared assembly called CompositeUI.Extensions. We wrote this before we started using the SCSF. After we changed our app to use the SCSF we saw the Infrastructure assemblies, but kept out CompositeUI.Extensions assembly.

I try and break it down thus: Anything I think I might want to use in another solution I put in CompositeUI.Extensions. Anything that I think is probably native to the applicatoin I'm building goes in Infrastructure.