Added ASP.NET server and fixed some unit tests