Mike Taulty's Blog
Bits and Bytes from Microsoft UK

Browse by Tags

Blogs

Mike Taulty's Blog

Elsewhere

  • A Tale of 2 Web UIs

    For no reason whatsoever, I found myself wandering across to the “Bing Maps Silverlight Control Interactive SDK” today. It was a random moment when I probably should have been making myself a cup of tea but I’d seen the announcement on the Silverlight blog and I’d followed it through to the video that’s up here and I’d ( honestly ) not thought that I would get too excited about it. But I did. I’m very, very impressed by this new Silverlight control and I guess there’s 2/3 reasons that excite me about it; It’s much more pleasant to use and feels much more fluid and rich than the AJAX version. Here are the two versions side-by-side; Go run them both. Try them out. There’s a qualitative difference in the experience of these two things. It’s Silverlight. What that tells me is that I’ll have no problems compositing this [with/underneath/over-the-top-of] any other Silverlight content that I want like video, text, graphics, user interface, anything that I like. Mmmmm. It’s Silverlight. What that tells me is that I’ll...
  • Videos from DevWeek: Catching up with Aaron Skonnard

    I was lucky enough to have a chance to chat with Aaron Skonnard at DevWeek last month and I captured a few videos which I thought I’d share here. Aaron (as you probably know) is a co-founder of the Pluralsight company and is a great trainer and technical presenter and was keynoting DevWeek with a talk about Cloud Computing so I manage to snag him and ask him a few questions about “the Cloud”. I’ve broken this down into a couple of sections, the first one here mostly being about timelines as we head towards Cloud; and then the second one here being more about how developers can prepare for Cloud computing; and then this last one here was really more of a “fun” question where I asked Aaron what he was currently playing with. I always find this an interesting question as I think all developers are always secretly toying with some bit of technology even if it means staying up late :-) Here’s Aaron’s answer; Enjoy!
  • Virtual Earth & SQL Server Event – London, April 16th

    Johannes Kerbeck and Simon Sabin are running an event around Virtual Earth in the Microsoft offices in London on April 16th. Sounds like an interesting take on things to me is that it seems to be angled more around taking spatial data and applying it in both places. More details from here . You won’t see me there though. I’ll be here .
  • Windows Azure - .NET Services and the Service Bus

    I’ll be honest. I haven’t done much with Windows Azure at this point. The list of technologies that I need to “spend time on” never seems to shrink and the pieces in Azure have so far escaped me although I do have a long-standing interest in all this service-based stuff spanning back through WF, WCF, ASMX and BizTalk. I did spend some time with some of the Live Services so that puts a small tick into one of the boxes on the block diagram from the PDC; but, as always, there’s a tonne more to do. However…one thing that I definitely picked up at DevWeek is that I need to take a bunch more interest in what falls into that category of Microsoft .NET Services , namely; Access Control Service Bus Workflow Services so that’s been pushed onto my stack marked “TO DO” ( along with a tonne of other stuff :-) ).
  • Powershell and the Live Framework SDK?

    I have this little command line app that I’ve been using to navigate my developer Mesh with the Live Framework SDK. It started out as very basic but then today I realised that I should really extend it so that you can use it something like; cd cloud list objects cd meshObject1 list objects and so on. I was about to set about doing this when I realised that this is essentially already part of Powershell and a much smarter move would be for me to write a plug-in provider for Powershell that exposed the local/cloud Live Operating Environment as something that can be navigated from the shell. Now…I didn’t actually set about it yet ( mostly because I realised that I’d have to download the entire Windows SDK to get going – can that be right? :-) ) If anyone goes ahead and builds it then let me know and I’ll link to it here, otherwise I’ll try and build it myself when “spare time” comes around.
  • Mesh Squared

    Ahh…..this post lets me have my developer Mesh and my consumer Mesh. Use Mesh Client Beta and Live Framework Client Side by Side Lovely.
  • Live Framework SDK - more on inviting others

    This previous post had me thinking that the WPF application that I built across these posts; Live Framework SDK - More Steps Live Framework SDK - Having a Single MeshObject Live Framework SDK - Adding a Silverlight MEWA would start to improve if I offered the opportunity to "invite others" to shared groups of photographs. So, I re-worked the code. There were a couple of things that I came across whilst doing it; It's a bit painful that you can't do everything whilst created to the Local LOE. I wanted to write 100% of my code against the Local LOE but, because you can't get a list of Contacts from the Local LOE right now it means that you have to connect to the Cloud LOE to get them. Additionally, as far as I could tell you also need to use the Cloud LOE to send a user an invitation to share a MeshObject. I don't think you can do that with the Local LOE even if you already have gathered Contact information from the Cloud LOE. That was my finding, anyway. Mappings. I'm still not 100% sure about Mappings, MeshObjects...
  • Live Framework SDK - Inviting Others

    Following on from this previous post , the WPF and Silverlight code that I've been running tries to access a MeshObject ( containing a DataFeed of photos ) that the code itself creates at initialisation time. What I wasn't sure about at all was how that'd work if I wanted to make the same data available to another person altogether. As it stands, my WPF code runs up and does; Check local mesh for "photos" MeshObject. If not present, check cloud mesh for the same. If not present, create it. If I want to share my photos with lots of other users of the same application then is that what I want? All my users will end up with their own MeshObjects with their own photos and none of them will ever see each other. So...I set about trying to figure out what the "shared data story" is. There's a sample in the walkthroughs called MeshageBoard ( no, really :-) ) which helps quite a lot with this in that it shows the way in which one user can send invitations to another. In order to experiment with this, I decided that it...
  • Live Framework SDK - Adding a Silverlight MEWA

    Having written a small amount of WPF code for the previous post , I was wondering how hard it'd be to now write a Silverlight Mesh Enabled Web Application ( MEWA ) and access the same data that I was using from my WPF application. I set off down the route of building a Silverlight MEWA. So, in Visual Studio with the Live Framework Tools installed that's File->New Project; and then I did a quick Build to make sure I had something that was basically working and then I pressed F5 which sprung up this dialog; and that launched this dialog; which led me through visiting the developer portal; creating a new project up there; entering some details like the name (TestMewa), choosing to create a "MEWA" rather than a "Web Site", and then revisiting the dialog in Visual Studio and clicking the "Copy Link to ZIP file" entry; and then using that to upload the package on the website; which then gave me the Application's Self-Link to paste back into the dialog in Visual Studio; Visual Studio then did some uploading and launched...
  • Live Framework/Mesh - Screencasts

    I added a few screencasts to Channel9 around the Live Framework/Mesh. They're pretty introductory but might be helpful if you're looking to start out with Live Framework and want to save some time by re-using some of what I've already tried to figure out about the SDK. The screencasts are here ( note - these are just pictures rather than fancy embedded Silverlight players :-) ); Getting Started Syncing Some Simple Data "Hello World" from a Mesh Enabled Web Application Enjoy ( all errors are mine :-) )
  • Live Framework SDK - Having a Single MeshObject

    Following up from the previous post where I'd been trying to write a little bit of code that shares some photographs via the Live Mesh using a standard, installed, client application written in WPF. That all worked out fine but the main problem that I encountered was that I wanted to have a single MeshObject ( let's call it Photos ) which had a single DataFeed that was used by all instances of my application. This is problematic as the client runs off the Local Live Operating Environment (LOE) which is not necessarily bang up to date with the Cloud LOE. So you can have a situation such as; Client runs on PC 1. Client checks its local LOE to see if the Photos MeshObject exists or not. Photos MeshObject does not exist so the client creates it. Client runs on PC 2. Client checks its local LOE to see if the Photos MeshObject exists or not. Photos MeshObject does not exist so the client creates it. Both clients are now happy but at some point they will synchronise with each other and they'll possibly never share any...
  • WPF and Virtual Earth, Part 3

    Following up from this post , I'd been playing around a little with using my Virtual Earth control and I realised that it wasn't really working :-) The main problem was that I was tending to call VEMap.Find() more than once at the same time and I'd read the docs and hadn't fully understood that when they were saying "Don't call this function in a re-entrant manner" they really meant it and calling it more than once meant that the calls didn't work. So, I modified a few things, deleted a bunch of code and tried to make sure that it only calls into the underlying Java script for the VEMap control with a single call at a time rather than trying to be re-entrant. I also added a little bit of handling around what to do when the network isn't present and/or disappears/reappears during the lifetime of the control. I've uploaded the project again here for download if you want the source .
    Filed under: , ,
  • WPF and Virtual Eath, Part 2

    Following on from here , I thought I'd add a little bit of pushpin support to my basic Virtual Earth control for WPF. Essentially, I added a new property to the control called PushPins and each one of those is just a tuple of; { Latitude, Longitude, Text } to be placed on the map. This means that from XAML I can create a set of pushpins in a declarative way as in; <ve:VirtualEarth x:Name= "veControl" Grid.Column= "1" ZoomLevel= "{Binding Path=Value, ElementName=slidey}" Latitude= "{Binding Path=Text, ElementName=txtLat}" Longitude= "{Binding Path=Text, ElementName=txtLon}" MapStyle= "{Binding Path=Text, ElementName=cmbMapStyle}" > <ve:VirtualEarth.PushPins> <ve:PushPin Latitude= "47.6" Longitude= "-122.33" Text= "Seattle 1" /> <ve:PushPin Latitude= "47.7" Longitude= "-122.33" Text= "Seattle 2" /> <ve:PushPin Latitude= "47.8" Longitude= "-122.33" Text= "Seattle 3" /> </ve:VirtualEarth.PushPins> </ve:VirtualEarth> or I could databind them but either way in code if I want...
    Filed under: , ,
  • WPF and Virtual Earth

    WPF Version 3.5 Service Pack 1 has a new WebBrowser control as I talked about a little here; http://channel9.msdn.com/posts/mtaulty/WPF-35-Sp1-WebBrowser-Control/ and some of the nice things about the control are; It can load HTML from a Stream or a string - i.e. you don't have to hit the web. You can call from the surrounding .NET code into script inside the control. You can call from script inside the control into the surrounding .NET code. This seemed to be enough to form the basis of using the Virtual Earth control inside of WPF so I set about trying to build a control that did a very basic version of that. The basic approach that I took is; WPF UserControl with dependency properties for Latitude, Longitude, ZoomLevel and MapStyle. Put an embedded HTML file inside the resources of my control's assembly which contains the HTML needed to load the Virtual Earth control along with the script needed to; Make it possible to set the Latitude, Longitude, ZoomLevel and MapStyle from my UserControl. Pass appropriate...
    Filed under: , ,
  • Silverlight & Virtual Earth

    Fantastic demonstration from IDV solutions; http://silverlight.idvsolutions.com/ It'd be really cool to be able to copy a link once you've annotated a map and share it with someone else. I liked the flyout menus on the tools on the right hand side :-)