Questions tagged as 'c#'

3
answers

identify items in combobox in c # and xaml?

I have this combobox in XAML: <ComboBox x:Name="Tempos" HorizontalAlignment="Left" Height="55" Margin="90,216,0,0" VerticalAlignment="Top" Width="205" SelectionChang...
asked by 15.05.2016 / 02:30
1
answer

Async crashes when asking entity framework query

I have an aspx project in the use of the repository, generic, and I am starting to use the async methods that the entity framework offers to interact with the database, when trying to save a record, it always hangs up and does not advance the co...
asked by 18.05.2016 / 02:27
2
answers

Development in .net Compact (Smart Device)

I am developing an application in .NET Compact for Windows Embedded with C # language and SQL Compact 3.5 database. The application has 3 columns with several rows, I have 2 columns that show in their rows an information already established i...
asked by 14.07.2016 / 02:06
1
answer

How to increase waiting time Session asp.net c #

Good I'm doing my project so that lasts 2 hours the session is to say an example. that if the user enters and leaves after 2 hours, it should not be closed. Currently every time that 45 minutes passes when the client makes or goes to another tab...
asked by 06.08.2018 / 23:32
1
answer

Duda Active Record

I am doing a job for the university they are introducing us in the "Active Record" pattern in C #. The thing is that I have a class called Persistente , let's say the base class from which all the others inherit. It contains methods such a...
asked by 20.03.2018 / 08:08
1
answer

Unity3D Instance objects as pairs (Memory Game) by applying shuffle

I'm doing a memory game where you have to turn two equal cards to score points, otherwise the cards will turn around again. I have been asked to randomly insert the letters in the form of a grid. In my code I have a single prefab that inst...
asked by 21.06.2016 / 00:13
2
answers

c # Consume web service electronic invoicing

I am something new in this consume webservices , I have to send a file to a web service and receive an answer, my problem is that I could not generate a SOAP Header valid. The web service to consume is this: https://facturaelec...
asked by 25.08.2018 / 02:49
1
answer

RestFul JSON Service

I'm doing a restful service, it returns data like json but but inside an xml and I only want json . Annex image of how the result looks. and my code. I want to remove the highlighted in yellow. namespace WcfServiceWOM { [ServiceContrac...
asked by 17.05.2018 / 22:53
0
answers

pass an array of c # to c ++

I am using native code in c #. I'm trying to pass an array of c # to c ++ using Pinvoke. Once in c ++, I want to fill that array that I passed as a parameter with the values of a cv :: Mat. The problem is that I'm using the copy function and I d...
asked by 29.08.2017 / 10:50
1
answer

DBContext SaveChangesAsync waits and does not continue

I have a webapi assembled with the repository pattern and work unit and I need to make an asynchronous save but I do not get it. In my service layer I have the following: List<Task> guardadosAsincronos = new List<Task>(); while...
asked by 16.10.2017 / 10:15