Posts

Web Api

Image
405: Method not found Web Api: http://www.tutorialsteacher.com/webapi/web-api-tutorials Filters: http://www.tutorialsteacher.com/webapi/web-api-filters 6. ASP NET Web API MediaTypeFormatter In this video we will discuss 1. What is MediaTypeFormatter 2. How to return only JSON from ASP.NET Web API Service irrespective of the Accept header value 3. How to return only XML from ASP.NET Web API Service irrespective of the Accept header value 4. How to return JSON instead of XML from ASP.NET Web API Service when a request is made from the browser 5. Point you to an article that describes how to return CSV formatted data from ASP.NET Web API Text version of the video http://csharp-video-tutorials.blogspo... Slides http://csharp-video-tutorials.blogspo... All Dot Net and SQL Server Playlists https://www.youtube.com/user/kudvenka... All ASP.NET Web API Text Articles and Slides http://csharp-video-tutorials.blogspo... CSV Formatter http://www.tugberkugurlu.com/archi...

Web Api Inroduction

REST constraints  Client Server  Stateless  Caheable  Uniform Interface VERBS: GET;POST;PUT;DELETE HATEOS ( Hypermedia as the Engine of Applicaiton State ) Layered System Code on Demand ( optional ) Parameter Binding in ASP.NET Web API https://docs.microsoft.com/en-us/aspnet/web-api/overview/formats-and-model-binding/parameter-binding-in-aspnet-web-api When Web API calls a method on a controller, it must set values for the parameters, a process called binding. Difference between WEB API and WCF-Service: http://www.c-sharpcorner.com/UploadFile/2b481f/difference-between-Asp-Net-web-api-and-wcf/