WcfFacility Client - Problem with activation

4 views
Skip to first unread message

Tiago Soczek

unread,
Jan 15, 2010, 8:11:58 AM1/15/10
to castle-pro...@googlegroups.com
HI guys,
 
I've a server and a client using WCF Facility. In my client:
 
AddFacility<WcfFacility>().Register(
    Component.For<ISomeService>().
     ActAs(
      new DefaultClientModel
      {
       Endpoint = WcfEndpoint.FromConfiguration("SomeService")
      }
     )
    )
 
I've a presenter that has ISomeService dependency, I try resolve my presenter when my server is down, and a activation exception is throws, how I can resolve my presenter normally and throw exception only when an operation is called in the service?
 
Thanks.
Reply all
Reply to author
Forward
0 new messages