More from the Vista battlefront.
OK so I'm looking to develop with least privilege (Dominick
would be proud of me). So I am running on Vista under a user
account (i.e. non-admin). As the WinFX
curriculum lead for
DevelopMentor
I kind of need to be able to do things like write WCF
(Indigo) code. So, knowing that non
admins can't register namespaces
with http.sys I realised that I had to run httpcfg.exe to
register the
namespace I wanted and make it available to the account I am running as
as non-admin. Now Dominick has a really neat
tool for generating the
arcance syntax that httpcfg uses so I downloaded that and got my
command line ready ...
'httpcfg' is not recognized as an internal or external
command, operable program or batch file.
hmm ...
So it turns out that httpcfg.exe - the tool you need to do
self hosting for http endpoints in WCF while not running as admin is
not part of Vista, WinFX or WinFX SDK. And you need to self host if you
want to run any protocol other than HTTP until beta 2. And svcutil.exe
can't bind to a non-http endpoint before beta 2. So all
together, if you want to run as non-admin under Vista, you really need
httpcfg.exe at the moment.
Come one! Can we please get httpcfg.exe distributed with the
WinFX SDK at least.