I'm just creating a POC to improve my skills :)
so this is the idea: building a windows service which allows wcf service and
client configurations,
the service configurations are self hosted by the windows service, when a
message arrives, the message is passed on to the client configurations that
share the same contract ....... so to achieve that I:

- start a wcf ServiceHost for each configured service giving it a generated
proxy as singleton service implementation instance
- on that instance I intercept the calls and put it back on a channel for
each configured client that has the same contract

final goal is to build a universal solution for an HttpBridge of Queues that
allows me to drop in an assembly and add some wcf configuration and the
windows service picks it up and well yeah you get the point :)

greetings,
Tim

2009/5/15 Krzysztof Koźmic <[email protected]>

>  why won't you use Wcf Facility?
>
> Tim TSH pisze:
>
> Hi all,
>
> I already found it after opening up the castle sourcecode :)
>
> AttributesToAvoidReplicating.Add<ServiceContractAttribute>();
>
> greetings,
> Tim
>
> 2009/5/15 Bridge <[email protected]>
>
>> Hi all,
>>
>> I use the CreateInterfaceProxyWithoutTarget method on the
>> ProxyGenerator class to create a proxy instance from a WCF service (so
>> the real service implementation, not a client), I use the without
>> target because I want to create a generic implementation for multiple
>> WCF ServiceContract's.....
>>
>> but now comes the question, It seems that the proxy get's the same
>> attributes as the interface, in my example meaning the
>> ServiceContract, is it possibile to say while generation not to
>> decorate the proxy with the attributes from the interface?
>>
>> In my case I need this since a ServiceHost throws an exception when
>> the implementation and the contract both are decorated with the
>> ServiceContractAttribute.........
>>
>> thanks in advance,
>>
>> greetings,
>> Tim
>
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to