.NET, Archive, ASP.NET, aspNETserve, C#

An Embedded ASP.NET Web Server

To correspond with the release of aspNETserve version 1.1, I have written a simple demonstration of hosting an ASP.NET 2.0 web server right into your own application.

The following code sample is about as simple as it gets.

using System; using System.Collections.Generic; using System.Text; using aspNETserve; namespace ConsoleWebServer { class Program { static void Main(string[] args) { string physicalPath = "c:\\wwwroot"; int port = 8080; using (Server s = new Server(new System.Net.IPAddress(new byte[] { 127, 0, 0, 1 }), "/", physicalPath, port)) { s.Start(); Console.WriteLine("Press any key to stop the server"); Console.ReadKey(); s.Stop(); } } } } read more

Archive

SVN Bridge For CodePlex

Just today CodePlex released a bridge to allow subversion access to CodePlex. SvnBridge works by running locally on your box, and emulating a subversion server. The SvnBridge turns around and translates those calls into calls to the TFS server that CodePlex runs. read more

Archive, ASP.NET, aspNETserve

aspNETserve Version 1.0

Just today version 1.0 of aspNETserve was released. This version fixes all known major bugs, and represents a feature complete version in regards to aspNETserve’s original goals. Specifically this means that it can host any ASP.NET 2.0 web application without the need for Internet Information Services (IIS). read more

Archive, ASP.NET, aspNETserve

aspNETserve beta 2

The second beta of aspNETserve has just been released. Among other improvements, this version includes an automated installer to allow for easy installation.

aspNETserve

I have only tested this on my personal machine, running Windows Vista. It should work on XP, and possibly 2000, but I have not had a chance to test those systems yet. read more

.NET, Archive, C#

Tail Recursion Revisited

A year ago I blogged about Tail Recursion in C# on .NET 2.0. With the public beta of .NET 3.5 now available, I decided to retry my little experiment.

For the experiment I used Beta 1 of .NET 3.5 (version 3.5.20404), which you can get from here. Using the supplied compiler, I compiled the following C# code:

public class TailTest{ public static void Main(){ TailTest f = new TailTest(); f.DoTail(0); } public void DoTail(int n){ int v = n + 1; System.Console.WriteLine(v); DoTail(v); } } read more

Archive, ASP.NET, aspNETserve

aspNETserve

I have just started my first project on CodePlex. The project is aspNETserve, a ASP.NET web server written entirely in C#.

The purpose of this project was mainly for me to gain a deeper understanding of ASP.NET. In the short time that I have been working on this project, my knowledge of ASP.NET has grown by leaps and bounds. I plan on writing about some of the specific things I learn while working on this project. read more