Cleyton
Cleyton

Reputation: 2468

ServiceStack with IIS

I'm trying to publish my website that contains references to servicestack rest APIs.

The Website is fine, but when it tries to access my REST services generated by ServiceStack, it returns 404 errors.

Does anyone know how to publish serviceStack REST services on IIS6?

Thanks

Upvotes: 5

Views: 1219

Answers (1)

mythz
mythz

Reputation: 143319

From the instructions on ServiceStack's Hello World tutorial:

Note: due to limitations in IIS 6 - the /custompath must end with .ashx, e.g: path="servicestack.ashx"

The name can be anything, e.g. it can be api.ashx if you want.

The limitations of handler mappings in ASP.NET/IIS 6 and other possible solutions is explained in this answer.

Upvotes: 7

Related Questions