Questions tagged as '.net'

1
answer

What class similar to AesCryptoServiceProvider in .NET Core?

I'm migrating an application to .net core and I need to use AesCryptoServiceProvider , which worked perfectly in other versions of the .NET Framework. However, when using Visual Studio .NET, Visual Studio warns that this library does no...
asked by 28.07.2017 / 12:46
1
answer

Variable not designated

Give me an error saying that the remainder variable was not assigned. There are several parts of the code that I do not understand and would like explanation.    Write a program that continually reads in integer values until a four di...
asked by 14.07.2017 / 15:17
3
answers

Inserting numeric data into the database

I am having trouble inserting into the database the field is formatted as DECIMAL(10,2) ), when I try to enter the direct monetary value through MySQL it works with the end point instead of the comma ex: 135.45 - The bank addresses the...
asked by 11.09.2017 / 16:58
1
answer

Problem with for and string.Remove

I'm having a problem with a program that I did for encryption and decryption from a hash, do not judge how it works, I did it while it was too much. What is not working is decrypt, I believe it is by the replacerbyhash() function, but I c...
asked by 31.05.2017 / 00:23
1
answer

Use methods of a project written in C ++ in C # (In the same Solution)

Hello, I need to use methods written in C ++ in a project written in C #, inside .NET (both) and that are contained in the same solution (as shown in the image below) ItriedtocompiletheprojectsandaddtheC++projectreference(whichwascreatedi...
asked by 29.05.2017 / 04:00
2
answers

I can not apply Encoder in the text to correctly appear "ç, accents, other special characters"

Hello, I need to collect information from the station, and I'm getting it. But in the received text I can not apply an Encoder to appear the special characters correctly: I'vetriedusing"ISO-8859-1", and other forms of encode too string...
asked by 28.04.2017 / 19:25
1
answer

Unavailability of System.Drawing Image Class

This class is not available. System.Drawing.Image; I use Vs 2013 and NetFramework 4.5.2 and dll system.drawing v.4.0 I have already added the references and already included a new "dll" and it is not available. Only declaring System.D...
asked by 25.04.2017 / 21:05
1
answer

Error saving entity framework

I have a very basic problem, but I must be short of coffee to understand what is happening. I have an entity like this: public class Client : BaseEntity<Client> { [Required] public string CorporateName { get; set; } // V...
asked by 20.04.2017 / 00:29
1
answer

CTeDistribuicaoDFe - Problems querying webservice

I'm trying to query the webservice of the Sefaz. " link " I'm getting the error below:    "403 Forbidden - Access Denied". The message seems to be clear, but I am passing a valid digital certificate. Follow the code snippe...
asked by 28.03.2017 / 15:48
1
answer

How to extract the information from the Itau return file in C #?

I'm developing an application in which the BoletoNet library is being used to generate tickets. In this case the library itself when generating the tickets also generates the shipping file that needs to be sent to the bank. On the other hand,...
asked by 10.03.2017 / 23:17