ASP.NET and PHP both have a similar purpose in offering server-side programming. The differences are:
* ASP.NET is more expensive becuase it runs on IIS, whilst PHP runs on Linux which is free
* More web hosts offer PHP
* I've heard that PHP runs faster (though I'm not 100% sure if this is accurate)
* ASP.NET is more object-oriented, whilst PHP doesn't have to be
I prefer ASP.NET because I've done more programming in .NET and also it's a lot faster for me to create good-looking GUIs with .NET (esp. in Visual Studio), while in PHP I'm still not able to produce a professioanl look. Furthermore, in PHP you have to write the SQl yourself, while with .NET you can easily select the database tables - so it's much easier and also looks better. I recommend ASP.NET.
* ASP.NET is more expensive becuase it runs on IIS, whilst PHP runs on Linux which is free
* More web hosts offer PHP
* I've heard that PHP runs faster (though I'm not 100% sure if this is accurate)
* ASP.NET is more object-oriented, whilst PHP doesn't have to be
I prefer ASP.NET because I've done more programming in .NET and also it's a lot faster for me to create good-looking GUIs with .NET (esp. in Visual Studio), while in PHP I'm still not able to produce a professioanl look. Furthermore, in PHP you have to write the SQl yourself, while with .NET you can easily select the database tables - so it's much easier and also looks better. I recommend ASP.NET.