servicestack - Configuring web.config in Service Stack 3.9 not working -


i'm following tutorial servicestack use version 3.9.71 , modify web.config gives me error. code this:

<configuration>   <system.web>     <httphandlers>       <add path="*" type="servicestack.httphandlerfactory, servicestack" verb="*"/>     </httphandlers>     <compilation debug="true" targetframework="4.0" />   </system.web>    <!-- required iis 7.0 (and above?) -->   <system.webserver>     <validation validateintegratedmodeconfiguration="false" />     <handlers>       <add path="*" name="servicestack.factory" type="servicestack.httphandlerfactory, servicestack" verb="*" precondition="integratedmode" resourcetype="unspecified" allowpathinfo="true" />     </handlers>   </system.webserver> </configuration> 

that configuration servicestack v4, documentation servicestack v3 (bsd) maintained at: https://github.com/servicestackv3/servicestackv3/

the create first service tutorial shows valid v3 configuration:

<system.web>   <httphandlers>     <add path="*" type="servicestack.webhost.endpoints.servicestackhttphandlerfactory, servicestack" verb="*"/>   </httphandlers> </system.web>  <!-- required iis 7.0 (and above?) --> <system.webserver>   <validation validateintegratedmodeconfiguration="false" />   <handlers>     <add path="*" name="servicestack.factory" type="servicestack.webhost.endpoints.servicestackhttphandlerfactory, servicestack" verb="*" precondition="integratedmode" resourcetype="unspecified" allowpathinfo="true" />   </handlers> </system.webserver> 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -