2

I just installed the ServiceStack NuGet package ServiceStack.Host.AspNet into an existing legacy VB.NET Web Forms site. After cleaning, then running the project I am being prompted with this text

Forbidden
Request.HttpMethod: GET
Request.PathInfo:
Request.QueryString: ReturnUrl=%2f
Request.RawUrl: /LoginPersonal.aspx?ReturnUrl=%2f
App.IsIntegratedPipeline: True
App.WebHostPhysicalPath: < Path to website >
App.WebHostRootFileNames: [ List of every file and folder in the root of the application]
App.DefaultRootFileName: default.htm

instead of my log-in page.

What is the best approach to slowly integrate SS into the site without breaking existing functionality, yet benefiting from SS Session, Cache, ORM, and Serialization?

UPDATE

The solution that ended up working was in the wiki all along, except it was missing the step about removing the original handler created by NuGet. I have since update the wiki to reflect this use case.

-Stephen

4

1 回答 1

2

您是否根据此 wiki 文章添加了自定义路径?

于 2013-08-04T03:22:48.577 回答