Invoking ServiceHostFactory from a self-hosting scenario gives the
following error:
'ServiceHostFactory.CreateServiceHost' cannot be invoked within the current
hosting environment. This API requires that the calling application be
hosted in IIS or WAS.
By making the ServiceHost class public it can be used directly without
using the ServiceHostFactory, thus enabling self-hosting scenarios.
Original issue reported on code.google.com by mark.pas...@gmail.com on 30 Jul 2009 at 6:18
Original issue reported on code.google.com by
mark.pas...@gmail.com
on 30 Jul 2009 at 6:18