Just to be clear, this is not a necessary step for us to take in our conversion process. But it’s a step that spreads some light on some of the differences regarding how you write code for Windows Phone and Windows 8. You can even say that it will show how much easier life gets [...]
Entries Tagged '.Net' ↓
Converting to Windows 8 from Windows Phone | HttpClient vs. HttpWebRequest (5 of 12)
April 12th, 2012 by Peter von Lochow , Andreas Hammar and Håkan Reis — .Net
Tags: metro, windows 8, windows phone, windows phone 7, xaml
Converting to Windows 8 from Windows Phone | XAML has a new home (4 of 12)
April 10th, 2012 by Peter von Lochow , Andreas Hammar and Håkan Reis — .Net
The perhaps most obvious difference between Windows Phone and Windows 8 is that XAML is no longer a part of .NET in Windows 8. The reason for it being so obvious is that all references to System.Windows breaks the build. Simply put – XAML now resides in Windows Runtime instead of .NET. The problem is [...]
Tags: metro, windows 8, windows phone, windows phone 7, xaml
Converting to Windows 8 from Windows Phone | Setting up the project (3 of 12)
April 8th, 2012 by Andreas Hammar , Peter von Lochow and Håkan Reis — .Net
Now we’ve reached the point where we stop talking and start playing around with some code. As concluded in the previous post on porting strategy, we’ll simply copy the code files from the Windows Phone project and create a new Windows 8 project. It won’t build right away, let alone run, but it’s a start. [...]
Tags: metro, windows 8, windows phone, windows phone 7, xaml
All you need to do is implement OpenID…
April 5th, 2012 by Anders Poulsen — .Net
We have created a Single Sign On (SSO) solution for a client with a multitude of websites. Many of them with each their own login solution. The basis for the SSO solution is OpenID, so we have created an OpenID Provider. Now, often when a new website joins the SSO solution, we find that telling a [...]
Converting to Windows 8 from Windows Phone | Conversion strategy (2 of 12)
April 4th, 2012 by Andreas Hammar , Peter von Lochow and Håkan Reis — .Net
In our previous introductory post we set the stage for what we’re going to accomplish with this conversion. Now it’s time to take the first step. Before we dive in, lets lean back and think about how to proceed. We have a working Windows Phone application and we have nothing when it comes to Windows [...]
Tags: metro, windows 8, windows phone, windows phone 7, xaml
Converting to Windows 8 from Windows Phone | Introduction (1 of 12)
April 4th, 2012 by Peter von Lochow , Andreas Hammar and Håkan Reis — .Net
You have to start somewhere, and both a blog series and a conversion starts here. During the following weeks we’ll take a real (is-deployed-to-marketplace-real) Windows Phone application and convert it, step by step, to a Windows 8 Metro application. Our hopes and dreams are, because the similarity between the platforms and the mutual design language, [...]
Tags: .Net, metro, windows 8, windows phone, windows phone 7, xaml
Advanced transparent live tiles with count for windows phone
April 3rd, 2012 by Håkan Reis — .Net
The live tiles are brilliant to show information regarding your application without forcing the user to open it up. The basic live tile gives you two sides with some text, a count and ability to set background images. Outlined in the MSDN documentation, and thousands sites with getting started information. However, when you want to [...]
Tags: alpha, live tiles, tiles, transperency, windows phone
The problem with the SystemTray white foreground color in WindowsPhone
March 27th, 2012 by Håkan Reis — .Net
The other day I was designing a dark static theme for Windows Phone. As I know it will be a dark theme, no matter if the user selects light or dark theme, I wanted to make sure the SystemTray was visible at all times. In this case I sat the opacity to 0 so that [...]
Tags: windows phone, wp
Fast App Switching does exist on 256 MB Windows Phones
March 27th, 2012 by Andreas Hammar — .Net
Even though early specifications of the limitations of low-end devices (256 MB) stated that Fast App Switching (FAS) would not be available – it actually is! It’s just so much less likely to happen because of the memory limitations. The updated MSDN documentation explains it as: Fast Application Switching is supported on 256-MB devices. However, [...]
Tags: .Net, tango, windows phone, windows phone 7
Motion detection and face recognition with Kinect
March 23rd, 2012 by Håkan Reis , binhtu and Kleine — .Net, User Experience
Kinect for Windows is now launched, what fun can we do with it? Under a spontaneous meeting we had a quick brainstorm for ideas that could be fun and quick to create in one weekend. Many ideas came up based on the the fun interaction a Kinect is making possible. We want to [...]
Adventures in Gotham City
March 23rd, 2012 by Per Ökvist — .Net
Introduction The choice of client side MV* framework ain’t an easy one. And fairly often a new one comes along. Among the usual suspects we find frameworks like Backbone, Knockout and Spine. In this post we’ll setup a playground for another client framework. Batman. This using Visual Studio and ASP.NET Web API. Batman is a [...]
Tags: batmanjs, javascript, webapi
HttpClient makes GET and POST very simple
March 13th, 2012 by Peter von Lochow — .Net
There is one thing that most client projects have in common – they request data, in some form, from a server. When developing for Windows Phone I prefer to do these requests using HttpWebRequest instead of WebClient (why – explained here by Andreas). But this is not a post about Windows Phone, it’s about the [...]
Using Backbone.CQRS with SignalR
March 9th, 2012 by Per Ökvist — .Net
Introduction Many popular client MV* frameworks lean on the convention of an HTTP API of resources. But in a world of with many different approaches ex Sockets, Hyper Media APIs, this model doesn’t always fit. Backbone.CQRS is an extension for backbone that provides CQRS integration client side. This enables backbone to fit with a CQRS [...]
ReSharper live template for an INPC property
February 13th, 2012 by Andreas Hammar — .Net, Tips & Tricks
I’ve considered ReSharper a must-have for Visual Studio for many years, and their live templates are code snippets on steroids. Here I share with you my simple but effective template for generating properties. What it does is add the backing field in camelCase (with an underscore) matching your public name written in PascalCase. All you [...]
Tags: .Net, windows phone, windows phone 7
Unboxing Dropbox and SharpBox
February 6th, 2012 by Johan Silfversparre — .Net
How to programmatically upload a file to your Dropbox account. On a train trip during the New Year’s weekend, I spent time testing and collecting notes about how to interact with Dropbox. I will share my findings with you in this blog post. Dropbox “Dropbox is a free service that lets you bring your [...]
