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

2
answers

ASP.NET MVC 5 consuming api

I am developing a new platform which consumes data from an API of the SBIF, but the JSON with the data that it returns to me comes like this { "Dolares": [ { "Valor": "603,31", "Fecha": "2018-04-27"...
asked by 27.04.2018 / 14:07
0
answers

Does a server have access to the internet to run a .NET page inside an intranet?

Currently working in local mode with a Web application developed in .NET using c #, Html and JavaScript, which works perfectly (in local mode). But, when I do the publication in the server of this Web App, the functionalities of it are lost,...
asked by 13.03.2018 / 17:37
0
answers

Problem with Basic Authentication

I have a project developed in Web asp.NET web api (WebService) which uses a basic authentication security. On the other hand I have an application developed in C # which calls the methods (WebService) to perform some processes. The problem is th...
asked by 12.02.2018 / 11:56
1
answer

Complex querys with repository template

I am building a project with the Web API and for this I am building on the Onion architecture. To separate the layers I am using the Repository Pattern (Repository Pattern) for accessing data and one layer above is the services layer. In t...
asked by 31.01.2018 / 03:06
0
answers

Insert data in bd from web api?

I'm having a couple of problems with an API in ASP.Net, I try to save data like this: public HttpResponseMessage PostExpediente([FromBody] ExpedienteDto expedientePOCO) { Ejercicio2Entities context = new Ejercicio2Entities();...
asked by 31.01.2018 / 18:32
1
answer

Get data from a many-to-many relationship with EF and web-api

A simple question but I do not give. I have a many to many relationship between two Citizen entities and Topics (which is generated from the Citizen, Topics and CitizensTopics tables) And I have a Web-Api service from which I want to obtain t...
asked by 13.11.2017 / 17:39
1
answer

Problem with EntityFramework Core include

Good afternoon. I am developing an Api Web with ASP.Net core but I have a problem with the EF Core. It turns out that I have a BBDD SQL server but it is not relational (By this I mean that I do not have the tables related to each other in the Da...
asked by 15.09.2017 / 16:53
1
answer

angular 4 + WebApi

Good morning, I'm trying to show the objects obtained in the get request from the browser's console from angular test.service.ts: getTestValues_Get() :Observable<Itest []>{ return this._http.get(this.url) .map(response =&...
asked by 01.09.2017 / 13:55
0
answers

Why does a call to a SOAP service from a WebAPi throw an error?

I am trying to make a call to a SOAP web service from a method in a WebAPI. This throws me this error: An asynchronous module or handler completed while an asynchronous operation was still pending But I'm not calling the SOAP service with...
asked by 22.06.2017 / 17:41
1
answer

WebApi, I can not serialize declared attributes in a class derived from Exception

I can not get the values of the properties declared in BaseException when I call the Get method of the API. public class BaseException : Exception { public string ExType { get; set; } public JObject Properties { get; set; } publ...
asked by 29.05.2017 / 13:00