<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">James Crowley</title><subtitle type="html">Random thoughts from a ASP.NET developer and UK community leader</subtitle><id>http://weblogs.asp.net/james_crowley/atom.aspx</id><link rel="alternate" type="text/html" href="http://weblogs.asp.net/james_crowley/default.aspx" /><link rel="self" type="application/atom+xml" href="http://weblogs.asp.net/james_crowley/atom.aspx" /><generator uri="http://communityserver.org" version="3.0.20510.895">Community Server</generator><updated>2007-06-19T22:00:00Z</updated><entry><title>developerFusion community relaunches</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/james_crowley/archive/2008/10/04/developerfusion-community-relaunches.aspx" /><id>http://weblogs.asp.net/james_crowley/archive/2008/10/04/developerfusion-community-relaunches.aspx</id><published>2008-10-04T22:12:00Z</published><updated>2008-10-04T22:12:00Z</updated><content type="html">&lt;p&gt;As some of you will know, I've run the &lt;a href="http://www.developerfusion.com/" mce_href="http://www.developerfusion.com/"&gt;developerFusion community&lt;/a&gt; for many years now, as a part-time hobby. Now, some big changes are afoot! 2 months ago I packed in my day job to focus on the site full-time, and have now made the first big step and re-launched the site.&lt;/p&gt;&lt;p&gt;You can check it out at &lt;a href="http://www.developerfusion.com/" mce_href="http://www.developerfusion.com/"&gt;http://www.developerfusion.com/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This is just the first step along the road, but an exciting one (for me at least!). The new site is going to make it even easier for developers around the world to connect with each other, and discover what's going on in their local area - be that events, user groups, blogs or just general discussion. We'll also be bringing a wider range of technical articles and focused developer news.&lt;br&gt;&lt;/p&gt;&lt;p&gt;If you have any feedback, feel free to get in touch - the site is here for you! If you twitter, stay tuned at &lt;a href="http://twitter.com/developerfusion" mce_href="http://twitter.com/developerfusion"&gt;http://twitter.com/developerfusion&lt;/a&gt; for more updates.&lt;br&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6657904" width="1" height="1"&gt;</content><author><name>James Crowley</name><uri>http://weblogs.asp.net/members/James-Crowley.aspx</uri></author><category term="Community News" scheme="http://weblogs.asp.net/james_crowley/archive/tags/Community+News/default.aspx" /><category term="asp.net" scheme="http://weblogs.asp.net/james_crowley/archive/tags/asp.net/default.aspx" /><category term=".NET" scheme="http://weblogs.asp.net/james_crowley/archive/tags/.NET/default.aspx" /></entry><entry><title>UrlRewriting, .NET 2.0 SP1 and Search Engines</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/james_crowley/archive/2008/05/26/urlrewriting-net-2-0-sp1-and-search-engines.aspx" /><id>http://weblogs.asp.net/james_crowley/archive/2008/05/26/urlrewriting-net-2-0-sp1-and-search-engines.aspx</id><published>2008-05-26T17:05:00Z</published><updated>2008-05-26T17:05:00Z</updated><content type="html">&lt;p&gt;Having been caught out by this issue once again this weekend, I thought I'd better blog about it so I don't scratch my head searching around again for a third time!&lt;/p&gt;&lt;p&gt;If you've been getting some wierd "Cannot use a leading .. to exit above the top directory." exceptions occuring on your site (you *do* log those, don't you?), that you can't reproduce in the browser, stay tuned. The issue crops up with URL Rewriting in .NET 2 SP1 - and the reason I've hit this again is when our production server was upgraded to .NET 3.5... evidentally this installed the service pack as a side-effect. So much for our patching strategy.&lt;/p&gt;&lt;p&gt;Anyway, this triggered a flow of errors for "Cannot use a leading .. to exit above the top directory.", all stemming back to a call to System.Web.Util.UrlPath.ReduceVirtualPath - but apparently only for particular visitors to the site - specifically search engine bots, including Googlebot. The issue occurs, as far as I understand, because .NET is specifically targeting code to particular browsers - in this case, I believe the issue results because it knows the user-agent doesn't support cookies, and is therefore trying to work accordingly.&lt;br&gt;&lt;/p&gt;&lt;p&gt;There are two workarounds out there.&lt;/p&gt;&lt;p&gt;1. In your web.config, add the following:&lt;/p&gt;&lt;p&gt;&amp;lt;authentication mode="Forms"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;forms cookieless="UseCookies" /&amp;gt;&lt;br&gt;&amp;lt;/authentication&amp;gt;&lt;/p&gt;&lt;p&gt;This will bypass the issue entirely - by telling .NET to always use cookies for authentication - but if you require forms authentication to work in a cookie-less scenario, then this won't work. So, on to option number 2&lt;/p&gt;&lt;p&gt;2. Create a .browser file to match the user agents that are causing the issue. &lt;a href="http://todotnet.com/archive/0001/01/01/7472.aspx" mce_href="http://todotnet.com/archive/0001/01/01/7472.aspx"&gt;Check out this article that describes how&lt;/a&gt;.&lt;br&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6222525" width="1" height="1"&gt;</content><author><name>James Crowley</name><uri>http://weblogs.asp.net/members/James-Crowley.aspx</uri></author><category term="asp.net" scheme="http://weblogs.asp.net/james_crowley/archive/tags/asp.net/default.aspx" /><category term="sp1" scheme="http://weblogs.asp.net/james_crowley/archive/tags/sp1/default.aspx" /></entry><entry><title>Get your tech events featured on MSDN UK and TechNet UK!</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/james_crowley/archive/2008/01/26/get-your-tech-events-featured-on-msdn-uk-and-technet-uk.aspx" /><id>http://weblogs.asp.net/james_crowley/archive/2008/01/26/get-your-tech-events-featured-on-msdn-uk-and-technet-uk.aspx</id><published>2008-01-26T16:14:00Z</published><updated>2008-01-26T16:14:00Z</updated><content type="html">&lt;P mce_keep="true"&gt;This announcement is well overdue, but better late than never!&lt;/P&gt;
&lt;P mce_keep="true"&gt;After much hard work by the DPE team at Microsoft in the UK - thanks in particular go out to Clare - we've&amp;nbsp;now integrated the &lt;A class="" href="http://www.developerfusion.co.uk/Events/RSS.aspx?CountryCode=UK" mce_href="http://www.developerfusion.co.uk/Events/RSS.aspx?CountryCode=UK"&gt;Developer Fusion events feed&lt;/A&gt; with the Microsoft UK community pages. This means that anyone who &lt;A class="" href="http://www.developerfusion.co.uk/Members/SubmitReadme.aspx?type=Event" mce_href="http://www.developerfusion.co.uk/Members/SubmitReadme.aspx?type=Event"&gt;submits a Microsoft technology-related&amp;nbsp;event to Developer Fusion&lt;/A&gt; will also automatically appear on the &lt;A class="" href="http://msdn2.microsoft.com/en-gb/aa497440.aspx" mce_href="http://msdn2.microsoft.com/en-gb/aa497440.aspx"&gt;MSDN&lt;/A&gt; and &lt;A class="" href="http://technet.microsoft.com/en-gb/bb291006.aspx" mce_href="http://technet.microsoft.com/en-gb/bb291006.aspx"&gt;TechNet&lt;/A&gt; community pages too - talk about some great free exposure!&lt;/P&gt;
&lt;P mce_keep="true"&gt;Any events on Developer Fusion also get&lt;A class="" href="http://upcoming.yahoo.com/group/3377/" mce_href="http://upcoming.yahoo.com/group/3377/"&gt; automatically posted to Upcoming&lt;/A&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;I'm also working with the larger user groups in the UK to ensure we can automatically pull in their events through the same feed format. If anyone would like more info on this, just get in touch.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5656218" width="1" height="1"&gt;</content><author><name>James Crowley</name><uri>http://weblogs.asp.net/members/James-Crowley.aspx</uri></author><category term="Community News" scheme="http://weblogs.asp.net/james_crowley/archive/tags/Community+News/default.aspx" /></entry><entry><title>Gotcha: "The specified metadata path is not valid." with ADO.NET Entities on Vista x64</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/james_crowley/archive/2008/01/26/gotcha-quot-the-specified-metadata-path-is-not-valid-quot-with-ado-net-entities-on-vista-x64.aspx" /><id>http://weblogs.asp.net/james_crowley/archive/2008/01/26/gotcha-quot-the-specified-metadata-path-is-not-valid-quot-with-ado-net-entities-on-vista-x64.aspx</id><published>2008-01-26T16:09:00Z</published><updated>2008-01-26T16:09:00Z</updated><content type="html">&lt;P mce_keep="true"&gt;For those of you foolhardy enough to be running Vista x64 (myself included!), VS 2008, and the latest build of the ADO.NET Entities framework...&amp;nbsp;you may well hit the following error message:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;EM&gt;The specified metadata path is not valid. A valid path must be either an existing directory, an existing file with extension '.csdl', '.ssdl', or '.msl', or a URI that identifies an embedded resource.&lt;/EM&gt; &lt;/P&gt;&lt;SPAN&gt;The catch is that apparently the designers are not supported on 64-bit machines. The workaround is to copy two files from %windir%\Microsoft.NET\Framework64\v3.5 to %windir%\Microsoft.NET\Framework\v3.5:&lt;/SPAN&gt;&lt;SPAN&gt; 
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV align=left&gt;Microsoft.Data.Entity.Build.Tasks.dll&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV align=left&gt;Microsoft.Data.Entity.targets&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P align=left&gt;then restart Visual Studio&amp;nbsp;and rebuild your solution.&lt;/P&gt;&lt;/SPAN&gt;
&lt;P mce_keep="true"&gt;&lt;SPAN&gt;Thanks to Tommy Williams @ MSFT (&lt;A class="" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2532468&amp;amp;SiteID=1" mce_href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2532468&amp;amp;SiteID=1"&gt;found on the forums&lt;/A&gt;)&lt;/P&gt;&lt;/SPAN&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5656175" width="1" height="1"&gt;</content><author><name>James Crowley</name><uri>http://weblogs.asp.net/members/James-Crowley.aspx</uri></author><category term="asp.net" scheme="http://weblogs.asp.net/james_crowley/archive/tags/asp.net/default.aspx" /><category term="Visual Studio" scheme="http://weblogs.asp.net/james_crowley/archive/tags/Visual+Studio/default.aspx" /></entry><entry><title>Shared Printers across Windows Vista and Windows XP</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/james_crowley/archive/2007/10/28/shared-printers-across-windows-vista-and-windows-xp.aspx" /><id>http://weblogs.asp.net/james_crowley/archive/2007/10/28/shared-printers-across-windows-vista-and-windows-xp.aspx</id><published>2007-10-28T14:50:00Z</published><updated>2007-10-28T14:50:00Z</updated><content type="html">&lt;P mce_keep="true"&gt;Since getting a shiny new machine running Vista, I'd been having a bit of grief trying to get it to print to my Canon i6500&amp;nbsp;printer shared through another Windows XP machine. Vista has built-in support for the printer (running locally), but when&amp;nbsp;trying to add it across a network, as the XP machine could not supply the correct 64bit Vista drivers, the&amp;nbsp;Vista machine&amp;nbsp;wasn't too happy - pointing to the correct location of the local device drivers didn't help either!&lt;/P&gt;
&lt;P mce_keep="true"&gt;After sifting through various solutions - this was the one that worked for me.&lt;/P&gt;
&lt;P mce_keep="true"&gt;On the Vista machine,&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;- Choose to add a local printer&lt;BR&gt;- Create a new local port, and set its name so it matches the network share (&lt;A href="file://server/name"&gt;\\server\name&lt;/A&gt;)&lt;BR&gt;- Manually select the appropriate printer driver from the automatically supported set (or select an appropriate vista driver)&lt;/P&gt;
&lt;P mce_keep="true"&gt;This then tricks Vista into thinking we have a local printer - so it can install the correct drivers - that actually redirects to the network printer.&lt;/P&gt;
&lt;P mce_keep="true"&gt;I think this should work in the reverse direction too, if Windows XP is geting upset printing to a device shared through Vista.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Hope this helps someone!&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=4801519" width="1" height="1"&gt;</content><author><name>James Crowley</name><uri>http://weblogs.asp.net/members/James-Crowley.aspx</uri></author><category term="XP" scheme="http://weblogs.asp.net/james_crowley/archive/tags/XP/default.aspx" /><category term="Vista" scheme="http://weblogs.asp.net/james_crowley/archive/tags/Vista/default.aspx" /></entry><entry><title>Upcoming (Free) UK Developer Events</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/james_crowley/archive/2007/10/08/upcoming-uk-developer-events.aspx" /><id>http://weblogs.asp.net/james_crowley/archive/2007/10/08/upcoming-uk-developer-events.aspx</id><published>2007-10-08T08:03:00Z</published><updated>2007-10-08T08:03:00Z</updated><content type="html">
&lt;p&gt;There's so many great events coming up all around the UK at the moment - and best of all, they're free. If you haven't tried one yet, &lt;a href="http://www.developerfusion.co.uk/events/" mce_href="http://www.developerfusion.co.uk/events/"&gt;check out the UK developer event listings to find one near you&lt;/a&gt;. Here are just a few &lt;/p&gt;
&lt;h3&gt;&lt;a href="http://www.developerfusion.co.uk/show/7088/" mce_href="http://www.developerfusion.co.uk/show/7088/"&gt;db4o: An Embeddable Database Engine for Object-Oriented Environments &lt;/a&gt;&lt;/h3&gt;
&lt;h5&gt;Wednesday, 10 October 2007, 19:00 - 21:00 in &lt;a href="http://www.developerfusion.co.uk/Events/Country/UK/" mce_href="http://www.developerfusion.co.uk/Events/Country/UK/"&gt;Glasgow, United Kingdom&lt;/a&gt;. FREE (&lt;a href="http://www.developerfusion.co.uk/show/5007/" mce_href="http://www.developerfusion.co.uk/show/5007/"&gt;Scottish Developers&lt;/a&gt;)&lt;/h5&gt;
&lt;p&gt;Jim Paterson describes the key features of db4o, and shows how to save objects in the database, use the db4o query mechanisms, control transactions and object activation, refactor databases, replicate data to a relational database and use db4o in a web app. You will also find out about extensive the developer resources provided by the db4o community. &lt;/p&gt;
&lt;h3&gt;&lt;a href="http://www.developerfusion.co.uk/show/7001/" mce_href="http://www.developerfusion.co.uk/show/7001/"&gt;Microsoft® SharePoint® Server 2007 - Capture The Opportunity&lt;/a&gt;&lt;/h3&gt;
&lt;h5&gt;Friday, 12 October 2007, 10:00 - 14:00 in &lt;a href="http://www.developerfusion.co.uk/Events/Country/UK/" mce_href="http://www.developerfusion.co.uk/Events/Country/UK/"&gt;London, United Kingdom&lt;/a&gt;. FREE! (&lt;a href="http://www.developerfusion.co.uk/show/7000/" mce_href="http://www.developerfusion.co.uk/show/7000/"&gt;Content and Code&lt;/a&gt;)&lt;/h5&gt;
&lt;p&gt;Discover the multitude of solutions offered by a Microsoft® SharePoint® Server 2007 platform. Enjoy interactive breakout demonstrations as well as a buffet lunch. Demonstrations will focus on: data capture, enterprise content management, document management, search, forms server as well as business intelligence, dashboards and KPIs. &lt;/p&gt;
&lt;h3&gt;&lt;a href="http://www.developerfusion.co.uk/show/6984/" mce_href="http://www.developerfusion.co.uk/show/6984/"&gt;The Lost World: Win Services&lt;/a&gt;&lt;/h3&gt;
&lt;h5&gt;Monday, 15 October 2007, 19:00 - 21:00 in &lt;a href="http://www.developerfusion.co.uk/Events/Country/UK/" mce_href="http://www.developerfusion.co.uk/Events/Country/UK/"&gt;Birmingham, United Kingdom&lt;/a&gt;. Free to members. Non members can attend 2 meetings FOC. (&lt;a href="http://www.developerfusion.co.uk/show/6119/" mce_href="http://www.developerfusion.co.uk/show/6119/"&gt;NxtGenUG&lt;/a&gt;)&lt;/h5&gt;
&lt;p&gt;Intrepid Explorer Liam Westley takes a trip back in time as he dives into Windows and looks at developing Windows Services. Remember those? Well, in case you hadn't noticed they're all around us in the development world, but hard to see and hard to capture with a debugger! Liam shows us how we can make our lives easier when writing and working with Windows Services including some of the differences between NT and Windows Vista Services. Other gigantic things to see on the night : Pizza-o-sa...&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://www.developerfusion.co.uk/show/7107/" mce_href="http://www.developerfusion.co.uk/show/7107/"&gt;MSDN: What’s new in Visual Studio 2008 and .NET Fx 3.5 for the Web Developer &lt;/a&gt;&lt;/h3&gt;
&lt;h5&gt;Tuesday, 16 October 2007, 18:00 - 21:20 in &lt;a href="http://www.developerfusion.co.uk/Events/Country/UK/" mce_href="http://www.developerfusion.co.uk/Events/Country/UK/"&gt;Edinburgh, United Kingdom&lt;/a&gt;. FREE (&lt;a href="http://www.developerfusion.co.uk/show/5041/" mce_href="http://www.developerfusion.co.uk/show/5041/"&gt;Microsoft&lt;/a&gt;)&lt;/h5&gt;
&lt;p&gt;Come along and find out what’s in store for both the ASP.NET platform and Visual Studio in the upcoming release. As web developers, there’s a lot to get excited about including many features you can take advantage of in your existing projects.&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://www.developerfusion.co.uk/show/7031/"&gt;SQL 2008 Your Data, Any Place Any Time&lt;/a&gt;&lt;/h3&gt;
&lt;h5&gt;Thursday, 18 October 2007, 09:00 - 13:00 in &lt;a href="http://www.developerfusion.co.uk/Events/Country/UK/"&gt;Bradford, United Kingdom&lt;/a&gt;. FREE (&lt;a href="http://www.developerfusion.co.uk/show/5095/"&gt;Black Marble&lt;/a&gt;)&lt;/h5&gt;
&lt;p&gt;Black Marble present a seminar on SQL2008 with an Introduction for
IT Managers. This outlines the change in emphasis from "words and
numbers" to "sights and sounds"&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=4485972" width="1" height="1"&gt;</content><author><name>James Crowley</name><uri>http://weblogs.asp.net/members/James-Crowley.aspx</uri></author><category term="C#" scheme="http://weblogs.asp.net/james_crowley/archive/tags/C_2300_/default.aspx" /><category term=".NET" scheme="http://weblogs.asp.net/james_crowley/archive/tags/.NET/default.aspx" /><category term="winfx" scheme="http://weblogs.asp.net/james_crowley/archive/tags/winfx/default.aspx" /><category term="sql server" scheme="http://weblogs.asp.net/james_crowley/archive/tags/sql+server/default.aspx" /></entry><entry><title>Future of Web Apps in London - (plus 20% discount!)</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/james_crowley/archive/2007/09/25/future-of-web-apps-in-london-plus-20-discount.aspx" /><id>http://weblogs.asp.net/james_crowley/archive/2007/09/25/future-of-web-apps-in-london-plus-20-discount.aspx</id><published>2007-09-25T18:52:00Z</published><updated>2007-09-25T18:52:00Z</updated><content type="html">&lt;P mce_keep="true"&gt;&lt;A class="" href="http://www.developerfusion.co.uk/show/7099/" mce_href="http://www.developerfusion.co.uk/show/7099/"&gt;Future of Web Apps&lt;/A&gt; have a run a great set of events in&amp;nbsp;both the US and the UK&amp;nbsp;- and there's one coming up in London on Oct 3-5. Just to give you a taster, there are speakers from&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Digg&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Flickr&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Facebook&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;WordPress&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;FeedBurner&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Yahoo&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Adobe&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Microsoft&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;Not bad eh? &lt;A class="" href="http://www.developerfusion.co.uk/show/7099/" mce_href="http://www.developerfusion.co.uk/show/7099/"&gt;Even better - Developer Fusion has organised a 20% discount off the full ticket price&lt;/A&gt;, which brings the two day conference pass down to less than £200.&amp;nbsp;Give me a shout too if you're going to attend - I'm planning to make it.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=4145217" width="1" height="1"&gt;</content><author><name>James Crowley</name><uri>http://weblogs.asp.net/members/James-Crowley.aspx</uri></author><category term="asp.net" scheme="http://weblogs.asp.net/james_crowley/archive/tags/asp.net/default.aspx" /><category term=".NET" scheme="http://weblogs.asp.net/james_crowley/archive/tags/.NET/default.aspx" /></entry><entry><title>C#/VB.NET Code Translation tweak</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/james_crowley/archive/2007/09/12/c-vb-net-code-translation-tweak.aspx" /><id>http://weblogs.asp.net/james_crowley/archive/2007/09/12/c-vb-net-code-translation-tweak.aspx</id><published>2007-09-12T21:29:00Z</published><updated>2007-09-12T21:29:00Z</updated><content type="html">&lt;P mce_keep="true"&gt;I've been getting a *lot* of feedback recently over the changes we made to the C#/VB.NET &lt;A class="" href="http://labs.developerfusion.co.uk/" mce_href="http://labs.developerfusion.co.uk/"&gt;code translation tools&lt;/A&gt; to try and tidy them up - but unfortunately broke a somewhat crucial ability to copy the code out in IE6! I'm still not sure why IE6 is so unhappy with the CSS and is preventing any sensible selection in the output page&amp;nbsp;(any suggestions welcomed). &lt;/P&gt;
&lt;P mce_keep="true"&gt;However, I've now implemented a "view plain source" and "copy to clipboard" option which should at least get around this for now!&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3839966" width="1" height="1"&gt;</content><author><name>James Crowley</name><uri>http://weblogs.asp.net/members/James-Crowley.aspx</uri></author><category term="C#" scheme="http://weblogs.asp.net/james_crowley/archive/tags/C_2300_/default.aspx" /><category term="VB.NET" scheme="http://weblogs.asp.net/james_crowley/archive/tags/VB.NET/default.aspx" /><category term="visual basic" scheme="http://weblogs.asp.net/james_crowley/archive/tags/visual+basic/default.aspx" /></entry><entry><title>Free Silverlight Training</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/james_crowley/archive/2007/09/04/free-silverlight-training.aspx" /><id>http://weblogs.asp.net/james_crowley/archive/2007/09/04/free-silverlight-training.aspx</id><published>2007-09-04T15:00:00Z</published><updated>2007-09-04T15:00:00Z</updated><content type="html">&lt;p&gt;If you've been wanting to get up to speed on Silverlight but haven't had the time yet - then you might be interested in this. Developer Fusion has teamed up with InnerWorkings to offer some &lt;a href="http://www.innerworkings.com/promotions/c786f484-b556-4903-b395-4f1cbd610fd7/developer-fusion-silverlight-promotion" mce_href="http://www.innerworkings.com/promotions/c786f484-b556-4903-b395-4f1cbd610fd7/developer-fusion-silverlight-promotion"&gt;totally free Silverlight training&lt;/a&gt;, to all Developer Fusion visitors. &lt;br&gt;&lt;/p&gt;&lt;p&gt;We're also got, amongst others, a 15% discount on DevelopMentor training, and 10% discount on the source code and hosted version of Gemini (from CounterSoft) - the bug tracking system that the team behind dotnetnuke use. More details are available on our &lt;a href="http://www.developerfusion.co.uk/Members/Benefits.aspx" mce_href="http://www.developerfusion.co.uk/Members/Benefits.aspx"&gt;free member benefits page&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;If you have any feedback, or offers of further discounts to our visitors, just get in touch!&lt;br&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3732372" width="1" height="1"&gt;</content><author><name>James Crowley</name><uri>http://weblogs.asp.net/members/James-Crowley.aspx</uri></author><category term="ajax" scheme="http://weblogs.asp.net/james_crowley/archive/tags/ajax/default.aspx" /><category term=".NET" scheme="http://weblogs.asp.net/james_crowley/archive/tags/.NET/default.aspx" /><category term="silverlight" scheme="http://weblogs.asp.net/james_crowley/archive/tags/silverlight/default.aspx" /></entry><entry><title>Gotcha: HTTP_X_FORWARDED_FOR returns multiple IP addresses</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/james_crowley/archive/2007/06/19/gotcha-http-x-forwarded-for-returns-multiple-ip-addresses.aspx" /><id>http://weblogs.asp.net/james_crowley/archive/2007/06/19/gotcha-http-x-forwarded-for-returns-multiple-ip-addresses.aspx</id><published>2007-06-19T21:00:00Z</published><updated>2007-06-19T21:00:00Z</updated><content type="html">&lt;P mce_keep="true"&gt;I hit a small gotcha this evening. A visitor to Developer Fusion reported that they couldn't gain access to the site at all, because our IP address detection logic was failing. We were checking the "HTTP_X_FORWARDED_FOR" header for an IP address, before falling back to REMOTE_ADDR, turning the IP into a long integer, and doing an IP-to-country lookup in our database.&amp;nbsp;Which seemed safe enough!&lt;/P&gt;
&lt;P mce_keep="true"&gt;As it turns out, HTTP_X_FORWARDED_FOR can sometimes have a comma delimited list of IP addresses - so what we actually needed to be doing was take the last IP address in that list, before doing our conversion to an integer. &lt;/P&gt;
&lt;P mce_keep="true"&gt;Thanks go out to Francois Botha, one of our visitors, for helping me track down this issue!&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2868581" width="1" height="1"&gt;</content><author><name>James Crowley</name><uri>http://weblogs.asp.net/members/James-Crowley.aspx</uri></author><category term="asp.net" scheme="http://weblogs.asp.net/james_crowley/archive/tags/asp.net/default.aspx" /></entry></feed>