Questions tagged as 'asp.net'

2
answers

Export date to excel vba from a web page

I am trying to export from a web page ( link ) the data of the table 1 Colombian Peso Rates table . The problem is that I do not export the date. Someone can help me with that.Annex image of the table to export table and image after exporting t...
asked by 09.05.2018 / 19:05
0
answers

I try to perform a POST from Angular to a service developed in ASP.NET Core

Hello good community I am having problems when doing a POST from Angular, I have a web service developed with ASP.NET Core 2. My post-service method is as follows: [HttpPost] public async Task<IActionResult> PostTipoPago(TipoPago tip...
asked by 14.05.2018 / 20:13
1
answer

ASP.NET MVC 5 help with JWT logging

I am developing a web application which consumes the data from a API , this at the time of login returns me a token . This token must be used in the other internal consultations of the application since it must be sent in each req...
asked by 09.05.2018 / 13:31
1
answer

error in row path of a reader () inside another reader ()

I have this method where I try to place a while read() into another with a different command name to retrieve data from my database, but it generates an error that says    {"There is already an open DataReader associated with this Comm...
asked by 07.05.2018 / 02:32
1
answer

Why do I get this TaskCanceledException error when consuming an api per post?

I tell you that I am making an application in asp.net mvc 5 before which I am consuming an api by means of asynchronous methods Task<> . For this I have a method created with which I consume data through request post but it gives me...
asked by 07.05.2018 / 15:13
0
answers

FontAwesome in Asp.Net Core 2

I am trying to include the FontAwesome library in my project based on .Net Core 2.x, being unable to make it work. For this I have tried the following. In the file bundleconfig.json I have included the following: // Configure bundling...
asked by 07.05.2018 / 17:43
0
answers

Dynamic progress bar in ASP.NET with Javascript

I have this bar: #myProgress { width: 100%; background-color: #ddd; } #myBar { width: @Model.avance%; //El avance lo cargo de una variable que me traigo de sql height: 30px; background-color: #007bff;...
asked by 08.05.2018 / 14:52
1
answer

Get method by different parameter than id

How can I change this Get method so that instead of looking for the ID, I look for another parameter of the model. [ResponseType(typeof(LecturaCummins))] public IHttpActionResult GetLecturaCummins(int id) { LecturaCummins lect...
asked by 07.05.2018 / 23:56
0
answers

Get user id in Asp.Net

How can I get all the related information of the authenticated user in Asp.Net? I have done it before in other projects but in this I am using the SmartAdmin template and I have tried it but I can not get it. string user = User.Identity.Get...
asked by 15.05.2018 / 20:40
1
answer

ASP.NET MVC 5 error when consuming api with HttpClient

I am consuming an api through the HttpClient service which works fine, but at the time of making another request it throws me an uncontrolled exception. With this last I mean that when making the first request it returns the answer to me well, b...
asked by 04.05.2018 / 14:56