开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