RE: interface + activerecord

2011-04-12 Thread Nicholas Kilian
Exactly as you normally would. There's no difference between implementing an interface on a class or one decorated with the AR attribute. From: castle-project-users@googlegroups.com [mailto:castle-project-users@googlegroups.com] On Behalf Of Henrique Costa Sent: 11 April 2011 05:14 PM To:

DataContract serialization

2011-04-12 Thread andresb...@gmail.com
Is it possible to wrap a DataContract using DynamicProxy and have it serialized by just casting it to its base class? Right now I'm getting an exception when calling a services that returns a wrapped class but it's not clear: {The underlying connection was closed: The connection was closed

Re: Installer and property injection - is this a bug?

2011-04-12 Thread Asger Hallas
Thank you very much! I will try that out. Now we're at it, do you know where I can find information about the different InspectionBehaviors? I have searched but can't really find anything. Regards, Asger On Apr 8, 2:15 pm, Jason Meckley jasonmeck...@gmail.com wrote: I believe you need to

Re: DataContract serialization

2011-04-12 Thread Jason Meckley
the best advice is don't. if you need to serialize then project to a DTO. there are numerous issues with serializing domain objects. bidirectional relationship, internal state, NH AOP type stuff. context specific DTOs are the perfect fit serialization. -- You received this message because you

Re: Installer and property injection - is this a bug?

2011-04-12 Thread Jason Meckley
source code and unit tests. -- 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

Re: DataContract serialization

2011-04-12 Thread José F . Romaniello
An entities have behavior. There is no way to serialize that. 2011/4/12, Jason Meckley jasonmeck...@gmail.com: the best advice is don't. if you need to serialize then project to a DTO. there are numerous issues with serializing domain objects. bidirectional relationship, internal state, NH AOP

Re: DataContract serialization

2011-04-12 Thread andresb...@gmail.com
Yeah but datacontracts are serialized as Xml, and only serializes its datamembers. Im not planning to serialize the whole binary object. On Apr 12, 2011 8:21 PM, José F. Romaniello jfromanie...@gmail.com wrote: An entities have behavior. There is no way to serialize that. 2011/4/12, Jason

New WCF Facility Lifestyle

2011-04-12 Thread Adam Langley
Dear group, I have a requirement where-by I will have a Windows Service (running as System) that publishes a component on net.pipe (for use by the local machine only), but it must service multiple users logged on to the same machine simultaneously. It must create a 'singleton' instance per