Questions tagged as '.net'

1
answer

How to fill a list that has a nested list c #

Good afternoon, I try to fill a list with the following structure: MAIN LIST- > [DataContract] public class Movimientos { public string _id, _IdMovimiento, _Hechopor, _Nombre, _Nodoc; [DataMember] public List<MovimientoDet>...
asked by 26.07.2017 / 22:01
1
answer

Algorithm for adding daughter account values in parent accounts in C # .NET

What happens is that I have a list with three fields, which are: Cuenta , importe_A e importe_B . Example of information: Cuenta = "1000.2.15.3" Importe A = 230 Importe B = 500 Cuenta = "1000.2.15.4" Importe A =...
asked by 26.10.2018 / 05:02
2
answers

Directly access the overwritten member?

Good! I have 3 classes, one is TokenBase , which is used as the parent of the other classes: abstract class TokenBase { public TokenTypes Type { get; set; } public virtual object Value { get; set; } public override string ToS...
asked by 19.04.2016 / 15:56
2
answers

"Skipped 76 frames" in Xamarin.Android

I am developing an application in Xamarin.Android where I use Media Plugin to capture a photo and send it as a parameter to another Activity , but when I take the photo and give it OK, there is a moment when it is shown a screen lik...
asked by 04.10.2016 / 00:59
1
answer

Compatibility between different .net frameworks on the same server

I made my first ASP application, the server that they provide to host my application has many applications running, but those existing applications were made with framework 3.5 and my application needs framework 4.5.2. If I install framework...
asked by 17.08.2017 / 22:00
2
answers

Read HTML from a WebBrowser

I have a Form with a WebBrowser, two text boxes (1 and 2) and a button. In the text box 1 I enter a URL, press the button and execute: private void button1_Click(object sender, EventArgs e) { Uri myUri = new Uri(textBox1.Text); webBrow...
asked by 04.02.2017 / 13:48
1
answer

generate an asynchronous task and return sight without waiting for it .net

I am wanting to perform an asynchronous method but I have the problem that, although it is performed asynchronously, it does not return the value until it does not end. I need you to return your sight and continue even if the task is not finishe...
asked by 01.06.2016 / 00:06
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

Unable to read property when merging two entities into one

I am placing two models in one through a class that unites them, with the objective of assigning them value that I get from the DB but it generates an exception in the first line that reads the read() -> Test.Models.Modelo.Pagos.get re...
asked by 21.07.2018 / 00:37
1
answer

How do lists work in c #?

I was wondering if someone could guide me or tell me what the concept is called in order to learn it and / or apply it on my own. Sometimes, using Api's I have found that some method returns a list, for example in this case. var ListaDevue...
asked by 12.10.2018 / 15:51