public UnitTests() { appHost = new BasicAppHost(typeof (ServerEventsServices).Assembly) { ConfigureContainer = container => { //Add your IoC dependencies here container.RegisterAutoWiredAs<MemoryChatHistory, IChatHistory>(); appHost.Plugins.Add(new ServerEventsFeature()); } }; appHost.Init(); }
public UnitTests() { appHost = new AppHost(); appHost.Init().Start("http://*:2337/"); }