Questions tagged as 'c#'

0
answers

Google recaptcha always returns false

I'm doing the google recaptcha validation but it always returns false. [HttpPost] [AllowAnonymous] [Route("SendMessage")] public HttpResponseMessage SendMessage([FromBody] EmailDTO email) { try {...
asked by 23.07.2018 / 13:49
3
answers

How to access a "private static ListT" list from another class?

I have this code: public static class GenDAO<T> where T : IEntidad // antes static { private static List<T> BDenMemoria = new List<T>(); private static int NextId = 1; public static int Crear(T entidad) {...
asked by 23.07.2018 / 15:46
1
answer

Event TextChange only executes instructions inside else: c # and asp.net

I have 4 textBox, I make a query to my BD and depending on what is selected in a DropDownList I must execute a multiplication either Txt1 * Txt3 or Txt2 * Txt3 and show me the result in Txt4 . The method is the same for al...
asked by 24.07.2018 / 14:50
0
answers

Obtain Digital Certificate to occupy web application in MVC5 Server browser

Help I need to know how I can get the digital certificate from the server, locally it works perfectly, but when I publish it, I get an error in the LOG which tells me that the system can not find the specified file. run the system directly...
asked by 01.08.2018 / 21:41
0
answers

insert of two tables related to a

Hello good afternoon everyone, along with hello I wanted to see if you can guide me in the following: have a table accounts with an id Autoincremental account, a field idRegistro and a user and password, this table will be to create user account...
asked by 01.08.2018 / 19:29
0
answers

Memory space error with C #, using FileWatcher, MODI threads and queues

I am putting OCR images in .tif format with the SharePoint 2007 dll (MODI). I analyze with FileWatcher a folder including subdirectories, the alert is generated when new files are created inside the structure, I keep the path of the new file...
asked by 27.07.2018 / 19:33
1
answer

validate existence before inserting (c #)

Hello good afternoon everyone, guys consult, I need that when wanting to insert a new record, before validating if a certain field already exists in the database, for this I have a procedure stored in mysql, I try it in workbench and I it works,...
asked by 27.07.2018 / 19:17
0
answers

Firebase Cloud Messaging No valid registration ids

I would like to consult, because when I want to register a new user in one of my applications, firebase, at times totally random (now almost permanent) I get an error of "no valid registration ids" the FCM API, so I do not register any new user,...
asked by 31.07.2018 / 14:07
0
answers

How can I download a file from a website that asks for a digital certificate?

I'm working in Visual Studio 2017, my question is how to get a file that can be found in a one page link but it requires a digital certificate. I have the certificate but I do not know how to enter with it and download the file. Currently thi...
asked by 31.07.2018 / 14:43
0
answers

I returned a complete html when executing my ajax with specific url

When I run my ajax and send the location of my webmethod I get the following result: <!DOCTYPE html> <html lang="es"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> &l...
asked by 20.07.2018 / 15:34