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?

  • 2
    This is definitely a question that belongs on SO; it's a programming question that involves a Linux compiler/environment – Michael Mrozek Aug 11 '10 at 15:58
  • 1
    I do not agree since this Q&A site is targeted to "advanced" users. Most Unix / Linux advanced users are programmers. – Giacomo Tesio Aug 11 '10 at 21:42
  • What did you end up using by now? – aggsol Oct 10 '16 at 15:04

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


  • 1
    I get a 404 error. – tshepang Mar 19 '11 at 17:01

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 ();

  • 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

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

  • No, I'm still interessed. Looks very interesting @gigi ... what's the license? – Giacomo Tesio May 20 '12 at 19:44
  • Great! The license is BSD. – gigi May 21 '12 at 9:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.