Re: Circular dependency and setters - How?

2009-01-28 Thread Chucara
The singleton requirement might be a problem for us as well, but I suppose we could set the requirements ourselves. Basically, we need: - Mutually dependent services - A MVP pattern, where the view and presenter are also mutually dependent, and cannot be singletons.

Re: Still need AbstractMRTestCase

2009-01-28 Thread Flominator
Tried it with Selenium by following http://danbunea.blogspot.com/2007/01/test-first-web-applications-tdding.html and found out that you better put mSelenium.Start() into [SetUp] instead of [SetUpFixture]. Else every test after the first one will fail with sessionId should not be null; has this

Re: Circular dependency and setters - How?

2009-01-28 Thread Ayende Rahien
There is o singeton reqirement On Wed, Jan 28, 2009 at 3:35 AM, Chucara chuc...@gmail.com wrote: The singleton requirement might be a problem for us as well, but I suppose we could set the requirements ourselves. Basically, we need: - Mutually dependent services - A MVP pattern, where the

Re: DefaultTransactionManager Thread Safe?

2009-01-28 Thread Tim Scott
Okay, I lied. Here is the AR config: activerecord default-lazy=true config add key=connection.driver_class value=NHibernate.Driver.SqlClientDriver / add key=dialect value=NHibernate.Dialect.MsSql2005Dialect / add key=connection.provider

Re: DefaultTransactionManager Thread Safe?

2009-01-28 Thread Tim Scott
Castle trunk has three concrete implementations of IThreadScopeInfo: ThreadScopeInfo, WebThreadScopeInfo and HybridThreadScopeInfo. I assume that because I do not have isWeb=²true² I am using the ThreadScopeInfo. Should I add isWeb=²true², and do you think that will solve it? Do I need to write

Re: DefaultTransactionManager Thread Safe?

2009-01-28 Thread Ayende Rahien
I think that you need to write one that will use the WCF call context to keep the session On Wed, Jan 28, 2009 at 9:46 AM, Tim Scott tsc...@lunaversesoftware.comwrote: Castle trunk has three concrete implementations of IThreadScopeInfo: ThreadScopeInfo, WebThreadScopeInfo and

ActiveRecord and Pagination with large resultsets

2009-01-28 Thread rjlopes
Hi, what is the best way to use the PaginationHelper with large resultsets (houndreds of thousands of objects)? The examples I saw used FindAll() with doesn't seems very efficient unless some king of lazy loading is made to load the all page in one query, is lazy loading + batch fetching the way

Castle trunk and Cache support

2009-01-28 Thread rjlopes
What is the current cache support for the trunk version? I saw somewhere that there were (or considering to) changes on the Cache facility or the cache system. Also the Caching Support page is not available in the documentation, where is documentation available about the cache mechanisms, how

performance probelm with WCF facility using Transient proxies

2009-01-28 Thread Will A
I am trying to integrate the geneva framework into the WCF Facility. I have successfully created a custom channel builder and this is being called correctly. As geneva attached the client claims set to the channel we need the channels (i.e. proxies) to be transient. I have, however found an issue

Re: ActiveRecord and Pagination with large resultsets

2009-01-28 Thread Colin Ramsay
SlicedFindAll? On Wed, Jan 28, 2009 at 2:50 PM, rjlopes rjlo...@gmail.com wrote: Hi, what is the best way to use the PaginationHelper with large resultsets (houndreds of thousands of objects)? The examples I saw used FindAll() with doesn't seems very efficient unless some king of lazy

Re: Castle trunk and Cache support

2009-01-28 Thread hammett
For what project? On Wed, Jan 28, 2009 at 6:48 AM, rjlopes rjlo...@gmail.com wrote: What is the current cache support for the trunk version? I saw somewhere that there were (or considering to) changes on the Cache facility or the cache system. Also the Caching Support page is not

Re: performance probelm with WCF facility using Transient proxies

2009-01-28 Thread Craig Neuwirt
Does sound like a bug. I'll look at it. thanks, craig On Wed, Jan 28, 2009 at 6:32 AM, Will A willalderso...@yahoo.co.uk wrote: I am trying to integrate the geneva framework into the WCF Facility. I have successfully created a custom channel builder and this is being called correctly. As

Re: performance probelm with WCF facility using Transient proxies

