I pretty much only use ASP.net now (using c#) and unlike one of the other posts, it is so much better than PHP and even ASP, IMHO.
First, there is no good editor for php that has the "auto-complete" code. Sure, "REAL" developers don't need it, but it speeds up the development process. With ASP.net (if using Visual Studio.net), debugging is simple when it comes to testing your apps while PHP only has Zend (as far as I know) and Zend is a bunch of crappy slow code. I've used it and decided that notepad is a better php editor.
Second, with php, to do a wizard, for example, you have mypage1.php, mypage2.php, mypage3.php. 3 pages of code/html that you can use panels in ASP.net and just set panel 1 visible when needed, 2 when needed, etc. Sure, you can put all your code in 1 php file, but try to read it as a new developer on the project and understand it. If you do this with 1 php file, you have to have something that states what step you are in, just one more variable to have to track all over the damn place.
Thirdly, ASP.net is compiled when you deploy it. Sure, there are decompilers, but you can reverse engineer just about anything if you are good enough. PHP? Only Zend (again, crappy, buggy, slow software) can compile your php so some dumbass on your server can't copy your work.
Then there is displaying raw data. You can use a datagrid, datalist, repeater, etc. If you do your code right, you can display a table from a database in 5 lines of code. PHP? Not a chance, you have to do loops and echoing html back to the browser.
PHP has it's uses, but sorry, ASP.net is nice.
The #1 reason to use ASP.net? If you need any application/services support, your apps and site can use the SAME CLASSES (example: a credit card charge routine, adding a customer to your database, etc). Try making a reliabe service for Linux out of PHP.
|