All Tags » C# (RSS)

Browse Site by Tags

Showing related tags and posts across the entire site.
  • Identifying Control Templates Parts in WPF

    I'm currently writing the chapter about control templates in our WPF book , and I wanted to include a list of all of the named parts that are hidden away in the dark recesses of the various controls. Before I even started googling, I had an idea that I thought I'd share. For those of you not...
    Posted to Christopher Bennage by Christopher Bennage on 03-09-2008
    Filed under: WPF, Tips & Tricks, C#
  • Cold, Hard, Cache!

    Don't get me wrong, I really like the Asp.Net Cache (or HttpRuntime.Cache or Uncle Daddy if you want to call it that... you're a little odd aren't you?), but sometimes it just can't be trusted. I mean, I just gave you (the cache) my precious object a second ago and now you claim you don't...
    Posted to Alan Northam by anortham on 03-06-2008
    Filed under: C#, ASP.NET, Cache, HttpRuntime.Cache
  • Discovering Empty Try/Catch Blocks

    I've been burned by a few bugs recently due to swallowed exceptions. In case you don't know, empty catch blocks will hurt you. Really, they will. I wanted a way to locate all of the empty blocks in our code base, I was playing around with NDepend and the amazing Code Query Language , but it's...
    Posted to Christopher Bennage by Christopher Bennage on 02-21-2008
    Filed under: Tips & Tricks, Visual Studio, C#
  • The Mother of Exception Handling Anti-Patterns

    I know this has been discussed before elsewhere - but since I'm cranky about finding it after not-so-few-minutes of looking in some legacy code I'm working on - what follows is NOT an example of proper exception handling: } catch (Exception ex) { AuditLogger.LogError(ex); } This "swallow...
    Posted to Billy McCafferty by Billy McCafferty on 11-30-2007
    Filed under: C#
  • Back to Basics: XOR

    Conditionals are a common spot for the unintended creation of un-maintainable and un-readable code. To mitigate complicated conditionals, refactoring with Decompose Conditional always helps in conveying what you're trying to do. In other times, it's simply a matter of making the conditional logic...
    Posted to Billy McCafferty by Billy McCafferty on 11-24-2007
    Filed under: C#
Page 4 of 11 (220 items) « First ... < Previous 2 3 4 5 6 Next > ... Last »

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Google Reader or Homepage Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of
Red-Gate Tools For SQL and .NET


SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
NHibernate Profiler
Balsamiq Mockups
JetBrains - ReSharper
Web Sequence Diagrams
Ducksboard<-- NEW Friend!


Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers


Community Server (Commercial Edition)