2009-01-28 Thread Craig Neuwirt
Should be fixed on trunk. Any interest in contributing the Geneva adapters to the WCF Integration Faclity? thanks, craig On Wed, Jan 28, 2009 at 6:32 AM, Will A willalderso...@yahoo.co.uk wrote: I am trying to integrate the geneva framework into the WCF Facility. I have successfully

Re: WCF Facility and console self-hosted web services

2009-01-28 Thread Craig Neuwirt
What do I do when I run the executable in WCFTestFacility? On Wed, Jan 28, 2009 at 12:20 PM, Robert M. robertcmir...@gmail.com wrote: Hi Craig, Any hints related to my problem? R. On Jan 28, 12:21 am, Craig Neuwirt cneuw...@gmail.com wrote: Found it On Tue, Jan 27, 2009 at 4:19 PM,

Re: DefaultTransactionManager Thread Safe?

2009-01-28 Thread Ayende Rahien
Because if you are also using WCF, the HTTP context is not ensured. On Wed, Jan 28, 2009 at 12:28 PM, hammett hamm...@gmail.com wrote: Why? IsWeb=true should be enough.. albeit I dont see how transactions will be involved in thread switches.. On Wed, Jan 28, 2009 at 6:49 AM, Ayende Rahien

Re: DefaultTransactionManager Thread Safe?

2009-01-28 Thread Tim Scott
I saw that about compatibility mode. More about it here: http://msdn.microsoft.com/en-us/library/aa702682.aspx Is there a down side to that, assuming I will always to use HTTP and host in IIS? On Jan 28, 2:03 pm, Eric Hauser ewhau...@gmail.com wrote: It is if you run in compatibility mode:  

Re: Scaffolding remove does not work on rc3 nor svn

2009-01-28 Thread Loic Nageleisen
On 7 Jan 2009, at 10:37, Loic Nageleisen wrote: Hello everyone, Coming from a django and cakephp background, I was recently interested in mono and C#. I was looking for a good framework like the aforementioned, with agile capabilities, notably scaffolding. The Castle Project was an

Re: WCF Facility and console self-hosted web services

2009-01-28 Thread Eric Hauser
Component.ForIMyService().ImplementedByMyService() .ActsAs(new DefaultServiceModel()); Check out http://svn.castleproject.org:8080/svn/castle/trunk/Facilities/Wcf/Castle.Facilities.WcfIntegration.Tests/ServiceHostFixture.cs --- CanCreateServiceHostAndOpenHostFromConfiguration On Jan 28, 5:17 

Re: WCF Facility and console self-hosted web services

2009-01-28 Thread Craig Neuwirt
AddBaseAddresss is used for relative addressing so not sure why you see different results with it. On Wed, Jan 28, 2009 at 4:17 PM, Robert M. robertcmir...@gmail.com wrote: Thanks, Great... after adding .AddBaseAddresses(http://localhost:9001/SMS/ service.svc) it started and it works.

Re: Castle trunk and Cache support

2009-01-28 Thread hammett
So, MonoRail. http://hammett.castleproject.org/?p=226 More http://hammett.castleproject.org/?s=monorail+cache On Wed, Jan 28, 2009 at 1:34 PM, Ricardo Lopes rjlo...@gmail.com wrote: for Actions and ViewComponents. 2009/1/28 hammett hamm...@gmail.com For what project? On Wed, Jan 28, 2009

Re: WCF Facility and console self-hosted web services

2009-01-28 Thread Eric Hauser
Craig -- I think the service was working fine without the base address. I was able to hit the URL fine without it (nothing returned because it was a GET, but it worked). It is required for the metadata behavior to work. Haven't really dug into why. On Jan 28, 6:32 pm, Craig Neuwirt

Re: WCF Facility and console self-hosted web services

2009-01-28 Thread Craig Neuwirt
That's what I saw too. On Wed, Jan 28, 2009 at 5:38 PM, Eric Hauser ewhau...@gmail.com wrote: Craig -- I think the service was working fine without the base address. I was able to hit the URL fine without it (nothing returned because it was a GET, but it worked). It is required for the

Another DataBind question

2009-01-28 Thread Mike Nichols
I hate to post about databinder stuff, but this seems odd. What is the expected behaviour binding to a params dictionary like: params[obj.SomeList[0]]=123 params[obj.SomeList[1]]=456 params[obj.SomeList[2]]= params[obj.SomeList[3]]= I swear DataBinder used to add 2 items to obj.SomeList