Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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
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

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


share|improve this answer
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 ();

share|improve this answer
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

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

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