posts - 916, comments - 758, trackbacks - 11

My Links



Post Categories

Misc. Coding

March 2005 Entries

Databinding bits...

Fantastic post on some interesting issues with Databinding...I love this sort of nitty-gritty stuff!

posted @ Thursday, March 24, 2005 8:14 PM | Feedback (0) | Filed Under [ ASP.NET ]

Heading off on holiday...

Well, it being the Easter weekend (in the UK we get tomorrow and Monday as 'public holidays') I've decided to take a holiday, as a result I'll be off line for at least a week. I like to take a break from computers occasionally - helps defrag my coding lobe...Also just got the Simpsons Season 5 box set...which is nice...Reading matter for the time I'm away: Expert C# Business ObjectsExpert Service-Oriented Architecture in C#: Using the Web Services Enhancements 2.0 Sadly, I'm quite looking forward to reading these...especially the second one which covers something I know relatively little about (relative to...

posted @ Thursday, March 24, 2005 4:18 PM | Feedback (0) | Filed Under [ Random ]

LZMA SDK (Software Development Kit)

LZMA SDK (Software Development Kit) This is a really interesting new compression algorithm, has a nice beta SDK with examples in C#. Would be really interesting to merge this into #ZipLib...we really do need a rework of #ZipLib and other algos to support the new System.IO.Compression namespace and it's streams...

posted @ Thursday, March 24, 2005 12:28 PM | Feedback (0) | Filed Under [ .NET ]

Random brain fart...

Note to self...introduce myself in future always with the honorific 'your nemesis'. Noticed it in a random thread which has nothing to do with me.'..I just love the idea...(oh, and no link back because this has nothing to do with that thread...)

posted @ Wednesday, March 23, 2005 3:46 PM | Feedback (0) |

Transact-SQL Tips

Transact-SQL TipsInteresting tip on SQL Server hierarchies (using the standard parent-child hierarchies as opposed to Nested Sets) Scott Galloway

posted @ Wednesday, March 23, 2005 10:38 AM | Feedback (0) |

Really odd IIS 6.0 'bug' when updating Stylesheets...

I had to rebuild all of our office servers over the weekend (don't ask!) and after the rebuild we noticed a problem with saving changes to the server which the designers use for editing; when changing CSS files, after a few changes the server would stop reflecting those changes in the browser. So, say you change some CSS property, refresh the page...result...change isn't reflected in the browser. Well, I tried EVERYTHING to get this working (had the usual...'well it was working until recently'...which wasn't possible), tried changing IIS 6.0 HTTP headers to expire content immediately, changed the IE caching settings,...

posted @ Wednesday, March 23, 2005 9:52 AM | Feedback (0) |

ASP.NET Page Lifecycle

ASP.NET Page Lifecycle Really cool links from Eli Robillard on the Page Lifecycle... Scott

posted @ Tuesday, March 22, 2005 10:16 PM | Feedback (0) |

Cool little tip - change buttons to look like linkbuttons

From the 'don't comprimise design for accessibility' stable comes this little tip - how to make a submit button look like a link button:   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" ""><!-- dean.edwards/2004 --><!-- keeping code tidy! --><html xmlns="" xml:lang="en" lang="en">    <head>        <!-- compliance patch for microsoft browsers -->        <!--[if lt IE 7]><script src="ie7-standard.js" type="text/javascript"></script><![endif]-->        <style type="text/css"> input[type="submit"] { border: 0px inset; background-color: transparent; color: blue;text-decoration: none; cursor: pointer; } input[type="submit"]:hover {  color: red;}        </style>    </head>    <body>        <form ID="Form1">            <input type="submit" value="My Link Button" ID="Submit1" NAME="Submit1" />        </form>    </body></html>   OK, not that simple, this also uses the excellent IE7 stuff from Dean Edwards to enable IE 6 to support...

posted @ Tuesday, March 22, 2005 5:18 PM | Feedback (0) | Filed Under [ Accessibility ]

The Code Project - Creating Custom User Control Designers in ASP.NET - ASP.NET

The Code Project - Creating Custom User Control Designers in ASP.NET - ASP.NET Scott Galloway

posted @ Tuesday, March 22, 2005 11:14 AM | Feedback (0) | Filed Under [ ASP.NET ]

Use Your Instant Messenger To Query Amazon

Use Your Instant Messenger To Query AmazonI love this idea..hook up Lucene with a knowledgebase system...use MSNIM to provide an interactive FAQ system! Scott Galloway

posted @ Tuesday, March 22, 2005 11:14 AM | Feedback (0) |

WTF! You can't use ASP.NET 2.0 on a box with Sharepoint installed!

Found here, this has to be the dumbest thing I ever heard! So, we have lovely new ASP.NET 2.0 with  a bunch of productivity enhancements, lovely web parts...but can't start using it until next year (2006) because Sharepoint can't run on the same box! We have to wait for Sharepoint Portal Server SP2...which won't be until well after Whidbey is remember there's 30m+ Sharepoint licenses around!Complete screw up if you ask me! 

posted @ Monday, March 21, 2005 3:24 PM | Feedback (0) | Filed Under [ ASP.NET ]

Great way to enable IIS 6.0 compression...

A colleague of mine pointed this out, great little free tool to enable GZip compression in IIS 6.0...make ur sites feel like they're actually quick

posted @ Monday, March 21, 2005 10:14 AM | Feedback (0) |

Recieve a '419' scam mail - forward it it the abuse address...

I get these '419' mails a fair bit at my work mail address;where I don't have the sam level of spam protection that I have at home; I used to just ignore them...then I realised that just because I don't fall for them doesn't mean that no-one else will. I recently started forwarding the recieved mail along with it's headers to the [email protected] address for any domain I could find in the far I've had great responses from the email providers, usually resulting in the address used by the fraudsters being shut down within a few minutes of my...

posted @ Thursday, March 17, 2005 11:32 AM | Feedback (3) |

Source for a C# compiler written in pure C#.

Source for a C# compiler written in pure C#. Awesome what would be really fantastic is if CSC was written in C# - just seems like nice logic for a compiler to be written in the language it compiles Scott Galloway

posted @ Monday, March 14, 2005 10:37 AM | Feedback (0) | Filed Under [ .NET ]

Interesting little CLR question...

I was chatting to someone on IM tonight (name withheld at the correspondents' request) about a couple of basic coding matters...the assertion he made was that if you pass a reference type to a method it is exactly equivalent to passing a reference type with the 'ref' modifier...well, here's a piece of code to test the theory. What would you expect the result to be and why (simple little console app in case anyone wants to try it out)...? using System; using System.Collections;   namespace ConsoleApplication3 {     /// <summary>     /// Summary description for Class1.     /// </summary>...

posted @ Friday, March 11, 2005 12:40 AM | Feedback (0) | Filed Under [ .NET ]

Least surprising news ever: Microsoft to buy Groove Networks

Not claiming any powers of precognition or anything, this news was pretty obvious for about the last year. I realy think this will be a great step for both companies - and might it also indicate a bigger investment from Microsoft in 'Social Software'? I'd watch this blog for more details on what this incredibly smart guy plans to do CTO of Microsoft

posted @ Thursday, March 10, 2005 2:53 PM | Feedback (0) |

[HELP] Question on Windows Server 2003 Wildcard Mapping and VS.NET

Here's what I'm doing - I have a wildcard map set on my IIS 6 server to allow me to do "/" path mapping through my ASP.NET HttpHandler - problem is that VS.NET can no longer open the web project at that address...anyone any idea why? UPDATE:  Looks like it has to do with Front Page Server Extension stuff...sooner that goes away the better (roll on VS.NET 2005!). Anyway, to get around this I used the instructions here which basically tell you how to avoid the nasty FPSE stuff and run Web Projects like a normal class library (which also...

posted @ Wednesday, March 09, 2005 10:06 AM | Feedback (0) | Filed Under [ Help! VS.NET ]

Update on the Google Maps / AJAX Javascript stuff...

Following my referrer links found this blog (I love this whole interlinking stuff!) has some great content and I noticed this posting which links to this tutorial on XmlHttpRequest (the stuff behind AJAX) . Anyway, it's a great tutorial and it should be fairly easy to change the server side implementation; tutorial uses PHP & MySQL but it really just involves XML processing which is a breeze using ASP.NET - the tricky bit is the Javascript which you CAN use across server side languages...

posted @ Tuesday, March 08, 2005 11:11 AM | Feedback (0) | Filed Under [ Links ]

Current book list...

So, I've been off-blog for a couple of weeks...this is due to my usual intrinsic malaise as well as being heads down on a project at work. But, another reason is the multitude of books I've bought recently (these as usual also reflect my current obsessions )... Pragmatic Version Control Using Subversion - this is a just phenomenal book on the wonderous Source Control system Subversion, covers everything you'd need to know if you wanted to shift off the decidedly aged SourceSafe and on to something more stable (and don't want to wait / pay for VSTS) A New Kind Of...

posted @ Tuesday, March 08, 2005 11:03 AM | Feedback (0) | Filed Under [ Books ]

Fairly interesting technique

So here's the problem ,you want to store items in a Dictionary *but* you want to be able to access those items using different types of key (so in the example below, I use Guids, strings and longs)'s how I usually do usual any comments or suggestions for better ways are appreciated... using System; using System.Collections;   namespace Configuration {     /// <summary>     /// Summary description for ContentPageDictionary.     /// </summary>     public class ContentPageDictionary : DictionaryBase     {         private Hashtable cpKeys = new Hashtable();         private Hashtable cpLongKeys = new Hashtable();         public new void Clear()         {             this.Dictionary.Clear();             cpKeys.Clear();             cpLongKeys.Clear();    ...

posted @ Tuesday, March 08, 2005 10:39 AM | Feedback (0) | Filed Under [ .NET Code Snippets ]

as simple as possible, but no simpler: Mapping Google

as simple as possible, but no simpler: Mapping Google - great article on the costs and benefits of the technique google maps uses (Javascript / IFrame) versus the GMail method (XmlHttp) Scott (normal service will resume shortly...)

posted @ Monday, March 07, 2005 11:24 AM | Feedback (0) |

Powered by: