Questions tagged as 'c#'

0
answers

AutoComplete with JQuery Structured Query

I needed to do a query that worked like the following example: Inprintyoucanseethattypinganitemreturnsstructuredbyneighborhoodandthencity.Iwantedtobeabletoknowhowtodomyqueryinthisway,structuredbyNeighborhood,CityandStreet.Icanonlyimplementthesi...
asked by 20.04.2018 / 18:25
1
answer

Obtain / Render edges of a 3D object

I have the following question regarding getting the positions of a particular edge of a 3D object. Example, I have a track (car game) and I want to calculate, through a C # script, both sides of the track. See image: I have the posit...
asked by 12.03.2018 / 19:55
2
answers

RGB Color in Visual Studio 2017?

How can I get more colors for the bottom of my form? I have a color in RGB and I do not know how to put it beyond the colors already offered in Visual Studio 2017. I have already tried searching the internet and found nothing        
asked by 05.07.2018 / 17:05
1
answer

Error when querying large amount of data in the Entity framework,

I am putting together a report, and there is the option to query by date range. When I query with the interval of 30 or 60 days, I get the data, where I cluster and return. However, when you increase the query time, the same method returns th...
asked by 28.06.2018 / 21:16
2
answers

Scroll element of the DataGrid class WPF C #

I have a function that creates a grid, and I needed to know the value of the scroll of this grid, so I can trigger an event when it reaches the bottom of the page. But I do not know how to get those values, the function is down here: using Sys...
asked by 05.07.2018 / 21:25
0
answers

System.Threading.ThreadAbortException: The thread was being aborted. When consuming webservice operation

I have the following code: proxy_hom_recepcionarLoteRps.RecepcionarLoteRPS proxy = new proxy_hom_recepcionarLoteRps.RecepcionarLoteRPS(); proxy.Url = url + "/arecepcionarloterps"; string resp = proxy.Execute(CABECALHO, xmlEnvio); Execute...
asked by 05.04.2018 / 16:59
0
answers

How to know the query failure in Sql Server profiler

I have an application, which performs the API tests by postman. Debugging the app, the test goes through all my layers and returns: 'status: 200 ok'. However, the object is not inserted into my table. I have tried to map a request to the Sql...
asked by 04.04.2018 / 01:57
1
answer

Creating folder of ASP.NET Core files

Hello, I am generating a file folder via code, but it does not appear as if it were actually inside the project / solution, like this: Iwouldliketocreate(viacode)thearchivefoldersothatitisactuallywithintheproject/solution.Likethis: Than...
asked by 17.08.2018 / 02:37
0
answers

Persist data in related tables (1 x N)

I have these 2 related classes, and the requested class has a Collection of "OrderItems" ... The Order class: public class PedidoDTO { public int pedidoID { get; set; } public int codigo { get; set; } public Date...
asked by 18.08.2018 / 22:16
0
answers

Geographical data

What are .NET classes for working with geographic data (latitude, longitude, etc.)? During a search I found the namespace System.Spatial but I saw in a forum someone advised against its use because it is obsolete. Looking at the doc of...
asked by 18.08.2018 / 22:17