Mike Taulty's Blog
Bits and Bytes from Microsoft UK

July 2009 - Mike Taulty's Blog

Blogs

Mike Taulty's Blog

Elsewhere

  • The Silverlight 3 Toolkit ( July 09 )

    Following up on this post , it’s very much worth pointing out that there’s a new version of the Silverlight Toolkit that goes alongside the version 3 bits. The Silverlight Toolkit includes a bunch of functionality that’s not present in Silverlight itself and allows for the teams to do some innovation around what [may/may not] go into the next version of the product. It’s available in both binary and source-code form ( under the Microsoft Public License ) and you can also get the unit tests for the framework just to add to the general level of goodness :-) What do you get in the toolkit? A bunch of controls and other bits that generally make your life building a Silverlight application a lot more pleasant. These controls are banded into 4 buckets according to how far along in their lifecycle they are; Experimental Preview Stable Mature I’m not sure whether there are any controls currently in the “Mature” band – perhaps that’s not unrealistic given the age of the Toolkit and the speed of innovation on both the Toolkit...
    Filed under: ,
  • The MSDN UK Podcast

    Eric has been quietly experimenting with making a podcast to go alongside the UK MSDN Flash and he’s got to the point where he’s refined the format enough to want to share it with more people. The current show is show 6 and you can find a link to it up here or, more directly you can subscribe to the feed here or via iTunes up here . Enjoy.
  • Silverlight, WCF & TransportWithMessageCredential Security

    This post is made from a train where I got bored and noticed an email in a discussion list folder that mentioned that Silverlight could do WCF authentication using TransportWithMessageCredential security. I’m not at all sure if this is a new thing and suspect that it’s more likely that it’s always been there and I’d just missed it but it fell into the category of “learning something new every day” :-) Regardless, I had a quick experiment with it – essentially TransportWithMessageCredential means that you’re using the transport ( e.g. in Siverlight this means HTTPS ) to ensure the privacy of the message that you’re transmitting and, because of that, it’s ok to transfer some credential as part of the message. This is similar to using basic/digest authentication over HTTPS except in that case it’s the HTTP protocol that’s transporting the credentials whereas in this case it’s the SOAP message that’s transporting them. One of the nice things about that is that those credentials can flow straight into WCF code in order...
    Filed under: , ,
  • Silverlight 3: “Bye Bye” Beta, “Hello” RTM :-)

    I got hold of the release of Silverlight 3 today and thought that I’d take a look and see if I could spot changes from the beta ( rather than write a complete list of what’s new in V3 – that’s a different post :-) ); Firstly, I should say that I downloaded bits from here There’s a changes document in the SDK so if you want a definitive guide then go read that but ( for my own purposes ) I had a look around and wrote up what I found below. The very first thing I noticed when doing a File->New->Project is that the Visual Studio project template no longer throws in a UserControl with a fixed Width and Height. Woohoo! It’s using the new DesignWidth and DesignHeight properties from Blend. Cool. Glad to see that. Beyond that, here’s a few others things that I spotted on my first walk-through of the RTM bits – there are some things that I’m not 100% whether they have newly arrived or whether I’ve just missed them previously and, similarly, I’m sure there’s are many more things beyond this list so don’t treat this...
    Filed under: ,
  • Off-Topic: Charity Run Follow Up

    Just a quick follow up to all the people who were kind enough to donate in response to my post here in case you were thinking that I’d chickened out of the run and pocketed the donations :-) In the end, my run profile looked like this; http://www.nike.com/europerunning/grs/index.jsp?runner=746340&rid=122 although I have to say that I can’t see that Flash content on my machine right now – not sure what’s going on with that page instantiating the Flash plug-in but it seems to be looking for a specific version that I maybe don’t have? Anyway - I didn’t quite get under 50 minutes like I wanted to but it was close enough :-) I managed to raise £615 for the charity and I held back on posting this update whilst I checked to see if Microsoft Ltd would agree to match that donation. They very kindly agreed to do so and that doubles it up to a nice £1300 which I’m very pleased with. Thanks once again to all who donated and to Microsoft Ltd as well :-)
    Filed under:
  • Windows 7: Experimenting with Multi-Touch on Windows 7 ( Part 5 )

    I got around to installing Visual Studio 2010 Beta 1 and so I thought it made sense to follow up this post by taking a quick look at what WPF V4.0 Beta 1 has to offer in the same area. As far as I know, Beta 1 does not have the low level WM_TOUCH style message processing that I looked at a little here and here but it does have support for gestures and inertia ( which is probably the support that most applications want/need ) similar to what I used from the wrapper library in the posts here and here . I defined another UI to play with which just presents a rectangle on a canvas; <Window x:Class="WpfApplication9.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" Height="300" Width="300" WindowState="Maximized"> <Grid> <Canvas x:Name="canvas" Background="Blue" ManipulationMode="All" ManipulationDelta="OnManipulationDelta"...
  • Catching up on blog reading…

    It was very warm and humid last night in Manchester, UK and so I sat up late catching up on a whole bunch of blog-reading that I haven’t done for a few weeks. I tend to use my blog-reader ( FeedDemon ) in the same way that I use Outlook. I go through everything, delete anything I’m less interested in and then revisit the other stuff at a later point and I thought I’d spend some time today visiting all those posts I’d flagged as interesting. Whilst doing that, I thought I’d share what they were here – note that some of this stuff is a little old now as I’ve not been reading those blogs as frequently as I used to. I’m sure I was meant to be doing something else but I found a day mostly made up of reading other people’s posts really useful and enjoyable so I reckon it was a day well spent. WPF Multi-touch in WPF 4 Beta 1 – this seemed particularly relevant to me based on my recent experiments with multi-touch Workflow 10-4 Good Buddy, First Look at WF 4 Learning by Example with 4 Introducing the WF4 Designer Introduction...
  • TODO List

    There’s a bunch of things that I feel I need to know a whole lot more about so I thought I’d write it down. This is my current list of technologies that are buzzing around in my head, nagging me to spend time on them. Azure Services Platform - Microsoft .NET Services Azure Services Platform – Windows Azure .NET Framework V4.0, Specifically Windows Workflow Foundation V4.0 Windows Communication Foundation V4.0 Windows Presentation Foundation V4.0 and the new Client Profile XAML in .NET Framework V4.0 Revisit Parallel Extensions in V4.0 as that’s changed since I last looked at it. Entity Framework in V4.0 Office Development in VS 2010 Managed Extensibility Framework in V4.0 Some of the core enhancements such as; Security changes GC changes Side-by-side hosting changes etc. ADO.NET Data Services V1.5 CTP .NET RIA Services Framework WCF REST Starter Kit Dublin Geneva Server A major refresh of what the P&P Group has these days – especially around Prism. T4 Templating I daresay I’ll come up with more as I think...
    Filed under:
  • Windows 7: Experimenting with Multi-Touch on Windows 7 ( Part 4 )

    Following up on this post , I wanted to see if I could continue to use the interop wrappers in order to add inertia to my multi-touch manipulations. The intertia API in Windows 7 is really “just” a physics engine that you can use to add more realism to things like touch interactions. There’s some detail on that physics engine in the docs and, specifically, here . As an example, for a manipulation that involves a translation ( like a pan ) your object is moved in some direction by the manipulation along some 2D vector (Ai + Bj) and the inertia engine picks up when the manipulation is over and takes the object’s position, the displacement vector and a deceleration value and then calculates new positions for the object over a specified time period at a specified interval. The documents of course refer to the COM implementation whereas the interop wrappers wrap all this up for you and surface it a slightly different way and it took me a little while to get even a little used to what was going on – for me, perhaps...
    Filed under: ,
  • Windows 7: Experimenting with Multi-Touch on Windows 7 ( Part 3 )

    Following on from the previous post and the one before , it was fun to play with my own interop wrappers for a while but I figure it’s going to be a lot more productive to use the interop wrappers contained up at; http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=WindowsTouch&DownloadId=4525 and they also include wrappers for the manipulation API and its friend the inertia API which I didn’t really want to get into wrapping if I could avoid it. Wrapping those COM objects might not have been too ugly a job but the initial thought of trying to track down the TLB info for the COM objects involved ( assuming that there is TLB info for those COM objects because it’s a lot less fun if there’s not ) and then try and get it imported into the .NET world didn’t fill me with joy and so switching to using someone else’s wrapper seemed like a smart move. I wanted to experiment with those wrappers and see whether it made life easier or more difficult and so I thought I’d quickly replicate what...
    Filed under: ,