Questions tagged as 'c#'

1
answer

What is the difference between GetKeyState () and GetAsyncKeyState ()?

I have always used GetKeyState() to know if the user is pressing a key, but I see that many people use GetAsyncKeyState() more. With this I got the following doubts: What's the difference between the 2? When should I use e...
asked by 15.08.2017 / 22:32
1
answer

use WCF service method returns The caller was not authenticated by the service

I have a project with multiple WCF services compiled, and accessible by another project on the same machine. Now I'm trying to connect to one of these services from another machine. I put the service refence URL, but it asks me for authenticatio...
asked by 03.08.2017 / 15:43
1
answer

Different layout in last row of datagrid

I have datagrid where I show values referring to the beginning and end of a period. For this, I created columntemplate down with 2 textblocks , but in the last line, I show a value that is the difference between these 2 first...
asked by 21.08.2017 / 16:53
2
answers

Unpick Chrome from running tests with automated software

I tried to implement Chrome Options in my script to delete that yellow information bar from Chrome, which is displayed every time we run automated tests (" Chrome is being controlled by automated test software " ), but the result I had wa...
asked by 08.08.2017 / 12:54
1
answer

Does Linq generate this ID? How to recover?

I'm doing an automation using Selenium WebDriver and I'm getting all the elements of a Table. I used the code below: var qntd= driver.FindElements(By.XPath("//*[@id='dataTable']/tbody/tr")).Skip(3); I then realized that each element gene...
asked by 27.07.2017 / 15:34
0
answers

Control X-axis markup in date data graphs

I have records in the database and a graph where I can preview them. The graph is data x Voltage in volts. When I have few records in the table the graph shows exactly the date recorded in the bank on the X axis, but over the time I add more...
asked by 10.08.2017 / 21:52
0
answers

Dynamic LINQ from DTO - DateTime filtering

I'm trying to mount a dynamic filter from a DTOFilter object that I get populated through the View. My problem is, when I try to filter the results that will be shown on the screen by MesAno, I can not properly handle the data so that LinqToEnti...
asked by 10.08.2017 / 22:09
1
answer

How to test my application made in Xamarin in the Visual Studio emulator?

I made a mobile android app using Xamarin and tested it normally, I made some modifications and when I was compiling again, the visual studio emulator remained with the old version, making me unable to test my application. With this I uninstalle...
asked by 11.08.2017 / 02:17
0
answers

How to access Raycast's gameObject from the Gear VR control?

I want to know how I can activate the Red Laser of the Gear VR and how I can know information of what the laser is touching?     
asked by 30.07.2017 / 09:43
2
answers

Error Multiple object sets per type are not supported

I have an error in my application. I am working with Identity for user authentication but calling Controller created is returned the following error:    Multiple object sets per type are not supported. The object sets 'Users' an...
asked by 30.07.2017 / 18:21