WebApi Top questions

Post

New Post


Find by name:

WebApi First Name PostDate
Who can consume WebAPI? WebAPI can be consumed by any client which supports HTTP verbs such as GET, PUT, DELETE, POST. As WebAPI services don’t need any configuration, they are very easy to consume by any client. Infract, even portable devices like Mobile devices can easily consume WebAPI which is certainly the biggest advantages of this technology.
Compare Web API and WCF? WCF offers request-reply, one-way, or duplex while Web API is by default request-reply only. WCF is used for developing SOAP-based services whereas Web API is used for both SOAP-based and RESTful services. WCF does not offer any support for MVC features whereas Web API supports MVC features. WCF supports HTTP, UDP, and custom transport protocol whereas Web API supports only HTTP protocol. WCF offers Text, MTOM, and Binary Encoding support whereas Web API supports the UTF-8 encoding format. WCF supports message queues, message security, duplex communication, transaction whereas Web API doesn’t support. WCF stands for Windows Communication Foundation whereas API stands for Application Program Interface.
What is Page event? The page event is fired when table's paging state changes. This can be the end user selecting the page to view or the page length from the built-in controls, or when the page state is altered by the API ( page() ). Note that the page will be fired before the table has been redrawn with the updated data.