Mike Taulty's Blog
Bits and Bytes from Microsoft UK

January 2008 - Mike Taulty's Blog

Blogs

Mike Taulty's Blog

Elsewhere

  • SQLBits - Birmingham, 1st March

    Just a quick plug :-) I'm speaking at the "SQLBits" conference in Birmingham on the 1st March. The agenda is up here . The agenda is built by voting from prospective attendees and I found it interesting in that I submitted a few sessions that looked something like; "Entity Framework Tour" "LINQ to SQL" Tour "LINQ to Entities" Tour (this is similar to the first topic but with a very different emphasis) "Understanding LINQ" and what surprised me is that the last session was the one that got picked despite it being the session that I'd say is least directly related to SQL - i.e. you can quite happily have some LINQ without bothering with a relational database. So...if you can make the date and the location then sign up for SQL Bits and I look forward to seeing you at my session if it appeals to you. As an aside, if there's something that you'd like to see included in a session like "Understanding LINQ in .NET Framework V3.5 and Beyond" then feel free to ping me a mail letting me know what it is that you want to see...
    Filed under: ,
  • The Same Language As Me

    Joel's got a really good point about Microsoft double-speak. Hope I don't get in trouble with my employer for mentioning at my event yesterday that "SQL Server is Delayed" :-) For people who've been following the various SQL CTPs, I can't see this (relatively short) delay coming as a big surprise.
  • Remote Debugging with MSVSMON.EXE

    Another screencast that I put together - this really goes with the other ones about debugging and comes after someone dropped me a mail asking how to get msvsmon.exe to work. Remote Debugging with MSVSMONEXE.aspx
    Filed under:
  • Vista Squad January Meeting

    Just a quick plug for the next meeting of the "Vista Squad". This is happening on the Microsoft Campus in Reading on the 31st January and there are two sessions. One is from James O'Neill who's a member of my wider team and the other is from Ray Booysen about Silverlight. It should be excellent stuff so get yourself along there - click the logo above to register.
  • ADO.NET Data Services - Screecasts

    I made a few more videos; ADO.NET Data Services - Querying with LINQ ADO.NET Data Services - Query Interceptors ADO.NET Data Services - Service Operations to go with these videos . Note, there are some "technical difficulties" at the moment in getting some of those videos to play in the Silverlight player. It's nothing to do with Silverlight AFAIK and I suspect it's everything to do with not being able to get to the MMS stream. Regardless, if you hit a glitch then press F5 and it should work in the end or just go for the "Full Screen" button which actually means "View in Windows Media Player" rather than "Full Screen" :-S
  • Entity Framework Links (and one other)

    Entity Framework Toolkits & Extras How Does The Entity Designer Generate Code? How To Extract CSDL from EDMX Oh...and I also encountered this; http://www.fishticuffs.co.uk/ Which Mike used to slap me around the face with a big fish - try it :-)
  • Reparenting nodes in LINQ to XML

    Someone mailed me the other day with a query as to how they can use LINQ to XML in order to change this XML file; <? xml version ="1.0" encoding ="utf-8" ? > < root > < x > < a /> < b /> </ x > < c /> < d /> </ root > into this XML file; <? xml version ="1.0" encoding ="utf-8" ? > < root > < a /> < b /> < c /> < d /> </ root > that is - find the node called "x" and remove it whilst reparenting its child nodes to the parent of the node "x". I ended up with something like; XElement doc = XElement.Load( "data.xml" ); XElement xEl = doc.Element( "x" ); doc.AddFirst(xEl.Descendants()); xEl.Remove(); which is fine (enough) but there's a part of me that would have liked to be able to collapse this down into less code. I managed to get it down to; XElement doc = XElement.Load( "data.xml" ); XElement xEl = doc.Element( "x" ); xEl.ReplaceWith(xEl.Descendants()); which felt a bit better and I can't really think of a way to cut...
    Filed under: ,
  • UK Visual Studio 2008, SQL Server 2008, Windows Server 2008 Launch

    If you'd like to attend the UK Launch of VS, SQL and Windows Server then the event is now live for you to register yourself here; Launch Registration Site In order to work out whether you want to do that or not, you can check out the agenda from here; Launch Details Site which will link you back to the first site. Don't ask me what "HEROES happen {here}" means - haven't the foggiest clue :-)
  • LinkSys USB200M

    My media center PC has a problem. It's a Shuttle PC, I've blogged the specs on this website before but I think the base spec is SN85G4V2 if I remember correctly. It's all fine and Media Center works better with Vista than it did with XP for me so that's a good story too. However, the box has one problem and it always has had since I bought it. The network card (which IIRC is all part of the nForce 3 chipset) is rubbish. I've always had problems with this card. It would never (under XP or Vista) run at 100mbps. It would only run at 10mbps and, even then, I've been suspicious that it was actually running at much, much lower speeds. This has always meant that transfers from the media center to other machines in the house have been problematic (i.e. slow). Also, Nvidia don't support nForce 3 for Vista so you have to use the MS driver. I don't know how good/bad this is but it exhibits the same problems as I had running with the Nvidia drivers under XP so I think I have to blame the card. Because the PC is a shuttle...
    Filed under:
  • Desktop Switching App 2008 ("Old Code is Another Country")

    I resurrected an older piece of sofware that I wrote today. A while ago, before I encountered Virtual Desktop Manager and DeskSpace I wanted to write a little tool that'd let me have multiple desktops on Vista. It's nowhere near as good as either of those tools :-) and it's just a "work in progress". But, I wrote one. It's very simple and (unlike most of these tools I suspect) it actually uses the Windows NT capability of having multiple Desktops within a Window Station. Consequently, it suffers quite a lot because the APIs for that don't work so well when it comes to closing down desktops. Regardless, I found myself wanting to use this piece of software today so I moved it to VS 2008 and rebuilt it. Here's the original post I wrote about it; Original Post and here's the post where I moved it to 64-bit; Moving to 64-bit I no longer run 64-bit and hence me revisiting this stuff today and rebuilding it. I had to move it to VS 2008 which seemed pretty easy. I then rebuilt the 32-bit variants and that seemed to work...
    Filed under: , ,
  • Holding down the power button

    This is a bit of a sad tale. I came to my laptop this morning and it said that I had no network connectivity. I did an ipconfig and saw that I had no ipaddress. I did an ipconfig /renew and I got an error saying "no adapter is in a suitable state" (I'm sure you've seen this one in your time). I went to disable the adapter and re-enable it as that usually fixes things. I got a message saying that the adapter couldn't be disabled at the moment. I did a restart. The machine got to the screen that says "Shutting down..." and stuck there for a full 5 minutes. I'd got very bored by that time so I held down the power button to kill the thing. After a reboot it's all fine but that catalogue of problems shouldn't really occur - perhaps the network driver went horribly wrong overnight and nothing could be done to get it to come back to life but it'd be nice if it surfaced itself in a more user-friendly way.
    Filed under:
  • Desktop Icon "Ghosting" bug?

    I keep encountering what feels like a bug. Not sure if it's in the DWM or Explorer or the driver or what. I dragged a file called capture.jpg from my desktop into Messenger and I'm left with a "ghost" icon which floats above the desktop and on top of any other windows. You can see it here; The capture.jpg on the left is a real file. The one hovering over the word "pad" in "I am notepad" is not. It's a ghost but it's annoying because it sits on top of everything else on the screen. Some combination of killing explorer.exe and/or dwm.exe seems to get rid of it after a while but I've not quite figured out what that combination is yet.
    Filed under:
  • ADO.NET Data Services - Screencasts

    I made a few videos about Data Services. I have plans to make a few more as well but (as always :-)) I've got distracted by something else so, for the meantime; ADO.NET Data Services - Surfacing Data ADO.NET Data Services - Querying with URI's ADO.NET Data Services - A Basic .NET Client ADO.NET Data Services - A Basic AJAX Client ADO.NET Data Services - A Basic Silverlight Client I particularly enjoyed the Silverlight one which I stayed up into the small hours of the morning making. Why? Because of how closely it lines up with what you do in a full .NET application. Once Silverlight grows some controls and databinding in version 2.0 I really see Silverlight+Data Services as being a killer combination.
  • But I Just Want To Copy A File :-(

    I've been staring at this dialog for just over 5 minutes. What the heck does it mean? I'm copying a 23MB file from a local hard-drive to a network shared drive (I blanked out the names above to protect the innocent :-)). I can accept that it's maybe a bit slow but this dialog tells me nothing useful. I have no idea whether any bytes have actually managed to traverse the network in the 5 minutes that I've been waiting. I have no idea how long I might wait for the rest of my file to copy. So...I click Cancel after 7 minutes. To get rid of that dialog takes another 1 minute. So, I ask robocopy to do it for me. It says; Oh, for crying out loud. So...I kill explorer.exe and then Robocopy wakes up and starts copying the file. There has to be a better experience than this for a simple task such as copying a file across a network? Hopefully Sp1 will make this better.
    Filed under:
  • ADO.NET Data Services - Silverlight Add-On

    Just a quick link to make this easier to find; ADO.NET Data Services Silverlight Add-On
1 2 3 Next >