Questions tagged as 'c#'

1
answer

Doubt in the VerifyUserTokenAsync method of Asp.Net Core Identity

Asp.Net Core Identity I have a question regarding VerifyUserTokenAsync If the user forgets the password, I'll provide a page to indicate the email and send a url that has the UserId and Token (by default): private async Task Esque...
asked by 28.02.2018 / 17:13
1
answer

How to save Console Application data using EntityFramework

I made a console application using Entity Framework , but I'm having a hard time implementing the methods of my repository class that inherits from an interface, I've made my interface classes and my concrete repository class like this:...
asked by 20.02.2018 / 21:08
1
answer

Modal Bootstrap and MVC C #

Personal I have a view called Projects that brings a list of projects and I need to visualize the information / detail of each project through a Bootstrap modal. So I created a button that calls a javascript function within...
asked by 20.02.2018 / 15:20
0
answers

Error compiling a web application

How do you solve this problem? I have an application in dot.net and compiling this message appears. I did not want to make this directory default. How can I solve it? Would anyone have an idea of what can be done?    Could not find file...
asked by 20.02.2018 / 21:21
1
answer

Critical for when to do Deploy [closed]

In the case of a .NET webforms application being deployed, is there any way to warn the user that the system is being updated?     
asked by 27.02.2018 / 13:25
1
answer

Error when starting Context Entity Framework: Function requires all threads to be executed

I have a solution that has some projects working, they all refer to the Domain layer, which is responsible for connecting to the Oracle Database . I created a project in Console referencing Domain, like the other projects and when I start...
asked by 23.01.2018 / 13:23
1
answer

List of all files that are inside the Resource.Raw folder

How to get all the files that are in the Resource folder and move to a list. I'm doing it manually, but now I need to dynamically pick up and move to a list all the files that are in the Resource.Raw folder string[] caminho = new string[2];...
asked by 26.01.2018 / 03:28
0
answers

How to view the final "CommandText" with the parameters added?

MySqlCommand comm = new MySqlCommand("", conexao); comm.CommandText = ("SELECT @select FROM @from WHERE @where LIKE '@like'"); comm.Parameters.AddWithValue("@select", select); comm.Parameters.AddWithValue("@from", from); comm.Parameters.AddWithVa...
asked by 30.01.2018 / 14:23
0
answers

Android Upload image in string to c #

I'm sending images from Android to the server in C # but when I try to do the conversion it makes an error in this conversion. In android I make this conversion: ByteArrayOutputStream stream = new ByteArrayOutputStream(); bitmapPhoto.compr...
asked by 31.01.2018 / 02:32
0
answers

MySql Bank does not connect with Entity Framework

I'm trying to connect a MySql database with C # through the Entity Framework, but every time I click on the next button it does not work (with Sql Server going the problem is with MySql)     
asked by 29.01.2018 / 06:39