Supplying Alternate Network Credentials

Supplying Alternate Network Credentials

Old forum URL:

sholder posted on Friday, March 13, 2009

I'm looking to provide an alternate set of network credentials for a WPF application communicating to a WCF service, mimicking the following WCF functionality with the Dataportal.

ChannnelFactory<T> fact = new ChannelFactory<T>(endpoint);
fact.Credentials.Windows.ClientCredential =
new NetworkCredential("user","password","DOMAIN");

Is there a standard mechanism in CSLA for providing alternate credentials or would this require that I modify the framework?


Shane Holder

RockfordLhotka replied on Friday, March 13, 2009

In CSLA 3.6 you can subclass WcfProxy and overload a couple methods to create your own channel factory, proxy, etc.

sholder replied on Friday, March 13, 2009

Why is it that the obvious answers are sometimes the most elusive? Thanks Rocky. Shane Holder

Copyright (c) Marimer LLC