Re: How to predict changes to ComponentModel, resulting from registration?

2011-05-21 Thread João Bragança
What if you registered it with a child container? Then you could somehow calculate the diff of what is resolvable. On May 20, 3:57 pm, Krzysztof Kozmic krzysztof.koz...@gmail.com wrote: Adam, That is an interesting idea. In Windsor v3 there's an interface called IDependencyInspector which

Re: Windsor fluent registration property reference notation

2010-10-15 Thread João Bragança
It's an ugly solution, but what about loading the XML file in an xmldocument/xdocument and getting the properties that way? On Oct 15, 7:15 am, Symon Rottem s.rot...@gmail.com wrote: Is it possible to use property reference notation (#{property}) in the fluent API? I want to use properties

Re: Wcf Facility, DefaultBinding and Quota Exceeded

2010-10-14 Thread João Bragança
to configure a binding to specify it. Here is a good posthttp://weblogs.asp.net/cibrax/archive/2007/08/29/sending-attachments-... Are you able to do this in your app?   On Oct 13, 2010, at 1:26 PM, João Bragança wrote: No, not really. The actual client is a Flex/AIR application. On Oct

Re: Wcf Facility, DefaultBinding and Quota Exceeded

2010-10-14 Thread João Bragança
;                                         }                                 };                         }                 }         } Idea was correct, but the Opening hook was called before WCF Faciity added new endpoint (hence no endpoints). Therefore, I just hooked onto the EndpointCreatedEvent cheers,   craig On Oct 14, 2010, at 11:24 AM, João Bragança wrote: Unfortunately no. I

Re: Wcf Facility, DefaultBinding and Quota Exceeded

2010-10-13 Thread João Bragança
No, not really. The actual client is a Flex/AIR application. On Oct 13, 10:22 am, Craig Neuwirt cneuw...@gmail.com wrote: Do you happen to have  a client the performs the upload with the image culprit?  If not, I can write one. On Oct 12, 2010, at 1:28 PM, João Bragança wrote

Re: Wcf Facility, DefaultBinding and Quota Exceeded

2010-10-12 Thread João Bragança
work good luck,   craig On Oct 12, 2010, at 9:38 AM, João Bragança wrote: What is the simplest way to override this? I really don't want to configure all the endpoints by hand if I can avoid it. On Oct 12, 6:34 am, Craig Neuwirt cneuw...@gmail.com wrote: If I recall

Wcf Facility, DefaultBinding and Quota Exceeded

