private void ConfigureInternals(Container container)
{
container.Adapter = new ServiceStackContainerAdapter(this.unityContainer);
this.SetConfig(
new EndpointHostConfig
{
EnableFeatures = Feature.Metadata | Feature.Json | Feature.Html,
AllowJsonpRequests = true,
#if DEBUG
DebugMode = true
#endif
});
}