Skip to Main Content
ASP.NET Web API 2 Recipes: A Problem Solution Approach
book

ASP.NET Web API 2 Recipes: A Problem Solution Approach

by Filip Wojcieszyn
August 2014
Intermediate to advanced content levelIntermediate to advanced
408 pages
9h 54m
English
Apress
Content preview from ASP.NET Web API 2 Recipes: A Problem Solution Approach

CHAPTER 4

image

Content Negotiation and Media Types

This chapter covers the concept of content negotiation, handling media types, and working with model binding. It also covers handling binary data and file uploads in ASP.NET Web API applications.

You will learn how to do the following:

  • Request and respond with various media types (Recipes 4-1 and 4-2)
  • Control model binding (Recipes 4-3 and 4-4)
  • Customize content negotiation (Recipes 4-5, 4-6, and 4-9)
  • Perform content negotiation by hand or bypass it (Recipes 4-7 and 4-8)
  • Work with binary data (Recipe 4-10)
  • Accept file uploads in your Web API application (Recipes 4-11, 4-12 and 4-13)

4-1. Request a ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Expert ASP.NET Web API 2 for MVC Developers

Expert ASP.NET Web API 2 for MVC Developers

Adam Freeman
Practical ASP.NET Web API

Practical ASP.NET Web API

Badrinarayanan Lakshmiraghavan
Pro ASP.NET Web API: HTTP Web Services in ASP.NET

Pro ASP.NET Web API: HTTP Web Services in ASP.NET

Tugberk Ugurlu, Alexander Zeitler, Ali Kheyrollahi

Publisher Resources

ISBN: 9781430259817Purchase book