views:

37

answers:

0

I am trying to use Cassini to host my ashx webservices. It works fine if I have the services in one assembly (class library), and the cassini server in the other (console application). Howver, when I move all the ashx files and implementations to the console application, I get the following error while trying to access the web service:

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not create type 'MyNamespace.Name'.

Source Error:

Line 1:  <%@ WebHandler Language="C#" CodeBehind="Name.ashx.cs" Class="MyNamespace.Name" %>

Any ideas how I get it to work?