Questions tagged as 'c#'

1
answer

Code block freezing and not throwing exception

I am using the twain library for scanner, and the application lists some devices that when selecting does not work, so I debugged and saw that it does not throw the exception that I treated, but it freezes in that code public void Acquire()...
asked by 12.07.2015 / 14:42
1
answer

EntityFramework 6 + LazyLoadingEnabled + using ()

I need a help. My problem is this: I can not return the items of my object. Follow my code for review. Client Class public partial class Cliente { public Cliente() { this.ClienteEndereco = new HashSet<ClienteEndereco&g...
asked by 22.05.2015 / 16:55
2
answers

Show whitespace for Null value in Views

When I send some value null to my view , and Razor tries to render the value, an exception is returned. Is there a way, when view gets a null value, render this as a blank space without having to do checks with if ?     
asked by 07.05.2015 / 15:17
1
answer

Capture position of joints on X, Y, Z axes with Kinect V2

I need to extract the position of the joints from a recording and / or in real time, and convert to database format and / or file (txt). Similar to what is done in this video , but instead of displaying need to save the X, Y, Z for each of the...
asked by 13.04.2015 / 23:59
1
answer

Connection pool with ADO.NET and Dispose of SqlConnection, what is correct to do?

Yesterday I asked a question yesterday about What is the difference between implementations of IDisposable? I was implementing a class to help get instances of SqlConnection , SqlCommand , SqlDataReader methods Execute...
asked by 24.06.2015 / 16:26
1
answer

System.Web.resources.dll not found

We have a mvc3 / dotnet4 project, which consumes DCOM (c ++) servers through intertops. Both DCOM (c ++) servers and the mvc3 (c #) project were compiled with visual studio 2013. The projects have been migrated to visual studio 2015. In...
asked by 21.09.2015 / 15:29
1
answer

Problem with the datakeynames property of the listview component

I get the following error when running the application:    Message = DataBinding: 'DataMinds.Models.Focus.FlowerObject' does not contain a property with the 'Sector.Code' name. The error message refers to the ListView component, wh...
asked by 26.08.2015 / 16:57
1
answer

I can not get a provider for Oracle with Code First

I'm doing the following: Model dou Add folder > New Item follows images ThenIselectADO.NetEntity,giveitaname,andADD SelectCodeFirstandgiveNext Wellatthisstep,Iselect,andseefromtheimagethatIdonothavetheOracleClientoptionandIalreadyaddediti...
asked by 05.11.2015 / 13:14
1
answer

Download FTP using C #

I'm trying to download an FTP server. The problem is this: I need a way to partition the file I'm downloading. So that it is downloaded part by part and not complete at once. Doing so asynchronously also does not work for my case because it w...
asked by 29.10.2015 / 14:40
4
answers

.NET C # IIS Request aborted: Could not create a secure channel for SSL / TLS

Srs, I'm trying to communicate with the recipe server / SEFAZ using an A1 certificate through an MVC5 C # application on an IIS 8 server, in the pool with my user's identity. The certificate is installed and I have already performed the tests...
asked by 29.08.2015 / 00:19