I am having an issue with how to get windows identity in silverlight project. Below is my scenario:
the silverlight application need to get data from server via WCF service, i used the way that built dynamic proxy at runtime and aslo used custombinding in this case. Now my application need to deploy on iis and chosen "basic authentication" as a authentication
mode. Thus i have chosen authentication mode in WCF was " <security authenticationMode="UserNameOverTransport">".
At the client side where kind of project is silverlight that i need have to dynamic proxy with custombinding. My question is:
In basic authentication how can i get windows identity to set to chanelfactory.Credentials:
_channelFactory = new ChannelFactory<TWebService>(this._binding, new EndpointAddress(_endpointAddress)); _channelFactory.Credentials.UserName = new UserNamePasswordClientCredential(); _channelFactory.Credentials.UserName.UserName = "username"; _channelFactory.Credentials.UserName.Password = "password";
actually, i do not want to use Windows a
View Complete Post