in

ASP.NET Weblogs

 Diary of an ASP.NET bodger

March 2004 - Posts

  • Where are your bottlenecks?

    I'm sure most people reading this will be aware of the joys of trace.view but I've never *really* got it to show me where my main bottlenecks are. It's just a bit too much like hard work to be honest.

    Enter ANTS profiler.
    Absolutely superb piece of kit that needs to be in every developers toolkit - whether ASP.NET or winforms. Even those freaky C# guys.

    What it does is sit in the background while you run your app, clicking about and emulating the actions of a user.
    When you've finished, it opens up a history of activity, the top 100 slowest functions and allows you to actually drill down into the relevent piece of code. There's even a nice little red bar for those really slow calls.

    S'very nice. You can get it here
    www.red-gate.com If you're serious about tweaking your code, I definitely think its worth it.
    However, if you're happy with functions that take 2seconds - stick with the trace :P

    Posted Mar 29 2004, 04:11 PM by Mr Pike with 2 comment(s)
    Filed under:
  • New article - creating a custom repeater with custom caching and sorting..

    A recent requirement was to create a web-page that sorted ascending then descending based on the last sort per column. I could have extended a datagrid to do my bidding but I ended up creating my own system due to some logic that needed applying to one of the columns (If conditionA then bgColor=Red).
    That kind of logic was easy enough to accomplish in classic asp but I found it difficult to do to with a datagrid.

    The article is here - any feedback appreciated and will of course be incorporated.
    Also, if you can tell me how to navigate to my articles, I'd be very grateful lol!

     


    Posted Mar 17 2004, 02:31 PM by Mr Pike with 1 comment(s)
    Filed under:
More Posts