@Carmine - is there any chance that multiple instances of your application
are being started - thus you get multiple containers?the container should be
held as a static instance, and instantiated once per app domain


On Fri, Sep 25, 2009 at 10:22 AM, CarmineM <[email protected]> wrote:

>
> Hi Jason,
>
> On 24 Set, 23:19, Jason Meckley <[email protected]> wrote:
> > write a test to confirm this.
> >
> > var one = container.resolve<IApplicationFacade>();
> > var two = container.resolve<IApplicationFacade>();
> > Assert.AreEqual(one, two);
>
> Will try this too as soon as I get home this evening.
> Thanks for your help!
>
> >
>


-- 
Ken Egozi.
http://www.kenegozi.com/blog
http://www.delver.com
http://www.musicglue.com
http://www.castleproject.org
http://www.idcc.co.il - הכנס הקהילתי הראשון למפתחי דוטנט - בואו בהמוניכם

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to