WebApi2 Interview Question

 

  1. What is API.
  2. What is WebAPI.
  3. What is Asp.NET  WebAPI.
  4. What is Rest or Restfull architecturure.
  5. Naming Convention In WebAPI.
  6. What is Routing in WebAPI and How to configure WebAPI.
  7. Difference between MVC Controller And WebAPI Controller.
  8. What is Parameter Binding  in WebAPI. What is the default parameter binding process and how we can change it.
  9. Different types of Http request in Web API and their status code. What is the difference between Http Post and Put request.
  10. Action method return type of WebAPI. What is difference between HttpResponseMessage and IHttpActionResult.
  11. What is Data Formats in WebAPI. What is difference between Accept and Content-Type attribute. 
  12. How we can Authenticate a WebAPI. Difference between Basic Authentication and Token Based Authentication.
  13. What is  Media-Type Formatters in WebAPI.
  14. How to consume Web API in ASP.NET MVC and what is the difference between WebClient and HttpClient.
  15. What is Same Origin Policy of web browser. What is Cross-Origin Resource Sharing (CORS) and how to enable it in WebAPI.
  16. What is oData in WebAPI.
  17. What Web API versioning.   
  18. Difference between Asp.NET WebAPI and Asp.NET MVC
  19. Difference between GET and POST request.
  20. What is Content Negotiation.

No comments:

Post a Comment