|
|
Browse by Tags
All Tags » c#
Showing page 1 of 13 (121 total posts)
-
A lot of my development is done with Code Smells. Whether I'm working on my own code or refactoring someone elses code, if I see some code and it smells funny, then I investigate further.
Recently I've come to realize there's a code smell which we can blame Microsoft (Anders) for!
C# Code Regions.
Back in the early days ...
-
Hier mal in Stichworten ein paar Grundsätze die man beim Entwicklen beachten sollte, wenn Laufzeit-Performance eine Rolle spielt:C# Performance Optimierungen: Lieber wenig große wie viel kleine Assemblys„sealed“-Klassen wann immer möglich bei geerbten Typen mit vielen virtuellen Funktionen. Die virtuellen aufrufe werden ...
-
Shell MegaPack.Net 2008 recreates the entire Windows Explorer file & folder browsing UI functionality in your app in just a couple of seconds. Consisting of a folder tree control, a file/folder list control and a drive-selection control, it completely mimics the Windows Explorer UI including Thumbnail, Detail & Group View, ...
-
Not sure if it's already there, but the folks at DevExpress or JetBrains (or Microsoft, but I don't want to wait for another VS) should have a refactoring for CodeRush/Refactor! or Resharper that will convert verbose properties into C# 3.5 short properties, like so:
Make this: protected bool isSponsored = false;public bool IsSponsored{ get { ...
-
Earlier today I posted about a Recursive Find Control Extension Method. I was informed recently by Steve Smith that I should check out the generic find control method which Aaron Robson has on his blog. He has some pretty nice methods there, so I just adapted them to be extension methods now. As extension methods the code looks like this. ...
-
So one of the most useful methods for ASP.NET development that never seems to be included in ASP.NET is a recursive find control method. This problem results from the standard FindControl method on controls only searching within that control. It only finds child controls not grandchildren or anything farther down the line. This means that anything ...
-
ASP.NET applications should never run with <compilation debug=''true''> in production. It can have drastic performance implications (of the negative kind). Obviously, in a perfect world, developers would always remember to verify this setting whenever they upload changes to production, but unfortunately many organizations utilize ...
-
I regularly meet with a group of my college friends with whom I studied Computer Science. While at a great local bar we have plenty of interesting computer-related conversations. A lot of .NET developers probably spend most of their time discussing technical topics with other .NET developers. Our conversations are much more interesting because ...
-
I read an interesting little post about a Try Except Performance Test Using Python written by Patrick Altman. As he mentioned, I have also had discussions with people about this exact topic in the past plenty of times. He was testing the performance issue of whether it is better to use a try catch block to handle possible errors or to check for ...
-
Al Pascual wrote about some trends he noticed using Google Trend, with regard to different programming languages. It's an interesting tool, since it can be used to gauge general interest in particular keywords and search terms, as well as news, going back about 4 years. For instance, here's a comparison of Visual Basic and C# using ...
1 ...
|
|
|