Questions tagged as 'c#'

0
answers

Remove file from bucket on AWS S3

I need help. I'm working with the AWS dropzone.js, c #, and S3 library. I did the upload part of files worked right. Now I need to remove the files from the server if it removes the front end that already works because the library itself supplie...
asked by 27.04.2018 / 21:01
0
answers

How to change specific text from a txt file?

In my notepad you have 2620 lines which is the maximum. >PRODUTO [1] 1. Exemplo de texto 1 2. Exemplo de texto 2 >PRODUTO [2] 1. Exemplo de texto 1 2. Exemplo de texto 22 >PRODUTO [3] 1. Exemplo de texto 1 2. Exemplo de texto 2 3. Exe...
asked by 04.05.2018 / 15:28
0
answers

serialize an array and pass as parameter to model

My Action: public JsonResult SalvarCadastro(ListaModelView model) { } My Model: public string Assunto { get; set; } public string Mensagem { get; set; } public List<ContatosEmailModelView> Lista { get; set; } My...
asked by 04.05.2018 / 15:01
0
answers

Error while doing restore Database Application Windows Forms

I'm creating the database backup, but I can not restore it. It shows the following error: Thisismycodetoperformtherestoreofthebanktomyapplication.try{var_with1=openFileDialog1;_with1.Filter=("DB Backup File|*.bak;"); _with1.FilterIn...
asked by 26.04.2018 / 20:52
0
answers

Run a FOR in Webbrowser C #

At the moment I am trying to develop a data capture application using C # WebBrowser . I can get the application to enter the page and enter the value and click search, however, I can not bind this function to the for loop so that it exec...
asked by 04.05.2018 / 20:34
0
answers

Email Confirmation in C #!

I made this form that the user when registering should receive an email in which he will have a link to confirm his email by clicking on the link, so in the way I did he is not receiving the confirmation email. For this I created a class called...
asked by 27.04.2018 / 18:20
0
answers

Default file type in PictureEdit

I'm using PictureEdit of DevExpress and by default when I'm going to open an image, the preferred file type is coming as .ico. I searched and did not find a property to change that. How to put the type as "All kinds of image files?...
asked by 27.04.2018 / 16:02
0
answers

Generate reports in ASPNET CORE MVC

Is there any solution to generate reports in ASPNET CORE 2.0 MVC applications without needing a report server? I did some searching and did not find much on the subject.     
asked by 27.04.2018 / 14:55
0
answers

How to do Mock IMemoryCache c #

I'm trying to test a class that implements IMemoryCache (IMemoryCache contains static methods which can not be mocados). This is what I tried to do: var teste = new Mock<IMemoryCache>(); mockCache.Setup(m => m.Set(It.IsAny<strin...
asked by 06.05.2018 / 13:23
0
answers

Bitmap resolution

Hello, I'm doing an activity in which I need the app to capture 3 images, and send them to the bank, these images need to go as String (that is, convert the image to base64), the problem is that the resolution is coming out that neither of the mi...
asked by 24.04.2018 / 20:47