Skip to main content

Posts

Showing posts from July, 2010

Xaml Meets ASP.NET MVC – Create databound visualizations with Xaml + ASP.NET MVC using XamlAsyncController

For some time, I was thinking about leveraging the power of Xaml to create databound images/visualizations in web applications, and did a quick POC implementation of the same. Here is the demonstration. We’ll start from the final output, and see how quickly you can render a Xaml control as an image from your ASP.NET MVC Controller – after binding that to your ViewData or view model.[+] Related Code: Go get it, from codeplexGenerating data bound images using XamlThe gist of this article is how you can create dynamic or data bound images from Xaml user control. When I mention dynamic or data bound image - what I mean is, taking a snapshot of your Xaml user controls that are bound to the view data or view model. So that, your images will be generated based on the view data/model. How to do this? The related source code (find the link above) contains a XamlAsyncController implementation, to make the whole task easier in ASP.NET MVC.Let us go through an example - If you see, there are two …

Hobby Programming – Creating your first robotic simulation using Microsoft Robotic Dev Studio and Visual Programming Language

PrefaceThis is a quick introduction towards starting your life with Microsoft Robotic Developer Studio (RDS) and Microsoft Visual Programming Language (MVPL) for creating simple robotic simulations. This is intended to be an ‘absolute beginner’s guide’ to RDS.  In fact, I just started playing with RDS after some inspiration from Ramaprasanna during Kerala DevCon 2010 - and it is fun. And the objective of this post is to share the fun, mainly from a hobby programming perspective. As a pre-requisite, for doing the hands own instructions below - you may need to download and install  Microsoft Robotic Developer Studio 2008 R3 – The installation should be pretty simple and easy.Microsoft Robotic Developer Studio (RDS) comes withMicrosoft Visual Programming Language – An easy to use visual language so that even non programmers can create simulations A 3D Environment simulation module The RDS comes with two runtimesThe Concurrency and Coordination runtime (CCR) – To make easy the handling of…