Programming · Summer of Code 2007

FastCGI ASP.NET Server Status Report 4

This is the status report for June 18 – June 22. This week was mostly spent doing cleanup, documenting, and applying the final parts of the FastCGI specification. THIS WEEK’S ACCOMPLISHMENTS I completely documented the Mono.FastCgi namespace using XML documentation. I submitted 6 patches to XSP, 3 code changes and documentation on 4 files. I…… Continue reading FastCGI ASP.NET Server Status Report 4

Programming · Summer of Code 2007

FastCGI ASP.NET Server Status Report 3

This is a status report for the week of June 11 – June 15. This week has been incredibly productive, culminating in a working ASP.NET server. THIS WEEK’S ACCOMPLISHMENTS This week was an intense coding week: I repackaged all the FastCGI specific code into its own library (Mono.FastCgi.dll) I created Mono.FastCgi.Socket to wrap around System.Net.Sockets.Socket…… Continue reading FastCGI ASP.NET Server Status Report 3

Programming · Summer of Code 2007

Make any .NET app a Web Server

While researching of my SOC project (FastCGI ASP.NET server), I stumbled across a neat little trick. In 4 lines of code, you can run an ASP.NET webserver from any .NET application: XSPWebSource source = new XSPWebSource (System.Net.IPAddress.Any, 8080); server = new ApplicationServer (source); server.AddApplicationsFromCommandLine (“/:/path/to/asp.net/application”); server.Start (true); Presto, you’ve got an ASP.NET server running on…… Continue reading Make any .NET app a Web Server