zaterdag 26 juli 2014

Creating ASP.NET MVC Negotiated Content Results

Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

ASP.NET MVC doesn’t directly support content negotiation, but with a little bit of work it’s very straight forward to implement a NegotiatedContent ActionResult that can switch its response type based on the Accept header.






Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Creating ASP.NET MVC Negotiated Content Results

Geen opmerkingen:

Een reactie posten