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 Aug 11, 2010 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. Aug 11, 2010 at 21:42
  • What did you end up using by now?
    – aggsol
    Oct 10, 2016 at 15:04

3 Answers 3


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, 2011 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#. Aug 11, 2010 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? May 20, 2012 at 19:44
  • Great! The license is BSD.
    – gigi
    May 21, 2012 at 9:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .