Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

Browse by Tags

All Tags » c#
Showing page 1 of 13 (121 total posts)
  • Code Smells in C#

    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 ...
    Posted to C# Nuggets (Weblog) by rbirkby on May 12, 2008
  • C# und ASP.Net Performance Optimierungen

    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 ...
    Posted to manik.net (Weblog) by manik on April 18, 2008
  • Shell MegaPack.Net 2008 released with full support for Visual Studio 2008 and Vista

     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, ...
    Posted to Announcements (Forum) by ssware on April 18, 2008
  • Refactor Request

    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 { ...
    Posted to Steven Smith (Weblog) by ssmith on April 2, 2008
  • Generic Recursive Find Control Extension

    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. ...
    Posted to Orcs Goblins and .NET (Weblog) by Brendan on March 31, 2008
  • Creating a Recursive FindControl Extension Method

    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 ...
    Posted to Orcs Goblins and .NET (Weblog) by Brendan on March 31, 2008
  • Tweak web.config To Set Compilation Debug False

    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 ...
    Posted to Steven Smith (Weblog) by ssmith on March 30, 2008
  • C# Generics vs C++ Templates

    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 ...
    Posted to Orcs Goblins and .NET (Weblog) by Brendan on January 30, 2008
  • Try Catch Performance in CSharp: A Simple Test Response

    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 ...
    Posted to Orcs Goblins and .NET (Weblog) by Brendan on January 18, 2008
  • Trends in Programming Languages

    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 ...
    Posted to Steven Smith (Weblog) by ssmith on January 8, 2008
1 2 3 4 5 Next > ... Last ยป