Yes in the last two hours I arrive to this conclusion. I don't need 
castle in the client side for WCF Facility, (I get confused with a blog 
sample).

However, I'm having another problem. I can't get the wdsl for my service 
with wcf facility... The page keep saying Metadata publishing for this 
service is currently disabled.
My types are marked as [Serialiazed], and my global.asax (the wcf is 
hosted on IIS) looks like:

    public class Global : System.Web.HttpApplication, IContainerAccessor
    {
        protected void Application_Start(object sender, EventArgs e)
        {

            Container = new WindsorContainer()
                .AddFacility<WcfFacility>()
                .Register(Component.For<IServiceBehavior>()
                                    .Instance(new ServiceDebugBehavior
                                             {
                                                 
IncludeExceptionDetailInFaults = true,
                                                 HttpHelpPageEnabled = true
                                             }),
                            Component.For<IServiceBehavior>()
                                     .Instance(new ServiceMetadataBehavior
                                                   {
                                                       HttpGetEnabled = true
                                                   }
                                                ),
                       Component.For<ICustomerService>()
                                    .Named("customerService")
                                    .ImplementedBy<DefaultCustomerService>()
                                    .LifeStyle.Transient);



Germán Schuager escribió:
> Hi Jose,
>
> You only need to reference WCF facility from where you are hosting 
> your services (web application or windows service?) and not from your 
> SL client.
>
> If you are getting started with WCF and SL then read this article: 
> http://www.netfxharmonics.com/2008/11/Understanding-WCF-Services-in-Silverlight-2
>
>
> On Mon, Apr 6, 2009 at 11:03 AM, JoseFR <[email protected] 
> <mailto:[email protected]>> wrote:
>
>
>     I want to know if is possible. I'm new to silverlight and WCF
>     Facility.
>     My main doubt is about add castle and wcf faciility references to the
>     silverlight project.
>
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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