Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 2,964 times

Related Categories

James Crowley

Random thoughts from a UK Student and .NET developer
James Crowley
http://weblogs.asp.net/james_crowley/   RSS feed

Random thoughts from a UK Student and .NET developer

Recent Posts

    Displaying 1 to 25 of 47 archived entries.
  • Why is the HtmlHead class sealed?

    Published on 22 Nov 2005 by James Crowley

    ASP.NET 2.0 gives us a Page.Title property, which we can set in code, or in the Page directive. Great! Unfortunately, I had a requirement so that whilst I'd be setting a portion of the title from the page, the rest would be pre-defined (ideally within the master page that I use). Obviously you can't

  • Enhanced UK Developer Event Listings

    Published on 21 Nov 2005 by James Crowley

    I've now got some enhanced UK developer event listings up on Developer Fusion - check it out at http://beta.developerfusion.co.uk/events/. Suggestions for improvements are always welcome. Made a nice use of the Google Maps API to do this... (sorry Microsoft, but the MapPoint service is way out of my

  • Multiple CSS Classes

    Published on 17 Nov 2005 by James Crowley

    I'm not sure I should really admit to not knowing this... but today was the first time I'd realised that the "class" attribute for elements within a HTML document can accept more than one class name. doh.Update: Here's a simple example. With the following in your style sheet....align-c { text-align:

  • Caching Method Results in ASP.NET 2.0 using Delegates

    Published on 14 Nov 2005 by James Crowley

    Hmm. Talk about over-engineering. I don't think we really need generics at all, provided we're happy with a cast outside the method instead of inside it. public delegate object MethodExecution();public static object GetCachedMethod(string key, DateTime absoluteExpiration, MethodExecution method){&nb

  • Caching Method Results in ASP.NET 2.0 using Generics & Delegates

    Published on 14 Nov 2005 by James Crowley

    Today I found myself coding a fairly familiar pattern - checking whether there was an entry in the ASP.NET cache with a particular key, if not, executing a method and adding the result to the cache, and either way, returning the result. I wondered whether there was a "nice" way to do this using gene

  • Re-setting Identity Column in SQL Server

    Published on 10 Nov 2005 by James Crowley

    Discovered something new today - normally I'd just use the TRUNCATE TABLE command in order to reset an identity column in a table within SQL Server. However, SQL Server doesn't let you do this if you've got foreign key constraints pointing at the table; so instead, I deleted all the rows using a sta

  • AJAX in ASP.NET

    Published on 02 Nov 2005 by James Crowley

    For those of you who missed my presentation on AJAX in ASP.NET at DDD II... or just want to see me mess up in my first demo again, you can now download a video of it from here. Enjoy! :-)

  • Developer Events in January

    Published on 07 Jan 2006 by James Crowley

    Just thought I'd post some information about upcoming developer events in January dotted around the UK! If you haven't been to one before, why not give it a go? Ian Griffiths on C# 3.0Thursday, 12 January 2006, 18:30 - 21:00 in London, UK (London .NET User Group) With the covers barely off on C# 2.0

  • Developer Fusion reaches 1/2 Million Unique Users/month

    Published on 14 Feb 2006 by James Crowley

    Forgive me for sounding my own trumpet, so to speak... but this is a significant milestone for me! Developer Fusion has reached over 500,000 unique users* in the last 30 days, which is great news, and the first time it's broken this (albeit artificial) barrier. Next target: 750,000! I'm really hopin

  • Do you run or attend a User Group?

    Published on 21 Feb 2006 by James Crowley

    If you're involved in a User Group (in *any* country), I'd encourage you to submit information about your group to Developer Fusion at http://www.developerfusion.co.uk/members/submit.aspx - you will then be listed within our directory of resources; like these .NET User groups that we're already list

  • Bug fixes, and a week today....

    Published on 05 Mar 2006 by James Crowley

    I had a thank you email from Pete LePage on the Web Development Tools team the other day - letting me know that I was one of the top ten valid bug finders (as in, bugs that were actually fixed) for the VS 2005 product cycle... It's always nice to know that we can all make a difference to the finishe

  • Bug fixes, and a week today....

    Published on 05 Mar 2006 by James Crowley

    I had a thank you email from Pete LePage on the Web Development Tools team the other day - letting me know that I was one of the top ten valid bug finders (as in, bugs that were actually fixed) for the VS 2005 product cycle... It's always nice to know that we can all make a difference to the finishe

  • Do you run or attend a User Group?

    Published on 22 Feb 2006 by James Crowley

    If you're involved in a User Group (in *any* country), I'd encourage you to submit information about your group to Developer Fusion at http://www.developerfusion.co.uk/members/submit.aspx - you will then be listed within our directory of resources; like these .NET User groups that we're already list

  • Developer Fusion reaches 1/2 Million Unique Users/month

    Published on 14 Feb 2006 by James Crowley

    Forgive me for sounding my own trumpet, so to speak... but this is a significant milestone for me! Developer Fusion has reached over 500,000 unique users* in the last 30 days, which is great news, and the first time it's broken this (albeit artificial) barrier. Next target: 750,000! Many thanks to e

  • Developer Events in January

    Published on 07 Jan 2006 by James Crowley

    Just thought I'd post some information about upcoming developer events in January dotted around the UK! If you haven't been to one before, why not give it a go? Ian Griffiths on C# 3.0Thursday, 12 January 2006, 18:30 - 21:00 in London, UK (London .NET User Group) With the covers barely off on C# 2.0

  • Why is the HtmlHead class sealed?

    Published on 23 Nov 2005 by James Crowley

    ASP.NET 2.0 gives us a Page.Title property, which we can set in code, or in the Page directive. Great! Unfortunately, I had a requirement so that whilst I'd be setting a portion of the title from the page, the rest would be pre-defined (ideally within the master page that I use). Obviously you can't

  • Enhanced UK Developer Event Listings

    Published on 22 Nov 2005 by James Crowley

    I've now got some enhanced UK developer event listings up on Developer Fusion - check it out at http://beta.developerfusion.co.uk/events/. Suggestions for improvements are always welcome. Made a nice use of the Google Maps API to do this... (sorry Microsoft, but the MapPoint service is way out of my

  • Multiple CSS Classes

    Published on 17 Nov 2005 by James Crowley

    I'm not sure I should really admit to not knowing this... but today was the first time I'd realised that the "class" attribute for elements within a HTML document can accept more than one class name. doh.Update: Here's a simple example. With the following in your style sheet....align-c { text-align:

  • Caching Method Results in ASP.NET 2.0 using Delegates

    Published on 15 Nov 2005 by James Crowley

    Hmm. Talk about over-engineering. I don't think we really need generics at all, provided we're happy with a cast outside the method instead of inside it. public delegate object MethodExecution();public static object GetCachedMethod(string key, DateTime absoluteExpiration, MethodExecution method){&nb

  • Caching Method Results in ASP.NET 2.0 using Generics & Delegates

    Published on 15 Nov 2005 by James Crowley

    Today I found myself coding a fairly familiar pattern - checking whether there was an entry in the ASP.NET cache with a particular key, if not, executing a method and adding the result to the cache, and either way, returning the result. I wondered whether there was a "nice" way to do this using gene

  • Re-setting Identity Column in SQL Server

    Published on 10 Nov 2005 by James Crowley

    Discovered something new today - normally I'd just use the TRUNCATE TABLE command in order to reset an identity column in a table within SQL Server. However, SQL Server doesn't let you do this if you've got foreign key constraints pointing at the table; so instead, I deleted all the rows using a sta

  • AJAX in ASP.NET

    Published on 02 Nov 2005 by James Crowley

    For those of you who missed my presentation on AJAX in ASP.NET at DDD II... or just want to see me mess up in my first demo again, you can now download a video of it from here. Enjoy! :-)

  • DeveloperDeveloperDeveloper II - Summary

    Published on 24 Oct 2005 by James Crowley

    Well, the second DDD day has come and gone - and I think I can safely say from everyone I've talked to, it was a great success. My thanks go out to all of you for making it such a great event. If you were there, and haven't yet given feedback on the event, do it now at http://www.developerday.co.uk/

  • Atlas Preview Website Live

    Published on 13 Sep 2005 by James Crowley

    It looks like the Atlas preview site is now live at http://atlas.asp.net/ ... time to start getting my AJAX slides updated!

  • Developer!Developer!Developer! Geek Dinner

    Published on 13 Sep 2005 by James Crowley

    Sarah Blow is also organising a "Geek Dinner" so that people can get together after DDD to socialise for a bit - great idea! Check out http://www.thehughpage.com/DeveloperDayGeekDinner. (This will also be co-ordinated with whatever Microsoft is planning to do after the event)

  • Next > >

Comments