osx - servicestack hello failed to load http handler -
i next hello web service tutorial on servicestack.net. message below when trying access service:
failed load httphandler type `servicestack.webhost.endpoints.servicestackhttphandlerfactory, servicestack'
i using xsp started in working directory project default values (i.e.: port 8080). edited web.config in directory documented in tutorial.
how service find http handler? using xsp on port 8080 able open metadata page?
the web.config in same directory app contains:
<configuration> <!-- required mono --> <system.web> <httphandlers> <add path="servicestack*" type="servicestack.webhost.endpoints.servicestackhttphandlerfactory, servicestack" verb="*"/> </httphandlers> </system.web> <!-- required iis7 --> <system.webserver> <!-- servicestack: required --> <validation validateintegratedmodeconfiguration="false"/> </system.webserver> </configuration>
i think configuration might incorrect. might have mixed configuration configuration using servicestack existing web framework. basic configuration hosting servicestack @ root (/) path without other web frameworks is
<system.web> <httphandlers> <add path="*" type="servicestack.webhost.endpoints.servicestackhttphandlerfactory, servicestack" verb="*"/> </httphandlers> </system.web>
remove servicestack*
path
, iis specific stuff. it's possible running uncool bug in mono asp.net implementation of virtual paths, details here: https://groups.google.com/d/msg/servicestack/kzfs88rldiu/lsj2jv9m2lij
osx mono servicestack xsp
No comments:
Post a Comment