Questions tagged as 'c#'

1
answer

Malformed reference element: Digital Signature

I ended up having the same problem about a post already done here, however come a doubt next to what was posted in the article. What windows update would be to remove from the ones mentioned in this article ? (removal would be a palliative unti...
asked by 13.04.2016 / 21:00
1
answer

User add date to List MVC 4

I'm new to ASP.NET MVC 4 and C # and need help. I created a class Enrollment (discipline) public class Enrollment { public virtual int EnrollmentId { get; set; } public virtual string Name { get; set; } public virtual ICollection&...
asked by 24.04.2016 / 22:02
1
answer

Error opening application with process.start

I have an application that tries to execute with process.start or even directly by cmd of Windows, does not start correctly (the application itself presents an error), but if I go to the folder of it and open the executable, it ope...
asked by 12.04.2016 / 17:33
1
answer

Passing id for new MVC 4 controller

Continuing the previous topic ( User add date for List MVC 4 ) I have a new question. You can see in that topic the initial question and the answer that was given to me, but I needed to respond to it but I am not allowed. Following the user's re...
asked by 25.04.2016 / 15:57
1
answer

How to change the source of an image control from a ResourceDictionary

I have the following ResourceDictionary: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace...
asked by 03.04.2016 / 20:08
1
answer

Socket with C # and java

Good morning, I'm writing an application where the socket server is in C # (because there are some drivers that have to be in C #) and the client in Java. I can make the communication perfectly between them, however when passing data, I have the...
asked by 05.04.2016 / 15:48
1
answer

Routine included in ThreadPool to run in "background" does not let the application continue running

I have the following code snippet in a method of my ASP.NET MVC application that tries to delete the directories and their files. // efetuo processos de remoção de arquivos do banco de dados await Context.SaveChangesAsync(); var itens = diret...
asked by 06.04.2016 / 18:37
1
answer

Update multiple database using code first without using console

Good afternoon, guys. I have an application that every client owns their database and I'm using code first. To update I'm always running the command update-database -force in the package console for each client database. Does anyone...
asked by 23.08.2016 / 21:26
1
answer

Where should I put ConnectionString in Windows Forms with EF?

I'm having the following error using Entity Framework:    Additional information: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'. Make sure the provider is registered in the 'entityFram...
asked by 26.08.2016 / 23:23
1
answer

How to call Linq method in View?

Good morning everyone. my question is this, I have the following method in my model: public IQueryable GetConsulta() { var q = (from c in Datacontext.Tabela1 join b in Datacontext.Tabela2 on c.CodClase equals b.CodClase...
asked by 26.08.2016 / 11:29