Geeks With Blogs
Joe Mayo Windows 8 Posts including content on Windows 8 Metro application developement.
WinRtAuthorizer–A Better Way to do OAuth with LINQ to Twitter in Windows 8
Last July, I blogged about how to do OAuth in Windows 8 with LINQ to Twitter: A the time, that worked well, but was still not an optimal solution. It required setting up a page to handle a WebBrowser control, navigating to that page, authorizing, and then asked the user to copy a PIN into a text box to complete the dance. You still have to do that with desktop and Windows Phone apps, but not with Windows ......

Posted On Saturday, January 19, 2013 2:07 PM

LINQ to Twitter for Windows 8 Samples
I uploaded a bunch of new Windows 8 samples for LINQ to Twitter this week: http://linqtotwitter.codepl... @JoeMayo ......

Posted On Wednesday, July 11, 2012 5:44 PM

Using LINQ to Twitter OAuth with Windows 8
Update (1/19/2013): This doesn't work anymore and there's a better way to perform OAuth with LINQ to Twitter on Windows 8. Please see WinRtAuthorizer–A Better Way to do OAuth with LINQ to Twitter in Windows 8WinRtAuthorizer–A Better Way to do OAuth with LINQ to Twitter in Windows 8.In previous posts, I explained how to use LINQ to Twitter with Windows 8, but the example was a Twitter Search, which didn’t require authentication. Much of the Twitter API requires authentication, so this post will explain ......

Posted On Monday, July 2, 2012 9:58 AM

LINQ to Twitter for Windows 8 Metro Style Apps
In the Developer Preview of Windows 8, Visual Studio 11 conveniently allowed references to .NET 4.0 apps. I had blogged previously on how to use LINQ to Twitter with Windows 8. Subsequently, the Consumer Preview of Windows 8 no longer allowed references to .NET libraries and requires references to Windows 8 Metro Style Application Libraries. I looked at Portable Class Libraries, but that doesn’t work because LINQ to Twitter is an IQueryable LINQ provider, which isn’t supported. So, I redirected my ......

Posted On Wednesday, May 9, 2012 11:04 AM

Installing Windows 8 Developer Preview on a VM
Installing Windows 8 Developer Preview isn’t always simple. It was troublesome on a 32-bit machine, but much easier on x64. Since Win8’s debut at Build last September, VirtualBox supports installing Win8 natively, so you’ll want to download the latest version of VirtualBox to make sure you don’t have problems. Another good option is VMWare. They have a free product, VMWare Player, that runs well. The only problem is it doesn’t have native Win8 support, but don’t let that get in the way. This blog ......

Posted On Sunday, January 22, 2012 10:47 PM

Windows 8 ListBox 2 ListView
One of the new data controls in Windows 8 Metro is the ListView. The ListView does the same thing as the ListBox, plus more. In this post, I’ll build on the TwitterClient, from my previous post: Windows 8 Composition and Content. and show how to refactor the ListBox to a ListView. I’ll also mention a few of the differences between the two controls. Refactor ListBox to ListView To save you a little time, I’ll show you the XAML for the ListBox, from my previous post. Then I’ll follow up with changes ......

Posted On Monday, February 13, 2012 8:19 AM

Windows 8 Composition and Content
Composition is an integral part of Windows 8 UI design from both aesthetic and logical perspectives. This post modified my previous post, Refactoring Windows 8 Code-Behind to MVVM. adding to the variety of compositional examples. I’ll start with an explanation of composition in Windows 8, modify the previous code to show the power of composition, and then highlight a few more existing examples of where composition naturally fits into the Windows 8 UI environment. Understanding Windows 8 Composition ......

Posted On Monday, February 6, 2012 10:11 AM

Refactoring Windows 8 Code-Behind to MVVM
In my previous post, Using LINQ to Twitter in Windows 8 Metro Apps, I cheated a little (some might say a lot) on my UI architecture by using code-behind. In this post, I’ll make it all better by showing you how to separate the model and interaction logic from the UI design – proper separation of concerns. I’ll accomplish this with a pattern, named Model-View-ViewModel (MVVM), which is widely used for WPF, Silverlight, and (soon) Windows 8 Metro Apps. I’ll start by discussing what MVVM is, move to ......

Posted On Monday, January 30, 2012 9:22 AM

Using LINQ to Twitter in Windows 8 Metro Apps
While the title of this post suggests focus on LINQ to Twitter, it also indicates that I’ll be discussing how to build a Windows 8 Metro application. The application itself will display a list of tweets from Twitter’s public feed. In the sections that follow, you’ll read background information on pre-requisites to understanding the post, learn how to get LINQ to Twitter working with Visual Studio 11, and then see a step-by-step on how the application is built. Getting Started You can build Metro ......

Posted On Thursday, January 26, 2012 10:11 AM

Copyright © Joe Mayo | Powered by: