Questions tagged as 'c#'

1
answer

Asp.Net Windows authentication and forms authentication

The idea or requirement is to have an application which can work with Windows and forms authentication at the same time. If the user who tries to access the application has domain credentials (intranet) then the application will grant acces...
asked by 20.02.2016 / 19:50
5
answers

Problems showing parameters in partial view

I am consuming a service to consult customer balances, it returns me as an answer an entity with these properties: public string errorCodigoField { get; set; } public string errorMensajeField { get; set; } public decimal saldoRecargasField { g...
asked by 16.08.2017 / 15:33
1
answer

The discarded object can not be accessed. Object name: 'System.Net.Sockets.Socket'

I have been dealing with a problem for many days that I can not solve, I hope that a charitable soul will discover the error. I am using sockets to send messages and receive them from a server, the fact is that when I try to open the socket a se...
asked by 08.06.2017 / 20:49
6
answers

JSON object arrives empty to my method

I created the following function to send an object of a service through JSON but when the object arrives it has all the empty variables: var cpDate = new Object(); cpDate = { OllPass: '', NewPass: '', ConfPass: '' }; $(documen...
asked by 09.03.2017 / 12:39
1
answer

Failed to invoke a SOAP Service in ASP.NET [closed]

I was trying to invoke a method of a SOAP service on a page in ASP.NET, but it is throwing the following error: Some co-workers told me that it was necessary to invoke the service using WsSecurity and attaching certifications previously...
asked by 25.11.2016 / 23:15
0
answers

MediaPlayer comms the RAM even though the Task is finished C #

I'm trying to make a multi-thead player to play many sound effects (mouse hover, click, animations, etc ...). The player works correctly, but I realize that the RAM was filling up every time the sound is played. So I decided to establish a d...
asked by 15.10.2018 / 23:58
1
answer

Byte arrays do not match between c # and in nodejs

The problem is this, I have this portion of code in C # that generates a token. SHA256Managed hashstring = new SHA256Managed(); byte[] hash = hashstring.ComputeHash(Encoding.ASCII.GetBytes("araña")); string StringByte = BitConverter.ToString(h...
asked by 30.10.2018 / 18:33
2
answers

Columns and row datagrid wpf

I have an editable datagrid in wpf, when writing in a cell it puts that same value in the cell that follows, in the same row, but when I have another row the value of my cell in the second row paints it in the cell next from the first row, how c...
asked by 02.06.2016 / 22:07
0
answers

Use a table instead of multiple html with EmailService

I usually do this: Email Service: public void NewScholarship(Boolean isApproved, String name, String classificationDescription, String percentage, String dateStarting, String dateEnding, String description) { Subject = isApprov...
asked by 06.06.2016 / 02:10
1
answer

Timeout when I run application

When I run my application that calls several web services, it sends me an error mentioning the waiting time exhausted. I have tried to adapt my app.config file in several ways but it still gives me the same error. Any idea how I can fix th...
asked by 07.06.2016 / 15:23