I actually attended BUILD. I sat there, bombarded with so much information about Windows 8 and Metro style applications that I just went into my happy place, franticly taking notes on all that I should investigate later on. That very long and almost unreadable list contained, amongst many others, the keywords – contracts and charms. [...]
Working with the Search charm in Windows 8
January 9th, 2012 by Peter von Lochow — .Net
In the async world – no one can hear you scream
December 12th, 2011 by Peter von Lochow — .Net
I wrote my first Windows 8 Metro application right before Øredev 2011. It was a small application that basically just displayed all tracks and speakers at the conference. I had the luxury of having access the raw conference xml data from the server, but one thing that I have learnt from conferences is that the [...]
Azure Blob Storage – a simple example
October 18th, 2011 by Peter von Lochow — .Net, Cloud, Tips & Tricks
This is for all of you that just want a simple, up to date, example/how-to/tutorial of how to use Azure Blob Storage. You won’t see any screen shots or a lengthy guide on how to get started from scratch. Instead I will just focus on writing some code examples for general stuff that you might [...]
Implementing Windows 8 Push Notifications – An Example
October 12th, 2011 by Peter von Lochow — .Net
This blog post will explain how you can (using only the raw .NET Framework) implement push notifications for a Windows 8 Metro Application. Windows Push Notifications (WNS) in Windows 8 is actually quite similar to the model we are used to when working with a Windows Phone 7, so anyone of you that worked with [...]
Create Azure Tables at startup
October 4th, 2011 by Peter von Lochow — .Net, Cloud
You know that thing you need to do before accessing your azure table for the first time? Yes, I’m looking at you CreateTableIfNotExist(string tableName). You need to do this before persisting you first entity or writing you first query. This annoys me. Mostly because I tend to forget about it and then get reminded by [...]
Tags: azure
An example of a testable Azure Table Storage
September 29th, 2011 by Peter von Lochow — .Net, Cloud
Testability and the means to abstract away your persistence layer in Windows Azure – two things that you don’t get for free. But you can get it really cheap, you just need some generics, interfaces. an IoC container and ~10 minutes. While coding for this post I used StructureMap (can be downloaded from NuGet) and [...]
Setting AssemblyVersion number in TeamCity 6.5
September 7th, 2011 by Peter von Lochow — .Net
You know the process where you need to increment the AssemblyVersion for each build? Personally I’ve solved it both using MSBuild and PowerShell as a part of our daily builds. We have also touched on the subject of incrementing version numbers in earlier posts, like: Håkan Reis – Version handling in TeamCity first part Håkan [...]
Running Dropbox as a service on Windows Server 2008
July 12th, 2011 by Peter von Lochow — Tips & Tricks
Why you might ask? A perfectly valid and sane question, let me explain. Right now I’m setting up continuous integration for both an Azure project and an Android project. I’ve covered my struggle with the Azure project in an earlier post. But now it was time to get the Amazon EC2 Windows Server 2008 with [...]
Tags: continuous integration, tips
Chaos Monkey is your friend
May 24th, 2011 by Peter von Lochow — Testing, Tips & Tricks
The chaos monkey, a mythical creature. I had actually never heard of it until I read Jeff Atwood’s post (which is excellent and you should read it). Then I realized that I’ve worked with and fought against chaos monkeys my entire career. Tough love sometimes, but the monkey always pushed the software to become more [...]
Configuring automatic deployment of a Windows Azure application using TeamCity
March 20th, 2011 by Peter von Lochow — .Net, Cloud
There are several reasons for setting up Continuous Integration for any project. The very same reasons (and some more) are true for an Azure project. In this post I’ll take you through the journey that I and a colleague travelled in our quest for a fully automated build-test-deployment solution for our Azure project. Before I [...]
Tags: .Net, azure, continuous integration, TeamCity
Azure Summit Malmö – An Azure day hosted by Jayway
March 7th, 2011 by Peter von Lochow — .Net, Cloud
On Thursday 3 mars Jayway hosted an Azure event at Malmö Högskola. It became a great event with about 60 attendees! Content Dag König, Microsoft, kicked off the day, delivering two great presentations. The first session was Introducing Windows Azure followed by Demonstration of Windows Azure. Together, both of the sessions delivered excellent content for anyone [...]
Tags: .Net, azure, presentation
Making the most out of your WorkerRoles
February 20th, 2011 by Peter von Lochow — .Net, Cloud, Tips & Tricks
When creating your first WorkerRole you probably have a particular task in mind. It could be to generate a report every night or perhaps to send a welcome mail to newly registered users. The problems begins when you have another task that needs a worker, or a third. What you don’t want to do is [...]
Using StructureMap with WCF in Azure
February 17th, 2011 by Peter von Lochow — .Net, Cloud, Tips & Tricks
I currently have the luxury of starting out on a green field Azure project. Naturally you start out with the intention that this will be the project where everything is done right (let’s see how that goes) from start. Besides delivering what the customer wants, for me, done right includes well designed code, well tested [...]
Tags: .Net, azure, development, IoC, WCF
Effective and Infinite storage in the cloud session at TechDays 2010 Sweden
April 6th, 2010 by Magnus Mårtensson and Peter von Lochow — .Net, Architecture, Cloud
The main points of our Effective and Infinite Storage in the Cloud session at TechDays 2010 in Sweden are listed below as well as links to all of our related material and the zip with our demos. The slides are here too but they are in Swedish only. Our session at TechDays 2010 gave an [...]
Tags: sql, sql azure, storage, windows, windows azure
