Posts by Ronan Silva • 360 points
15 posts
-
5
votes2
answers814
viewsQ: What is the most "clean" and clear way to validate entities using the Entity Framework
I am using the Entity Framework for data manipulation. The project is divided into 2, one containing the domain entities and the other the mappings (Fluent Api). I need a clear "clean" way to…
-
0
votes2
answers530
viewsA: Winforms C# - Display loading form
The program executed perfectly with the change of the method. _frmProcessor.Show(); Thank you!
-
1
votes2
answers530
viewsQ: Winforms C# - Display loading form
I own a main Winforms and would like while the asynchronous task is processing a new form (with GIF) is displayed, this would only close upon completion of processing. frmProcessor _frmProcessor =…
-
0
votes1
answer116
viewsA: new networkStream what arguments to use?
The builder Networkstream() requires a type parameter Socket, that is, it needs to know the corresponding socket to send and receive bytes. From what I’ve noticed, your application is kind of client…
-
2
votes1
answer85
viewsQ: POST coding
In web requests when posting data on a server string of the model below (using the parameters): string hello = "hello"; string token = "teste=="; It is transformed into post data equal to those…
-
1
votes0
answers101
viewsQ: Protect Webservice NUSOAP
I developed a WSDL service through the NUSOAP library. The intention is to make the Web Service can be accessed both by PHP applications and on the platform .NET, however, I would like to add a…
-
3
votes1
answer243
viewsQ: PHP - Why should I put an IF in mysqli_prepare()
In the example in Manual PHP was made use of the if before the execution of the instructions. I know that the if is used for comparisons, what comparison is being made here? Follow the example of…
-
0
votes2
answers702
viewsA: How to extract file from an FTP directory?
I believe that the FTP protocol is not the most suitable for file extraction. When a file is extracted, the processing done was the responsibility of the server, that is, you must send a command so…
c#answered Ronan Silva 360 -
0
votes2
answers177
viewsA: Listview in the vb6?
In my opinion this language is obsolete, however it is possible to carry out the operation you want. "How to display data that has been entered into Textbox in a Listview in the VB6" //Obter o texto…
-
0
votes1
answer38
viewsA: Cannot find the Interop type that Matches the Embedded
The above message says one is missing reference a DLL "Microsoft.Office.Interop.Excel.Application", be sure to add a reference to this DLL in your project. From my analysis I saw that you are using…
sql-serveranswered Ronan Silva 360 -
0
votes1
answer916
viewsA: How to center text using print Document c#?
Douglas, There are several ways to center the text, one of them is by getting the rectangle of the page boundaries. string text1 = "Este texto será centralizado no TOPO"; using (Font font1 = new…
-
1
votes1
answer126
viewsQ: Fluent Mapping API 1:N cascateado
How to Model a Relationship of 1:N, where, 1 user may have several requests, and in this request we have reference to another entity? Ex: public class Usuario { public int UsuarioId { get; set; }…
-
3
votes2
answers1069
viewsA: Voice recognition does not work
There are some solutions that solve this problem. Among the most used: 1 - Check the version of . NET Framework you are using and see in the DLL documentation if it supports the same. 2 - Add a…
-
0
votes0
answers92
viewsQ: Dataset or Datareader? - C# NET programming
Data-driven projects are widely used in desktop applications, I’m with a library project that saves member records. I’m using the method of Application in 3 layers, consists of a lot of efficiency…
c#asked Ronan Silva 360 -
4
votes2
answers161
viewsQ: Protecting data in memory
I read several articles on cryptography etc... The cryptography reported by posts was a success in my program, however some data remains in memory being vulnerable to Assembly readers in real time.…