Most voted "asp.net-web-api" questions
ASP.NET Web API is a framework for building HTTP services for clients such as browsers and mobile devices. It is based on Microsoft. NET Framework and ideal choice for Restful services.
Learn more…455 questions
Sort by count of
-
-2
votes1
answer27
views.NET Core JSON parameter
I’m starting to learn C#, using . NET CORE, and I’m trying to create an API that searches a Mongodb bank. I’ve looked at some topics here, seen some things, but none of the solutions I found worked.…
-
-3
votes1
answer541
viewsGet the return of a Webapi method?
I have the following code is I want to get a return on the result variable if it is true or false, how could I do it? //http://localhost:1608/api/ApiCidade/deletar/cliente/10 [HttpDelete]…
-
-3
votes1
answer100
viewsHow to use a padleft(11) in a get in the API
This is the method I have in my MVC public async Task<List<FuncionarioViewModel>> GetFuncionariosVM() { string url = $"http://localhost:56137/api/GetFuncionario"; var response = await…
-
-4
votes1
answer82
viewsMap Api port to MVC project
I created an MVC project and an API. I need to get the API when I upload the project to (F5). Example, I created a service that is a GET in my Type table. How I can map the API to get inside a MVC…
-
-5
votes1
answer473
viewsReturn query with more than 1 parameter in Webapi
I have the code below, how would be the correct route? How can I test the call //http://localhost:1608/api/ApiCidade/consulta/clienteLoginSenha/ [HttpGet] //…