Click here to Skip to main content
15,886,110 members

Comments by Thomas Nielsen - getCore (Top 160 by date)

Thomas Nielsen - getCore 6-Dec-17 10:31am View    
Yea that's right! startup.cs is the most common name for the 'application_start' class in .net core
Thomas Nielsen - getCore 5-Dec-17 3:12am View    
I updated the solution for general external controllers, in this case a web api 2 doesn't have a difference to .net core that i have found yet, beyond more stuff working off the bat. From your decription it is the same problem i encountered.
Thomas Nielsen - getCore 23-Nov-17 10:21am View    
Haven't read the details yet, but mostly when these things happen, means you're updating the ui too frequently or modify several things that cause layout to be invalidated and hence queued for repaint. You can improve this behaviour by using SuspendLayout/ResumeLayout when modifying object on screen and reducing FPS, number of updates per second. Human eye cannot easily see higher than 30 anyway, i guess you're doing more than that. And add a logging framework (log4net) and start dropping lines in to get an easy indication of frequency.
My best guess is that your client eats the cpu so there's little left for the other application or your move tries to paint for each pixel. Hope this helps as a direction at least.
Thomas Nielsen - getCore 23-Nov-17 9:55am View    
Does the table you're binding to have a primary key?
Please supply the datatable definition, it's most likely where your difference_of_trouble lies
Thomas Nielsen - getCore 23-Nov-17 9:52am View    
i'd recommend getting the data from the database and do your logics in c#, it's much easier than using tsql for that. You'll have to make a rather complex query if doing what you will, could that work for you?