Are you hosting this in IIS? On Nov 24, 11:34 am, Khash <[email protected]> wrote: > I'm using the following code to host multiple services at the same > time (CW 2.5) > > IWindsorContainer container = new WindsorContainer(); > container.AddFacility<WcfFacility>(); > > container.Register(AllTypes > .FromAssemblyNamed("MyAssembly") > .Pick() > .If(t => > (t.Name.EndsWith("Service") || t.Name.EndsWith("Repository"))) > .WithService > .AllInterfaces() > .Configure(c => c > .LifeStyle.Transient > .AsWcfService(new > DefaultServiceModel() > > .AddBaseAddresses("http:// > localhost:1010") > > .AddEndpoints(WcfEndpoint > > .BoundTo(new > BasicHttpBinding()) > > .At(c.Implementation.Name)) > > .Hosted() > > .PublishMetadata(o > => o.EnableHttpGet().AtAddress(string.Format("{0}/mex", > c.Implementation.Name)))))); > > But I can't see the services hosted using wcftestclient. > > Any suggestions where I'm going wrong?
-- 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.
