Top "Asp.net-web-api" questions

ASP.

Pass multiple complex objects to a post/put Web API method

Can some please help me to know how to pass multiple objects from a C# console app to Web API …

c# asp.net asp.net-web-api asp.net-web-api2 dotnet-httpclient
Simple post to Web Api

I'm trying to get a post request to work with the web api. Following is my api controller. public class …

c# asp.net-mvc-4 asp.net-web-api http-post
ASP.NET Web API session or something?

I need to store some information in session(or in whatever in ASP.NET Web API) that I need to …

session asp.net-web-api
Routing with multiple Get methods in ASP.NET Web API

I am using Web Api with ASP.NET MVC, and I am very new to it. I have gone through …

c# asp.net-web-api asp.net-web-api-routing
The requested resource does not support HTTP method 'GET'

My route is correctly configured, and my methods have the decorated tag. I still get "The requested resource does not …

c# routing asp.net-web-api
Asp Net Web API 2.1 get client IP address

Hello I need get client IP that request some method in web api, I have tried to use this code …

c# asp.net asp.net-web-api
Java finished with non-zero exit value 2 - Android Gradle

I'm getting this error executing my Android app (I cleaned it and then built it, but the error is still …

android asp.net-web-api gradle build.gradle
How to read request body in an asp.net core webapi controller?

I'm trying to read the request body in the OnActionExecuting method, but I always get null for the body. var …

c# asp.net-web-api asp.net-core
Get the current user, within an ApiController action, without passing the userID as a parameter

How do we get the current user, within an secure ApiController action, without passing the userName or userId as a …

c# asp.net asp.net-web-api asp.net-identity
Microsoft Web API: How do you do a Server.MapPath?

Since Microsoft Web API isn't MVC, you cannot do something like this: var a = Request.MapPath("~"); nor this var b = …

asp.net-web-api