Geeks With Blogs

News Please visit me at my new blog!!

profile for Aligned at Stack Overflow, Q&A for professional and enthusiast programmers
"free in Christ Jesus from the law of sin and death." Romans 8:2 (ESV) Check out the Falling Plates video on YouTube.
more about the Gospel
And then listen to Francis Chan speaking at LifeLight in SD.

Programming and Learning from SD Performance Performance related posts.
GWB used Stackify to improve performance
I asked GWB support about my missing categories/tags. They said they are working on it, though it has been a while and others are also missing categories, I was satisfied to get a response. They also sent me a link to show that they were making improvements. Here’s a nice article about how they used Stackify to identify they had a lot of exceptions that was slowing down the site. I hope to see continued progress. Maybe they should start posting their own articles on GWB what they are working on and ......

Posted On Tuesday, July 7, 2015 1:01 PM

IReadOnlyList as a method parameter
Resharper is a fabulous tool for Visual Studio and is my HUD for what’s going on. It helps me see things I don’t always notice. For example, using an IEnumerable multiple times will have blue squiggles and saw “Possible multiple enumeration of IEnumerable”. The power and pitfalls of LINQ and deferred execution! To avoid the multiple enumeration I usually .ToList() the enumerable. A colleague suggested using IReadOnlyList<T> which was added to .Net 4.5 in 2012 instead of IEnumerable<T> ......

Posted On Tuesday, April 21, 2015 2:02 PM

ASP.Net 4.5 Garbage Collection Improvement
I just read Five Great .NET Framework 4.5 Features on CodeProject by Shivprasad koirala. Feature 5 in his article mentions the GC background cleanup and has a good explanation of the work the GC has to do for ASP.Net on the server. “Garbage collector is one real heavy task in a .NET application. And it becomes heavier when it is an ASP.NET application. ASP.NET applications run on the server and a lot of clients send requests to the server thus creating loads of objects, making the GC really work ......

Posted On Monday, June 24, 2013 1:06 PM

MVC Performance Tip
MVC can work with .cshtml or .aspx pages (you can mix Web Forms and Razor views in the One ASP.Net that Scott Hanselman talks about). This means MVC will search for a view with endings of .aspx, .ascx, .cshtml, .vbcshtml, in the Controller directory (if you have a HomeController, then it it would look in Views/Home, then Views/Shared). If you aren’t using aspx pages it’s doing extra work it doesn’t need to do. See Dave Ward’s post on the importance of using debug=false and Marcin Doboz’s post on ......

Posted On Friday, May 31, 2013 8:10 AM

Copyright © Aligned | Powered by: