PHP and ASP.NET Repository