Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


Async VII: WinRT class library

AddThis Social Bookmark Button
In the previous post I talked about async from JavaScript. Now, for this I had to make a WinRT class library for my asynchronous RestCaller class, so this functionality could be used from a HTML5 JavaScript WinRT application. Now, once you do this, there are some things you need to know and some restrictions on the types you use for your publicly visible methods.

First of all you need to create a class library. Pretty simple, but once it's created, you need to change its' project type to WinMD file. This stands for Windows MetaData file.


Also, in the first version, my class library was called BlitzHiker.Lib. This name gave me runtime errors when called from JavaScript. At compile time everything was fine, but at runtime it would just crash for no reason. Removing the point from its' name fixed this.

Once I had the class library ready, I copied my RestCaller class to it and started compiling. The errors this gave were quite abundant. For starters, you are not allowed to use a return type of Task or Task<T> in a WinMD file. This forced me to define all of my existing methods...(Read whole news on source site)

Facebook Logout in a Windows Phone App

AddThis Social Bookmark Button
source: A while ago I implemented the Facebook photo endpoint into my Windows Phone Pictures Lab app. The implementation of the login was quite straightforward thanks to OAuth 2.0. Only the logout was way harder than one might expect. This post describes how to logout from Facebook using the Facebook API.
In my Pictures Lab app you can edit photos, make them look awesome and then save or share those with your friends at Twitter or Facebook. The Windows Phone Mango API provides the ShareLinkTask and the ShareStatusTask which
can be used by an app to share an URL or text using the social services the user has connected the device to. Unfortunately there's no built-in SharePhotoTask to share a photo using the services the user has already authorized. That's why I had to implement it in a custom way where the user has to authorize again. ...Read more ...(Read whole news on source site)

Event: Windows Server 2012 Community Roadshow

AddThis Social Bookmark Button
The Windows Server 2012 Community Roadshow is coming to over 20 countries, including the UK in London (14th June) and Edinburgh (15th June), where Microsoft MVPs bring you all you need to know about Windows Server 2012. A Microsoft Windows Server 2012 Community Roadshow event will show you how to Build your private cloud, offer private cloud services, or securely connect to public cloud services. Increase your efficiency, availability, and manageability. Leverage an open application and web platform for the datacenter and the cloud. Provide secure access to your personalized work environment from anywhere. You’ll learn about all the new features in Windows Server 2012 directly from

Creating a fast and fluid Windows 8 app launch experience

AddThis Social Bookmark Button
source: blogs.msdn App launch is a principal part of the fast and fluid Windows 8 experience, so it’s important that you prioritize your app’s launch UX. A highly-polished launch flow is sure to improve the initial reception of any app. In this post, I’ll discuss how to craft a well-designed, responsive app launch experience and explain why app launch is a critical time to make a positive impression on users. I’ll introduce four app launch design patterns that can be applied to your apps and point out some key things to keep
in mind as you continue building Metro style apps. App launch overview If you’ve already read the Managing app lifecycle so your apps feel “always alive” post, you should be familiar with app lifecycle states. This post targets app launch, or the transition between the “not running” and “running” state. .....Read more ...(Read whole news on source site)

Windows 8: Top 10 Reasons why Metro development smokes Windows Desktop development

AddThis Social Bookmark Button
source: Windows 7 had one application scenario – desktop apps. Windows 8 has two application scenarios – desktop and Metro. Metro is the start menu, but also a shell in which app containers execute. Note: Metro developers can build native apps in JavaScript, C#, VB, and C++. They can leverage HTML, XAML, and Direct3D, respectively. They uniformly access system devices and services through the Windows Runtime (WinRT). So, here we go: Metro applications are different. Metro development is different. Desktop development is still present, of course. Desktop development is still powerful, of course. However,
here are my (personal) top 10 reasons why Windows Metro development smokes Windows Desktop development: Reason 1 – Hardware Acceleration Metro applications benefit from hardware acceleration out-of-the-box. Build your application and you get the GPU, free of charge. Moreover, metro developers get a library of animations that are not only tuned and accelerated, but also provide consistent effects across the platform. .....Read more ...(Read whole news on source site)

How to: Dynamic, responsive, best-fit layouts using jQuery Masonry plug-in

AddThis Social Bookmark Button
By Ian Haynes. Sometimes simply floating everything ‘left’ (particularly images) in a responsive page layout isn’t the ideal option. You end up having empty spaces with some screen sizes and awkward looking layouts with others. The Masonry plug-in solves this by laying objects out horizontally and achieving the best fit for the available space, ‘just like a mason fitting stones in a wall’. The plug-in is available at Documentation and demos at Author Bio
Ian Haynes
Microsoft MVP for Expression Web Ian is a front end/back end developer currently focusing on HTML5/CSS3 and mobile responsive design.
A regular poster on the Expression Forums and Gallery.
...(Read whole news on source site)