Questions tagged as 'c#'

1
answer

Microsoft.Speech.Recognation and System.Speech.Recognation PlataformNotSupportedException

I'm having a problem with Microsoft.Speech.Recognition and also with System.Speech.Recognation; Well, I was able to run the application to support the English language, which in the case is standard in my OS, which is Windows 8....
asked by 11.06.2015 / 16:27
2
answers

Doubt how to draw several different pictures

I'm a beginner in C #, I'm using visual studio 2010 and I have a project to do and an idea came up, but I do not know how to put it in code. I would like to add 2 combo box (ITEM and COLOR), and an image next to it that changes according to what...
asked by 13.06.2015 / 20:30
1
answer

Individual User Account between MVC and WebApi projects

I have an MVC project with Individual User Accounts, I use Roles for access management and everything works fine. I recently had the need to create a file manager on another server, I created a WEB API project and I communicate via HttpClient, t...
asked by 04.06.2017 / 18:52
1
answer

MVVM, Should I use ICommand on all controls?

The use of commands through the ICommand interface is part of the MVVM. The question is, should I use commands on all controls? Even those who are not connected with the business rule? For example, a HambugerButton wh...
asked by 31.12.2016 / 21:06
1
answer

Create customizable parameter for Application Insights

In a WebForms project (C # - .NET 4.6.2) I'm using Azure's Application Insights telemetry I'd like to send a custom parameter to the statistic. / p> I basically want to send the ClientId to the telemetry, so I would know to identify some bo...
asked by 30.01.2017 / 11:59
1
answer

Is there any difference in using the Read () method of the SqlDataReader object?

I'm running the code snippet below, however, I was unsure about the Read() method of the SqlDataReader object. using (SqlDataReader reader = cmd.ExecuteReader()) { if (reader.HasRows) { if (reader.Read()) {...
asked by 08.02.2017 / 18:30
1
answer

How to change chart when changing date

First of all I apologize for my ignorance of some concepts, I am new to the area. I recently started in a company where I have the following problem: I have Datepicker and when I select a date, I need the chart to change by the date se...
asked by 07.11.2016 / 16:58
1
answer

Does the keyword "async" really make the method asynchronous?

I was watching a video (at 31:11 minutes) and it says that async does not actually do this asynchronous, is more a "tip". Since I was in English and I am not fully advanced, the understanding was half empty. To be able to enter the a...
asked by 27.11.2016 / 23:55
1
answer

How to save and return images with Web Api?

How to send and return images of a Web Api from Controller of a Asp.net MVC application? In my Controller of project Asp.net MVC I get from View an image of type HttpPostedFileBase and need to...
asked by 06.06.2014 / 21:37
3
answers

WPF MessageBox Layout

How can I customize my MessageBox? Original .. HowIwishIwas(Major)     
asked by 02.06.2014 / 22:43