Questions tagged as 'asp.net-web-api'

1
answer

WebAPI Project - .NET

I'm developing an Asp.Net WebApi application (first REST application). So far everything is ok, even though I'm in the testing phase using PostMan. I think I should finish this first step in two weeks. The project has the Service, Domain,...
asked by 26.07.2016 / 05:47
3
answers

HttpHostConnectionException - Android

I made% with a simple Visual Studio Community 2013 to register a person and receive a person, and I'm trying to consume this service with an android app, I'm emulating the application with the Web API emulator. Home When it does...
asked by 12.01.2015 / 21:54
2
answers

How to use token authentication with WebApi .Net

I'm looking at some websites about token-based authentication using the OAuth library but a question has come up. I have a webapi that already exposes services for both an App and a Site. We already have a login system with SQL database runni...
asked by 05.06.2018 / 15:32
1
answer

Develop an MVC project with Web API

Someone asks me to develop an application in MVC with various technological elements like Angular, Bootstrap, Entity and etc. I then create a Web API project, can I guarantee for this person who is developed in MVC? This is just conceptual.    ...
asked by 06.12.2017 / 18:16
1
answer

API rest not receiving anything from another app other than mine [closed]

Can you prevent another application from sending or receiving information from my REST?     
asked by 21.09.2017 / 21:15
1
answer

WebApi URL Path

I have a Rest service in WebApi, generated the controllers by the wizard that defined the answers in "api / {controller} / {id}", as the example of get by id: // GET: api/pessoas/5 [ResponseType(typeof(pessoa))] public IHttpAc...
asked by 30.06.2017 / 12:41
1
answer

How to use POST in a json for an Http server

I was wondering how can I do a POST from a json to an http server. The code I am using to do json is as follows: Person person= new Person(); product.FirtsName = "Ola"; product.ID = 1;...
asked by 24.08.2017 / 12:10
1
answer

asp.net HTTP Client get with query string

Developed in an asp.net mvc I intend to implement an HTTP request that with this part of the code the meteorologies present me a "list" with the metrics of the query data_de_leitura=2016-11-11&hora_de_leitura={null} ie 3 meteor...
asked by 14.11.2016 / 01:34
1
answer

Create a Web Api that calls another Web Api

I created an Api Web here in my work to be consumed by my Xamarin Forms project. 100% running smoothly ... Then I was informed that in fact here is used 2 web api's for security. That is, I will have to create a web-based Api ("frontend") with...
asked by 19.07.2016 / 21:37
1
answer

WebAPI 2 Routing configuration web form application

For about 6 months I've been entering the MVC world, before I've used a lot of WebForms and I confess that I'm having trouble understanding how to configure the routes for a ApiController , so I noticed I can not have two equal queries (...
asked by 04.07.2016 / 15:59