i have been working on building api based on servicestack. working locally when uploaded azure web space error:
apphostbase.instance has been set
the full error can seen here:
http://taxirouteapi.azurewebsites.net/
can tell me going wrong please?
many thanks
trev
did create own apphost class? if installed servicestack via nuget, many of packages create apphost class automatically.
look through code , try find other apphost , it's being initialised.
another thing if you've added application_start in global.asax, might cause error. because nuget package includes line:
[assembly: webactivator.preapplicationstartmethod(typeof(appicationname.web.app_start.apphost), "start")]
this mean started twice.
hope helps.
Comments
Post a Comment