What is ASP.NET Web API? ASP.NET Web API is a framework that simplifies building HTTP services for broader range of clients (including browsers as well as mobile devices) on top of .NET Framework. Using ASP.NET Web API, we can create non-SOAP based services like plain XML or JSON strings, etc. with many other advantages including: Create resource-oriented services using the full features of HTTP Exposing services to a variety of clients easily like browsers or mobile devices, etc. What are the Advantages of Using ASP.NET Web API? Using ASP.NET Web API has a number of advantages, but core of the advantages are: It works the HTTP way using standard HTTP verbs like GET , POST , PUT , DELETE , etc. for all CRUD operations Complete support for routing Response generated in JSON or XML format using MediaTypeFormatter It has the ability to be hosted in IIS as well as self-host outside of IIS Supports Model binding and Validation Support for OData and more.... Wha
1. List some advantages of Angular 2 over Angular 1 ? Angular 2 is a re-written version of Angular1 and not an update. The best way to compare Angular 2 and Angular 1 is by finding out the new features in Angular 2. This way we will be able to find out the advantages of Angular. 2. over Angular1 precisely. So, some of the advantages of Angular 2 are ? Angular 2 Angular1 Angular 2 is a mobile-oriented framework Whereas Angular1 was not developed with mobile base in mind. Angular 2 is a versatile framework, i.e. we have more choices for languages. We can use ES5, ES6, Typescript or Dart to write an Angular 2 code Whereas an Angular1 code can written by using only ES5, ES6 and Dart. We don’t have many choices of language in Angular1. Nowadays, the controllers are replaced by components and Angular 2 is completely component based. Whereas Angular1 was based on controllers whose scope is now over. Angular 2 directly uses the valid HTML DOM element properties and events which reduces th