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

2
answers

Web API 2, OData v4 and Automapper

I have a problem that I have no idea how I can fix it. I have a class as follows: public class Message { public long Id { get; set; } public DateTime DateCreated { get; set; } public DateTime DateModified { get; set; }...
asked by 11.12.2015 / 00:25
2
answers

How to create multiple CSV files from web service execution

In my program that calls certain web services, I would like that in the final result different CSV files will be created depending on whether the ProjectID is different In the following code, in the array filter of projectIDs , i...
asked by 04.03.2016 / 20:27
1
answer

c # error when traversing objects dynamically

Good morning everyone. I have a webapi project assembled with the repository pattern and I need to make a modification to the answer that the _repository.getByFilter(...) method offers me. This returns a IQueryable and I need to...
asked by 06.09.2017 / 16:06
3
answers

Error 404 when trying to make a httpget to an Action of a webapi controller

I add a controller webapi , the IDE is responsible for generating the class WebApiConfig and registering the configurations in the global.asax , until here everything is perfect. I run my application
asked by 29.01.2016 / 20:08
1
answer

Our site falls from time to time IIS Is it possible that it is a DDOS attack?

   Hello, we have a site, it works well most of the time but from time to time   when it usually gives a one minute drop, we are using IIS 8.5   as a server and we work all ASP.NET technology. Our servers are hosted at Rackspace and before...
asked by 10.01.2017 / 23:22
0
answers

Problem with the response in an ASP.NET Web API

I have an ASP.NET Web API that is working correctly on other servers, I'm just being presented with a detail on a particular server and the problem has to do with the dates. I have a class to perform the conversion of the dates and it is: p...
asked by 14.06.2018 / 20:32
2
answers

Web Api ASP.NET can not find the method

By consuming the API created in asp.net with postman I get the following error {"Message": "No se ha encontrado ningún recurso HTTP que coincida con la URI de la solicitud 'http://localhost:9401/api/Usuarios/Login'.", "MessageDetail": "No se e...
asked by 22.08.2018 / 22:28
1
answer

Id in Html variable

I'm having a problem with a label, I want to change the id (that varies by number depending on the table that belongs) and on the line: document.getElementById('labelUsuario').id = "" + numeroMesa + ""; I get the following error: angular....
asked by 05.10.2017 / 13:16
1
answer

Authentication of Individual User Accounts in Asp.Net Core

When I create an Asp.Net Core application with Authentication of Individual Users Accounts, it asks me for certain information: Domain name Application ID Registration policy or login What should I put in them?     
asked by 14.10.2017 / 20:34
1
answer

How to view a PDF file in the browser?

I have a project in the ASP.NET Web API which is consumed by a web application in html, I have a form in which I sent information and a PDF file, this is done with formdata , the PDF file is saved in a folder on the server with the origina...
asked by 11.11.2016 / 01:28