Sunday, January 29, 2012

netsh

Everytime I write a new WCF service that uses http, I find myself searching my memory for this simple but yet forgettable simple command:
netsh http add urlacl url=http://+:8080/IService/ user=\Everyone
Now I know where to find it ;-).

And for those who are not familiar with this command, netsh http add urlacl as the MSDN states: assigns the rights for a portion of the HTTP URL namespace to a particular group of users.

More information about netsh.

So now we have the permission to run the self hosted service locally.

No comments:

Post a Comment