Following the guide to using ServiceStack, I am trying to compile the following code:
public class AppHost : AppHostBase { public AppHost() : base("Protein Tracker Web Services", typeof(HelloService).Assembly) { } public override void Configure(Funq.Container container) { SetConfig(new EndpointHostConfig { ServiceStackHandlerFactoryPath = "api" }); } }
This gives me the following error:
Cannot find type name or namespace EndpointHostConfig '(do you miss using directive or assembly reference?)
I tried to add the suggested:
using ServiceStack.WebHost.Endpoints;
Gives me the following error:
The WebHost 'namespace type or name does not exist in the "ServiceStack" namespace (do you miss the assembly reference?)
c # visual-studio-2013 servicestack
myslex
source share