Setting serviceURI for ClientFormsAuthenticationMembershipProvider
I'm searching a way to set the serviceURI for ClientFormsAuthenticationMembershipProvider in cod开发者_开发问答e behind. I wish not to have the app.config being changed. Is this possible ?
I'm accessing services from a windows service as well as from a windows program and configuration should be handled in a central place.
Thanks, Sascha
It is possible to cast to ClientFormsAuthenticationMembershipProvider ClientFormsAuthenticationMembershipProvider just before doing the authentication. If casted you have a property ServiceUri. Set it and it's done.
精彩评论