Skip to main content

Posts

Showing posts from September, 2011

HelloTiles – A Simple C# Xaml Application for WinRT/Windows8 to demonstrate Metro Tile Updates

To get the taste of Windows8 and WinRT, Let us develop a quick C# + Xaml application that sends notifications to the Metro UI Tiles. Before jumping in, make sure you read aboutWindows 8 Quick OverviewBasic Concepts Regarding WinRT and Windows 8 DevelopmentSo, let us create a quick app. Here we go.About TilesAs you might have already seen in the Demos, Windows 8 start screen features Tiles, as start points of the application. Your applications can send notifications to tiles, so that they are displayed in the start screen, above the tile. The types for Tile manipulations are in the namespace Windows.UI.NotificationsBasically, we are interested in three classes.TileNotificationDefines an update to a tile, including its visuals, identification tag, and expiration time. TileUpdateManagerCreates TileUpdater objects used to change and update Start menu tiles. This class also provides access to the XML content of the system-provided tile templates so that you can customize that content for …

Developing for WinRT and Windows8 – Basic Concepts

I gave a bullet point overview about Build conference here in my last past. If you havn’t yet got Windows 8 Dev Preview up and running, go grab it here. There are several ways to get up and running with Windows 8.Scott’s guide about installing and booting from a VHDInstalling and booting from a Virtual MachineIn my case, I downloaded the ISO image of Developer preview with tools (the 4+ GB One), Extracted it to a USB drive and made the USB drive bootable, Booted from that and then installed Windows 8 on a Local HD Partition in my home machine. Now, it is dual bootable, Windows 8 and Windows 7, and all is well. Let us get in to the business. Windows 8 comes with WinRT, a new object oriented native/unmanaged API for developing ‘Metro’ applications for Windows. WinRT APIs are expected to replace the Win32 APIs. WinRT projects types using meta data, and is fully object oriented, so you can access WinRT directly from managed languages like C#. Here are a couple of interesting reads about …

//Build/–Windows 8 Thoughts

Game on. After going through the Day 1 keynote for the Build event, I should say I’m pretty much convinced that Microsoft has got the equation correct. They corrected the Tablet part of the equation, and got the entire Cloud <-> Tablet stack in place, with proper platforms and a nice set of developer tools. And with out doubt, Windows 8 devices are going to be a definite competitor for iPad/iOS, and Microsoft has officially entered the post PC era.Here are few quick observations, mainly on the developer side.About Metro UIMetro applications are now officially the first class applications that  can fully leverages the touch features of Windows 8. The new start screen looks very refreshing, with dynamic tiles.For DevelopersDevelop application in HTML5<->JS<->WinRT or XAML<->.NET<->WinRTYou can develop native Windows applications either using Javascript and HTML or using .NET and XAML. This also means, ability to access native WinRT APIs straight from Java s…

Creating a quick Todo listing app on Windows using IIS7, Node.js and Mongodb

As I mentioned in my last post, more and more organizations are leaning towards Web Oriented Architecture (WOA) which are highly scalable. If you were exploring cool, scalable options to build highly performing web applications, you know what Node.js is for.After following the recent post from Scott Hanselman, I was up and running quickly with Node.js. In this post, I’ll explain step by step how I’ve setup Node.js and Mongodb to create a simple Todo listing application.Setting up Node.jsThis is what I’ve done.1 – Goto http://nodejs.org/, scroll down and download node.exe for Windows, and place it in your c:\node folder2 – Goto IIS Node project in Git at https://github.com/tjanczuk/iisnode, download the correct ‘retail’ link of IIS Node zip file (I downloaded the already built retail package, otherwise you can download and build from the source).3 – Extract the zip file some where, and run the install.bat or install_iisexpress.bat depending on your IIS Version. If you don’t have IIS in…