Skip to main content

Posts

Showing posts from August, 2010

Screen cast – Developing A ‘touchy’ Twitter browser using Surface toolkit for Windows Touch devices beta

In this Screen cast, I’ll explore how to install the toolkit and develop a simple Twitter browser application using the toolkit. Along with the screen cast, you mayRead this article that briefs the applicationDownload the source codeClick the below image to view the recorded Screencast.

Developing A ‘touchy’ Twitter browser – Using Visual Studio 2010 + Surface Toolkit for Windows Touch devices beta

Microsoft recently released Microsoft Surface Toolkit for Windows Touch Beta. It seems that the next version of Microsoft Surface will provide a development model that is consistent along the lines of WPF and Silverlight – Promising infact..The Microsoft Surface Toolkit for Windows Touch Beta is a set of controls, APIs, templates, sample applications and documentation currently available for Surface developers. With the .NET Framework 4.0, Windows Presentation Framework 4.0 (WPF), and this toolkit, Windows Touch developers can quickly and consistently create advanced multitouch applications for Windows Touch PCs. This toolkit also provides a jump-start for Surface application developers to prepare for the next version of Microsoft Surface. Use it to take advantage of the innovative Surface technology and user interface to develop your own rich and intuitive multitouch experiences for a variety of Windows Touch devices.In this post, I’ll explore how to install the toolkit and develop a…

Rendering a Xaml Gauge Control (and other WPF Controls) in ASP.NET MVC

In my last post, I introduced XamlAsyncController, a POC implementation that shows how to render Xaml controls from ASP.NET MVC. To recap, these are the two steps you need to do to render Xaml or a WPF control as an image from your ASP.NET MVC ControllerInherit your Controller from XamlAsyncController, and add an Async action for serving the image  Add your Xaml file to the path /Visualizations/{Controller}/{Action}.xaml Also, now there is one more way of rendering a WPF control from your MVC controller. You can create a WPF control from your controller and pass it as a parameter of StartRendering method, in your Async method.The Gauge control XAML I’ve used in this example is the Xaml guage control developed by Evelyn from Codeproject – Credits to Evelyn.Have a look at the Controller that renders the Button image and the Gauge image, in the shown html page. public class VisualsController : XamlAsyncController { public void GuageAsync() { …