What are my options here.. in my project I'm proposing to integrate WCF and nHibernate and use Castle windsor as container. Using Castle 2.5.0.1 with NHibernate Integration facility works like a charm. Please advise how to go about integrating WCF. I would appreciate if you can point me to some workaround logic until Castle trunk builds up to integrate with both facilities.
On Sat, Oct 29, 2011 at 2:36 PM, Craig Neuwirt <cneuw...@gmail.com> wrote: > You can't use WCF 3.0 without using Core/Windsor 3.0 > > Sent from my iPhone > > On Oct 29, 2011, at 6:26 AM, Gopal <gopalakrishnan...@gmail.com> wrote: > > > The error message indicates the assembly for castle 3.0.0 is needed when > I use 2.5.0.1 > > > > > > On Oct 28, 2011, at 4:04 PM, Craig Neuwirt <cneuw...@gmail.com> wrote: > > > >> Are you having a particular problem? > >> > >> On Oct 28, 2011, at 9:52 AM, Greg wrote: > >> > >>> Hi Guys, > >>> > >>> I'd been literally pulling my hair on this for past few days. I'm > >>> trying to use Castle Core/Windsor(2.5.1.0) to integrate with WCF. The > >>> reason I'm trying to use Castle 2.5.1.0 is that it works well with > >>> NHibernate integration facility (version 1.1.0.1) and I was to add it > >>> up with WCF. But I'm sure I miss something in there. > >>> > >>> Environment > >>> IIS on Windows XP > >>> > >>> The versions I'm trying to use > >>> 1. Castle Core 2.5.1.0 > >>> 2. Castle Windsor 2.5.0.1 > >>> 3. Castle.Facilities.WcfIntegration 3.0.0.0 (I may be wrong in using > >>> it) > >>> 4. > >>> > >>> .svc file > >>> ----------- > >>> <%@ ServiceHost > >>> > >>> Factory="Castle.Facilities.WcfIntegration.DefaultServiceHostFactory, > >>> Castle.Facilities.WcfIntegration" > >>> Service="CalculatorService" %> > >>> > >>> Global.asax > >>> ------------------- > >>> Application_Start > >>> Container = New WindsorContainer(New XmlInterpreter("windsor.config")) > >>> > >>> Windsor.config > >>> -------------------- > >>> <?xml version="1.0" encoding="utf-8" ?> > >>> <configuration> > >>> > >>> <facilities> > >>> <facility id="WcfFacility" > >>> > type="Castle.Facilities.WcfIntegration.WcfFacility,Castle.Facilities.WcfIntegration"> > >>> </facility> > >>> </facilities> > >>> <components> > >>> <component id="CalculatorService" > >>> > service="TESTService.Calculator.ICalculatorService,TESTService.Calculator" > >>> > type="TESTService.Calculator.Impl.CalculatorService,TESTService.Calculator" > >>> lifestyle="transient"> > >>> </component> > >>> <!-- go registering other components as above--> > >>> </components> > >>> </configuration> > >>> > >>> Please let me know if I'm missing something here. Basically it all > >>> boils down to how to use Castle 2.5.1.0 and integrate with WCF on IIS. > >>> > >>> -- > >>> You received this message because you are subscribed to the Google > Groups "Castle Project Users" group. > >>> To post to this group, send email to > castle-project-users@googlegroups.com. > >>> To unsubscribe from this group, send email to > castle-project-users+unsubscr...@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. > >> To post to this group, send email to > castle-project-users@googlegroups.com. > >> To unsubscribe from this group, send email to > castle-project-users+unsubscr...@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. > > To post to this group, send email to > castle-project-users@googlegroups.com. > > To unsubscribe from this group, send email to > castle-project-users+unsubscr...@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. > To post to this group, send email to castle-project-users@googlegroups.com > . > To unsubscribe from this group, send email to > castle-project-users+unsubscr...@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. To post to this group, send email to castle-project-users@googlegroups.com. To unsubscribe from this group, send email to castle-project-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.