Comparing two distinctly different programming languages or even two closely associated languages is definitely an exercise in futility. The reasons are simple, why compare French to English or PHP to Ruby, as people differ in their tastes, so do their choices too. In view of this, instead of focusing why X is superior to Y, I will try and focus on why some developers are more comfortable using ASP.NET as compared to competing platforms. That said, the fact that any platform continues to exist and is used by people in the field of IT, means it has at least some features, which can not be availed using competitive services. Following are the leading reasons why some developers choose to use ASP.NET for application development:
HTML5 Support and Web API
The new versions of ASP.NET from version 4.5 onwards provide developers with enhanced support for various form types specific to HTML5 such as color, search, date pickers, range, number, URL etc. Early many of these forms were created / designed separately prior to being integrated into an application. This support generates substantive time savings for the developer and by extension the software development company. The enhanced support is extended to the availability of Web API along with the standard ASP.NET Web Forms and ASP.NET MVC 4 package. At the very least, the Web API aids developers in simply building Web-based services / applications, while users find it easier to use online resources, while using the applications.
Security Provided By HTML5 WebSockets and OpenID Support
From version 4.5 onwards, developers can access advanced security features including HTML5 WebSockets. By using WebSockets, developers can ensure duplex communication between the web server and the client's browser. It is also possible to leverage the feature, while designing Web applications. However, availability of Visual Studio 11 is mandatory to avail this specific functionality while designing ASP.NET applications. Additional security is also available through OpenID support, which can be used with OAuth Login suitable for various.NET applications.
Asynchronous Programming Support and the New GridView Control
Recently introduced versions of.NET features support for asynchronous programming, which allows developers to read as well as write HTTP queries and requests without using OS threads. GridView Control has been a key tool of ASP.NET since the first versions were introduced decades back. In recently years, this tool has been substantially improved and the GridView Control featured in version 4.5 allows developers to easily perform tasks such as efficient sorting and paging of large data sets.
Unique Model Binding Properties and Value Providers
New versions of the framework feature unique model binding properties, which allow developers to isolate specific web forms from the model and / or binding them according to the user's requirements. This feature aids the development of Webforms independently from the model as well as unit testing each form separately. This facility reduces the chances of even small errors creeping into the final application and generates significant saving of both time and money for the software development company. The new-age Value Providers featured in recent.NET versions helps developers easily filter large data sets by using commands such as control value, cookie, session, querystring etc. Moreover, developers are free to develop their own Value Providers to enhance the filtering procedure.
Bundling and Minimum Operations
This is one of the relatively new features in.NET 4.5, which is designed to minimize and bundle the size of style sheets and scripts utilized while developing an application. This feature improves the overall efficiency of the application by ensuring that the codes are easy to read, which helps minimize as well as resolves coding errors. The features are easily noticeable in a new project by viewing the coding of the Global.asax file. The factors discussed here barely scratch of surface, but hopefully they would help you understand why ASP.NET continues to dominate such a competitive market.