2010-10-11 Thread João Bragança
I have a WCF service where I need to upload images. I am configuring it like so: public class WcfServicesInstaller : IWindsorInstaller { private const int FIVE_MEGABYTES = 1024*1024*5; private const string SERVICE_SUFFIX = Service;

Re: Having Difficulty W/ Windsor Debugger Visualizer

2010-10-11 Thread João Bragança
with it? On Oct 8, 5:37 pm, Krzysztof Koźmic krzysztof.koz...@gmail.com wrote:   are you on v2.5.1? If you restart VS does it reoccur? On 9/10/2010 10:19 AM, João Bragança wrote: For some reason I am not getting the debugger view for the container anymore when I step over it. I have started

Facilities vs Installers

2010-09-24 Thread João Bragança
A lot of the talk about facilities and installers got me thinking. Before Windsor 2.x, I would use facilities to do a lot of the component registration work. But now it seems like installers are the way to go. Still, a facility may. need to register many components to extend the container. Is it

Re: Medium Trust Environments

2010-09-18 Thread João Bragança
I had this issue in medium trust. The trick is to make sure anything that does reflection.emit does not emit debug symbols. On Sep 17, 4:59 am, Jason Meckley jasonmeck...@gmail.com wrote: the issue is generated proxy code. it's actually an issue with NHibernate, not Active Record.  There was an

Re: Problem with WcfFacility: Service '...' has zero application (non-infrastructure) endpoints.

2010-09-16 Thread João Bragança
That worked! Thanks, you just saved me a whole lot of configuration over convention. On Sep 16, 2:41 am, Craig Neuwirt cneuw...@gmail.com wrote: On Sep 15, 2010, at 8:27 PM, João Bragança wrote: Thanks to years of relying on the Castle stack my brain has atrophied to the point where I

Problem with WcfFacility: Service '...' has zero application (non-infrastructure) endpoints.

2010-09-15 Thread João Bragança
I am trying to use WcfFacility build #74 (.net 3.5, Castle 2.5) with the 'look no config' option. This used to work just fine but now it doesn't. However I *can* run the Demo and get the WSDL from UsingWindsorWithoutConfig.svc on my machine. Any help would be appreciated! Stack trace:

Re: Problem with WcfFacility: Service '...' has zero application (non-infrastructure) endpoints.

2010-09-15 Thread João Bragança
a suspicion.  Is there any way you could try in using .net 4.0? -craig On Sep 15, 2010, at 6:16 PM, João Bragança wrote: I am trying to use WcfFacility build #74 (.net 3.5, Castle 2.5) with the 'look no config' option. This used to work just fine but now it doesn't. However I *can

Re: Problem with WcfFacility: Service '...' has zero application (non-infrastructure) endpoints.

2010-09-15 Thread João Bragança
, 2010, at 6:50 PM, João Bragança wrote: I had that same suspicion actually since it is the only thing that I can tell is different. While I do want to update this project to 4 right now I can't justify spending the time on it (juggling way too many projects right now). On Sep 15, 4:32

Re: Monorail DataBinding -- How do I keep Lazy-Loaded collections in a hidden field?

2009-09-25 Thread João Bragança
No... I think you will have to enumerate the collection. Or you could use a DTO, databind to that instead, and wire up the values yourself when you call update. On Sep 25, 12:41 pm, JakeS jakesteven...@gmail.com wrote: I've got an object: class BillingInfo {    public string

Re: How to use C# extension methods in brail view

2009-08-25 Thread João Bragança
AFAIK you can't use them the same way you would in C#. You can import the static class and just use the method as if it were a function. ?brail import My.Library.Extensions.MyStaticClass ? ${AsWW(datetime)} On Aug 25, 3:32 pm, jsmorris jsmor...@gmail.com wrote: Can I use c# extension methods

Re: brail and linq/generics

2009-08-12 Thread João Bragança
Did you try Enumerable.ToList[of BusinessLayer](grouping) ? Also, I believe you can do import System.Linq.Enumerable from System.Core and then do ToList[of BusinessLayer](grouping) On Aug 12, 10:34 am, Jan Limpens jan.limp...@gmail.com wrote: How can I get to the IList part of an IGrouping in

Re: LINQ query with multiple entities?

2009-08-07 Thread João Bragança
what about from f in context.Session.LinqFloor() select new { Id = f.Id, Name = f.Name, BuildingId = f.Building.Id, BuildingName = f.Building.Name } The properties having the same name might be tripping it up. On Aug 7, 8:42 am, Tuna Toksoz tehl...@gmail.com wrote: It

Re: Binsor 2.0 Representing CLR types in binsor

2009-07-20 Thread João Bragança
import System.Diagnostics from System component crossCuttingConcernTraceSwitch, TraceSwitch: displayName = traceSwitchName description = traceSwitchDescription defaultSwitchValue = traceSwitchValue AFAIK you can only use Name or Namespace + Name of the type. If you

Re: IKernel question

2009-07-17 Thread João Bragança
You can use kernel.GetHandler(serviceType) then use handler.ComponentModel.Name On Jul 17, 8:11 am, scott_m skmcfad...@msn.com wrote: Can you use the IKernel to do a reverse lookup?   That is, resolve a type or implementation to the IOC key name? thanks!

Re: Items disappearing from PropertyBag?

2009-07-14 Thread João Bragança
Which view engine are you using? I think you might be having a name / key collision. Don't know about nvelocity, but Brail takes query, form, resources, session, flash, propertybag and helpers and shoves everything into one IDictionary. So make sure your querystring keys differ from your

Re: windsor add a non injectable service to the container

2009-07-09 Thread João Bragança
You can decorate the property with [DoNotWire] On Jul 9, 10:23 am, José F. Romaniello jfromanie...@gmail.com wrote: How can I inject a service in the container that has dependencies on other services... but I don't want this service be injected in others. For instance:                

Pre-compiling Brail for Medium Trust Environments (Mosso)

2009-07-08 Thread João Bragança
I am unable to get on the fly compilation working correctly for boo. The Reflection.Emit issue has been solved on the boo trunk. Plus Mosso just allowed reflection.emit anyway. However, boo's CompilerParameters makes use of Assembly.Location. The medium trust environment doesn't allow