Re: Registration Performance

2009-06-23 Thread Ayende Rahien
Can you create a small test case that would allow us to profile optimize this? On Tue, May 19, 2009 at 2:26 PM, Juanma gul...@gmail.com wrote: RaiseHandlerRegistered is called 480 times. That results in 25K calls to DependencySatisfied, which in turn calls HasValidComponent 53K times.

Re: ActiveRecord Override Property

2009-06-23 Thread DaveG
You can use it on the [Property] or [PrimaryKey] attribute to override a property or primary key with the same name in a base class. Dave. On Jun 20, 10:37 pm, Gabriel Mancini de Campos gabriel.manc...@gmail.com wrote: Thanks DAVE!! can i put this decoration attribute in any property ? On

Re: MonoRail ViewComponent not rendering Url.Link correctly

2009-06-23 Thread Ken Egozi
you might be able to overcome this by assigning item.Value to a local variable. Not sure about brail syntax for that. perhaps ul ?brail for item in navLinks: ? % options = item.Value % li${Url.Link(item.Key, options)}/li ?brail end ? /ul Though I'm not sure about the syntax, and not sure that it

Help please - CommunicationException issues with WCF...

2009-06-23 Thread Grant
The problem I am experiencing is that if I leave my WCF service host running idly for a period (beyond the binding receive timeout?) then I find that subsequent method invocations from the client can result in a stream of CommunicationException , CommunicationObjectAbortedException, IOException

using.castleproject.org broken?

2009-06-23 Thread Symon Rottem
The website at http://using.castleproject.org appears to be down. Has this moved or is it just broken at the moment? Cheers, Symon. Symon Rottem http://blog.symbiotic-development.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: MonoRail ViewComponent not rendering Url.Link correctly

2009-06-23 Thread jarrod
I really think there is a bug in the Castle.MonoRail.Views.Brail Even changing the view to the following: ul ?brail for item in navLinks: ? ?brail options = navLinks[item.Key]

Re: using.castleproject.org broken?

2009-06-23 Thread Jonathon Rossi
It is currently broken. Hammett and Henry are aware of it. It was fixed but seemed to break again. On Tue, Jun 23, 2009 at 10:06 PM, Symon Rottem s.rot...@gmail.com wrote: The website at http://using.castleproject.org appears to be down. Has this moved or is it just broken at the moment?

Re: Help please - CommunicationException issues with WCF...

2009-06-23 Thread Craig Neuwirt
Assuming you are using trunk of WCF Facility, the behavior of the proxy is to first ensure that the channel is not closed or faulted. If it is, it will create a new channel. If connection to the service host is lost for some reason, but the channel still reports it is ok then you will get an

Re: Help please - CommunicationException issues with WCF...

2009-06-23 Thread Craig Neuwirt
On Tue, Jun 23, 2009 at 8:38 AM, Grant grant.dr...@gmail.com wrote: Hi Craig, Thanks for teh reply. Yes I am using the trunk of the facility (and 2.0 of Castle Windsor). Indeed if I drectly create the service on the client using the ChannelFactory, everything works and that error does not

Re: Help please - CommunicationException issues with WCF...

2009-06-23 Thread Craig Neuwirt
Hey Grant, Took a quick look at your demo (very nice to test with) and as I suspected, the problem is intrinsic to WCF. The reason the example using ChannelFactory directly worked is because your creating a new proxy for every request. When I changed it to reuse the proxy the same exact

Re: Help please - CommunicationException issues with WCF...

2009-06-23 Thread Grant
Hi Craig, Sounds like you can do some digging then - hopefully the demo project should help with the repros. In the meantime I have given up on the WCF client facility and instead going with the ChannelFactory approach. I have put it in my service locator implementation so it is all transparent

Re: Help please - CommunicationException issues with WCF...

2009-06-23 Thread Craig Neuwirt
On Tue, Jun 23, 2009 at 10:16 AM, Grant grant.dr...@gmail.com wrote: Hi Craig, Sounds like you can do some digging then - hopefully the demo project should help with the repros. In the meantime I have given up on the WCF client facility and instead going with the ChannelFactory approach.

Re: Wcf Integration Facility problems

2009-06-23 Thread Craig Neuwirt
On Tue, Jun 23, 2009 at 10:17 AM, danel ldanell...@gmail.com wrote: Hello, I am trying to integrate my custom ServiceCredentials into the serviceBehaviors by using this code: component id=tradeUserNameCredential service=System.ServiceModel.Description.IServiceBehavior,

Re: Using Rescue Attribute

2009-06-23 Thread Ken Egozi
does BaseController inherit SmartDispatcherController On Tue, Jun 23, 2009 at 8:51 PM, Jan Limpens jan.limp...@gmail.com wrote: Hello, I am trying to make use of custom rescues, but so far, I am not really getting anywhere. On my controller I have: [Rescue(typeof(RescuesController),

http://using.castleproject.org is online again

2009-06-23 Thread Henry Conceição
Cheers, Henry Conceição --~--~-~--~~~---~--~~ 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

Re: JSONReturnBinder

2009-06-23 Thread Alex Henderson
I did something similar last year for an ExtJS based RIA app... [AttributeUsage(AttributeTargets.ReturnValue, AllowMultiple = false, Inherited = false)] public class EpochJsonReturnBinderAttribute : JSONReturnBinderAttribute { /// summary /// Converts target object to its JSON

Re: Using Rescue Attribute

2009-06-23 Thread Jan Limpens
yeah, but it seems the jsonreturnbinder attribute misleads things... 2009/6/23 Ken Egozi egoz...@gmail.com does BaseController inherit SmartDispatcherController On Tue, Jun 23, 2009 at 8:51 PM, Jan Limpens jan.limp...@gmail.comwrote: Hello, I am trying to make use of custom rescues, but