PHP is a programming language whereas ASP.NET is a programming framework. Websites developed by ASP.NET may use C#, but also other languages such as J#.
ASP.NET is compiled whereas PHP is interpreted. This means that ASP.NET websites generally have shorter execution times, but also that...