Re: Winsor WcfFacility default lifestyle

25 views
Skip to first unread message

Krzysztof Kozmic

unread,
Nov 14, 2012, 7:35:50 PM11/14/12
to castle-pro...@googlegroups.com
Hi there,

no drama, we're all friendly people here :)

And yes, Unspecified lifestyle ends up being singleton, and that's also the case for WCF services as far as I'm aware.

-- 
Krzysztof Kozmic

On Thursday, 15 November 2012 at 10:30 AM, Michael S. wrote:

Hello all,

I'm a windsor newbie so please don't punish. It looks like the information about WCF facility is a little bit outdated as of 3.1.0. I register my WCF components like that and it seems to work

            container.AddFacility<WcfFacility>()
                .Register(
                    Component.For<IProductStateMachine>().ImplementedBy<ProductStateMachineService>());

I wonder is this component going to be singleton as usually?

--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/castle-project-users/-/EiFvUUxyh-QJ.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.

Krzysztof Kozmic

unread,
Nov 14, 2012, 7:46:57 PM11/14/12
to castle-pro...@googlegroups.com
no worries,

happy to help.

BTW, please note the documentation wiki is open for anyone to submit quality contributions ;)

-- 
Krzysztof Kozmic

On Thursday, 15 November 2012 at 10:45 AM, Michael S. wrote:

Thanks Krzysztof! Such a quick response!


On Thursday, November 15, 2012 4:36:00 AM UTC+4, Krzysztof Koźmic wrote:
Hi there,

no drama, we're all friendly people here :)

And yes, Unspecified lifestyle ends up being singleton, and that's also the case for WCF services as far as I'm aware.

-- 
Krzysztof Kozmic

On Thursday, 15 November 2012 at 10:30 AM, Michael S. wrote:

Hello all,

I'm a windsor newbie so please don't punish. It looks like the information about WCF facility is a little bit outdated as of 3.1.0. I register my WCF components like that and it seems to work

            container.AddFacility<WcfFacility>()
                .Register(
                    Component.For<IProductStateMachine>().ImplementedBy<ProductStateMachineService>());

I wonder is this component going to be singleton as usually?

--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/castle-project-users/-/EiFvUUxyh-QJ.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-users+unsub...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
Reply all
Reply to author
Forward
0 new messages