开发者

WCF local machine ServiceHost and Administrator Privileges

开发者 https://www.devze.com 2023-03-01 19:02 出处:网络
Is there way to run self host a WCF service with ServiceHost on local user (no administrator privileges)? It needs only to be on the local computer.

Is there way to run self host a WCF service with ServiceHost on local user (no administrator privileges)? It needs only to be on the local computer.

I'm working on aplication which in future will be installed on multiple desktops, but currently it only needs to work on 1 desktop - both server and client. I would like to use whole wcf stack also in 1 destop app to eliminate future problems. Basically - I need to launch WCF se开发者_StackOverflowrver and client on one system with no administrator privileges. Maybe it can be done with netnamedpipebinding?

Cheers, Andrew


Take a look at this post. You can also look into Juval Lowy's InProc Factory (you'll have to register to download). This allows to you to automate hosting services in the same process as the client.

0

精彩评论

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

关注公众号