Tag: asp.net-web-api

59 votes
6 answers
1.7K views
DefaultInlineConstraintResolver Error in WebAPI 2

I'm using Web API 2 and I'm getting the following error when I send a POST to my API method using II

avatar
Dwain
0 1 0 9
asked 07 September, 2021
66 votes
9 answers
1.1K views
How to pass json POST data to Web API method as an object?

ASP.NET MVC4 Web API application defines post method to save customer. Customer is passed in json format in PO

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021
60 votes
8 answers
2.7K views
Returning binary file from controller in ASP.NET Web API

I'm working on a web service using ASP.NET MVC's new WebAPI that will serve up binary files, mostly

avatar
Vi
0 1 0 9
asked 07 September, 2021
62 votes
9 answers
953 views
How to add Web API to an existing ASP.NET MVC 4 Web Application project?

I wish to add an ASP.NET Web API to an ASP.NET MVC 4 Web Application project, developed in Visual Studio 2012.

avatar
Eddie
0 1 0 9
asked 07 September, 2021
50 votes
8 answers
2.8K views
Difference between ApiController and Controller in ASP.NET MVC

I've been playing around with ASP.NET MVC 4 beta and I see two types of controllers now: ApiController an

avatar
Nereida
0 1 0 9
asked 07 September, 2021
50 votes
4 answers
803 views
Token Based Authentication in ASP.NET Core

I'm working with ASP.NET Core application. I'm trying to implement Token Based Authentication but ca

avatar
Dorian
0 1 0 9
asked 07 September, 2021