Lucas Workers Solution in ASP.NET Server