10

I'd like to write a couple of fastcgi applications in c#.

I know that Mono can run ASP.NET on fastcgi enabled web servers, but that is not what I need.

Is there any FastCGI library working for .NET/Mono?

Anthon
  • 78,313
  • 42
  • 165
  • 222
Giacomo Tesio
  • 975
  • 1
  • 9
  • 18

3 Answers3

4

Its not fully functional/released yet but I am working on something that might interest you:

http://github.com/jacksonh/mango/blob/master/docs/tutorial/page-1.md

jacksonh
  • 3,654
  • 1
  • 20
  • 13
3

Do you mean something like a servlet interface?

You could also pretty easily emulate something like this using an ASPX HTTP Handler. You simply inherit from IHttpAsyncHandler and you'll get a BeginProcessRequest method and an EndProcessRequest method.

In your BeginRequest handler you can do context.Response.Write ();

jacksonh
  • 3,654
  • 1
  • 20
  • 13
  • This is exactly what I mean but I'd prefer to avoid completely avoid ASP.NET I'd like to write a "plain old FastCGI", but with C#. – Giacomo Tesio Aug 11 '10 at 21:39
3

Maybe it's a little bit too late to be usefull for you. Maybe it will be usefull to others. Anyway I developed a fastcgi protocol implementation for .NET/mono. You can find it on github here: https://github.com/gigi81/sharpfastcgi

gigi
  • 131
  • 3