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

1
answer

Receive an image by JSON

I have the following problem; I have a Rest service with ASP.Net MVC and I am currently receiving the image by base64 and it ends up giving me a km json to save, so I wanted to know how to receive the binary information (as much as possible I wo...
asked by 18.10.2018 / 02:23
1
answer

Web Api with ASP.NET CORE how to handle images

I have a web api in asp.net core and I use JWT to validate the requests with the api, my question is when we need to upload images, what is the best way to do it, since I currently keep the images in a folder of the api because if I upload them...
asked by 30.08.2018 / 21:06
0
answers

webservice ThreadAbortException

How to control the error Subprocess canceled in a WEbservice. The webservice cuts the call with the user who called it when it gives this error, although the service keeps running, but does not return anything to the user, so the user stays stuc...
asked by 17.08.2018 / 14:02
0
answers

.Net - Problems when using AutoMapper in WebApi

I am trying to mount AutoMapper on my WebApi but it gives me an error. I have loaded the libraries with nuget and I have put the following lines. In the WebApiConfig.cs file I include the following: Mapper.Initialize(cfg => { cfg.Add...
asked by 22.08.2018 / 09:47
0
answers

How to fill in a Chart Donut Chart through Ajax in ASP.NET WEBFORM

What I want is to fill the donut chart with the value but I do not know how to put in the function of the donut chart to pull the data from the web service and show me the data along with the graph I had never filled a graph wi...
asked by 31.07.2018 / 10:12
0
answers

How do I send a rest object for a soap asmx?

I have this controller [Route("api/[controller]")] public class OptOutClientController : Controller { HttpClient client = new HttpClient(); private readonly IOptOutService _service; public OptOutClientController(IOptOutService service...
asked by 25.06.2018 / 18:49
1
answer

I have problems sending my credentials and consuming an API

I already managed to solve my question about the token, now what I have problems is how I can upload a file of txt format that I have saved on my disk D in a folder called SENDSUNAT \ doc.txt once I return that, I generate a ticket to which I co...
asked by 17.07.2018 / 01:18
1
answer

Datepicker does not display when I load data with a C # search, Bootstrap. ASP NET

I have a problem I'm making a page in which when the charge is a search button, I enter a data and I load several textbox. The question is that one of the textbox I use to load a date manually, it is disabled when the data is loaded here is the...
asked by 27.05.2018 / 09:23
0
answers

IdentityServer4 with WebApi 4.6

I am setting up an Identity Server with IdentityServer4 (.Net Core) protect Api Web in .Net Framework 4.6.2 I already manage to protect the API but I can not get the token type Bearer  allow access. Client Configuration in IdentiyServidor...
asked by 24.05.2018 / 00:42
0
answers

Property always NULL in Rest Api

I have the following entity: public class EntityBase<T> where T : class { [DataMember] public int CurrentItemCount { get; set; } [DataMember] public int ItemsPerPage { get; set; } [DataMember] public int StartI...
asked by 30.04.2018 / 17:25