ASP.NET Web API INTERVIEW Questions and Answers
Q1: What is ASP.NET Web API?
Q2: Explain the usage of HttpResponseMessage?
Q3: What are the Advantages of Using ASP.NET Web API?
Q4: What New Features are Introduced in ASP.NET Web API 2.0?
Q5: What are the main return types supported in Web API?
Q6: Which status code used for all uncaught exceptions by default?
Q7: What is the difference between ApiController and Controller?
Q8: What exactly is OAuth (Open Authorization)?
Q9: Name types of Action Results in Web API 2
Q10: What are the differences between WebAPI and WebAPI 2?
Q11: Compare WCF vs ASP.NET Web API?
Q12: Is it True that ASP.NET Web API has Replaced WCF?
Q13: Explain the difference between MVC vs ASP.NET Web API
Q14: How to Restrict Access to Web API Method to Specific HTTP Verb?
Q15: What is Attribute Routing in ASP.NET Web API 2.0?
Q16: Explain the difference between WCF RESTful Service vs ASP.NET Web API?
Q17: What's the difference between REST & RESTful?
Q18: How to Return View from ASP.NET Web API Method?
Q19: Can we use Web API with ASP.NET Web Form?
Q20: How Can We Provide an Alias Name for ASP.NET Web API Action?
Q21: What is ASP.NET Web API OData?
Q22: How to register exception filters globally?
Q23: What is Delegating Handler?
Q24: Why are the "FromBody" and "FromUri" attributes needed in ASP.NET Web API`?
Q25: What's the difference between OpenID and OAuth?
Q26: Explain briefly CORS(Cross-Origin Resource Sharing)?
Q27: Why should I use IHttpActionResult instead of HttpResponseMessage?
Q28: Explain the difference between WCF, Web API, WCF REST and Web Service?
Q29: Explain briefly OWIN (Open Web Interface for .NET) Self Hosting?
Q30: What is the difference between OData and REST web services?
Q31: Could you clarify what is the best practice with Web API error management?
Q32: Explain the advantages/disadvantages of using HttpModule vs DelegatingHandler?
Q33: What is the difference between WCF and Web API and WCF REST and Web Service?
No comments:
Post a Comment