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.