Questions tagged as 'c#'

1
answer

Create Task in C #

I have a doubt that I'm doing a console that creates a task scheduled in windows, when I put the windows credentials I create the task without problems, the problem is that I need to create that scheduled task without credentials, some idea of h...
asked by 22.11.2018 / 16:02
1
answer

Error when deserializing JSON string in Object Class?

On my server I do this: [HttpGet] public string GetSeleccionarTodasFilasTabla(string NombreTabla, string Version) { string resultado = string.Empty; Engine.EngineDb FuncionDb = new Engine.EngineDb();...
asked by 22.11.2018 / 14:03
2
answers

Linq adds a nonexistent column to the SQL query

I'm having a problem with LINQ, using EntityFramework 6 First, to enter the context, I leave the Problem Model .. [Table("Datos_Garantizados")] public partial class Datos_Garantizados { [Key] public long Version { get; set; } public decima...
asked by 28.03.2018 / 16:18
1
answer

Error executing: Unable to load the file or assembly

Hello to execute the project with which I am after solving various problems, now we execute this error ..    Unable to load the file or assembly 'EntityFramework, Version 4.4.0.0 or one of its dependencies You could help me out than...
asked by 06.02.2018 / 11:18
1
answer

how to avoid losing the bar code reader focus when minimizing application?

Well I'm doing an application in c # that involves the use of a barcode, good when I run the application the reader works great  but when I minimize the application the reader stops working, how can I make when you minimize the application the r...
asked by 14.01.2018 / 19:15
1
answer

Difference between PCL projects and .NET Standard visual studio 2017

Good morning, I want to know what is the difference between PCL and .NET Standard projects I have visual studio community 2017 and when I create a project xamarin forms I only get the option to create it with .NET Standard and I have seen tutori...
asked by 16.01.2018 / 03:42
1
answer

Access objects created in another class, in what way?

I try to do the following ... In the main view MainWindow I generate as many objects ConfigNivel as I need, these objects are some views that will subsequently lodge other objects of the class ConfigNivel (other views with o...
asked by 10.01.2018 / 17:17
1
answer

How to use a thread to fill a ListView in WPF and view the progress

I am filling ListView with a list of files, I show the file name in a TextBlock and I have a ProgressBar that should stop when the Thread ends, but I get the following exception:    Unhandled exception of type 'Sys...
asked by 30.11.2017 / 14:22
1
answer

MVC Create Controller - DbContext has been disposed

I'm using MVC / Entity Framework, the error that is coming up is this: The operation can not be completed because the DbContext has been available Yes the record is created, but I get that error every time I save the record. Before, (yest...
asked by 23.11.2017 / 14:47
1
answer

Stored procedure in LinQ c #

Hello developers good day, I am with a problem it turns out that my project does not have to have any stored procedure in SQLServer and they asked me to do everything from linQ the issue is that I have not found how to create the...
asked by 25.04.2018 / 18:02