Windows Phone 8 SDK

Windows Phone 8 was officially released yesterday the 29th and yet the Windows Phone 8 SDK is still not available… Aaargh…. Rumours say that the SDK will be released today at Build 2012 – lets see if they can finally give us all the tools we need! Channel 9 will be streaming sessions at http://channel9.msdn.com/Events/Build/2012 and the keynote, which is usually where all the major announcements are made, is scheduled for 9:00 which translates to 17:00 here in Europe […] Read more »

Wrestling with WIX UI and Properties

I have been trying to get a WIX installer behaving the way I want it to for a couple of days, unfortunately I am not an MSI expert and have had a hard time understanding why things done work as I want. The installer is for an upgrade of a license key and copy protection product that I have created. Using Netsparkle the product gets automatically updated when a new version is available. I also […] Read more »

Eazfuscator no longer free

Copyright Aussiegall / Flickr http://www.flickr.com/photos/aussiegall/

Unfortunately I have just found out that my favorite (free) obfuscator and library packager Eazfuscator has stopped offering a free version. Not only that but the license for the paid version is $399 for the first year and then $149 per year after that for each developer. While I am sure that Oleksiy Gapotchenko and his team are going to make some money on this they are also alienating a large portion of their potential buyers […] Read more »

Automatically Resolving Secondary Assembly References With MSBuild and TFS Build

There is a known issue/feature with MSBuild which also affects TFS build, since it uses MSBuild to compile, where secondary assembly references are not identified and added to csc and vbc tasks. The exact details are explained here, on MSDN and Stackoverflow with various workarounds and on Microsoft Connect. Visual Studio handles the issues automatically by referencing any secondary references that are required, so you don’t see the problem in Visual Studio but may get compile […] Read more »

No joy – WP7 emulator in Parallels 7

For a couple of years I have been running my development environments completely virtualized – there are many benefits in being able to quickly change operating systems and toolsets for working in different environments. With advancements in virtualization technology my original gripes with running things virtualized have more or less entirely disappeared. Unfortunately my virtualization environment of choice Parallels 7 on OSX has failed me terribly, I blame Microsoft too for forcing me to use […] Read more »

Speaking at SweNug

SweNug

Tonight I will be speaking at SweNug, this is an introduction to Scrum and XP and will be based on the courses I have held for Addskills on doing Scrum in practice. I am looking forward to hearing what some of the members of SweNug think about Scrum, XP and agile in general; is it generally accepted everywhere or is it just the Agilist bubble I live in where everyone talks about Scrum, XP and […] Read more »

Generic repository interface for entity framework 4

Huy Nguyen has a great write up on implementing a generic repository interface that supports Entity Framework 4. His code is written in C# and today I had to rewrite it in VB.Net. The VB.Net version looks like this Public Interface IRepository Inherits IDisposable Function GetQuery(Of TEntity As Class)As IQueryable(Of TEntity) Function GetAll(Of TEntity As Class)() As IEnumerable(Of TEntity) Function Find(Of TEntity As Class)(predicate As Expression(Of Func(Of TEntity, Boolean))) As IEnumerable(Of TEntity) Function [Single](Of TEntity […] Read more »

ASP.NET DropDownList always fires SelectedIndexChanged

DropDownList

After a couple of days trying to get to grips with a misbehaving custom compositecontrol I finally located the issue to a feature/bug in the framework implementation of DropDownList and ListControls in general. There is an issue logged on Microsoft Connect but it has been closed as “by-design”. I don’t think that this behavior really is by-design but there are two contradicting features interacting with each other leaving Microsoft with no other choice but to […] Read more »

Break-down of javascript mobile frameworks for phonegap development

Physical Notifications by Johan Larsson, on Flickr

I am experimenting with PhoneGap for a couple of projects that I am currently working on. PhoneGap is a native mobile app packager which basically converts a html5/js based site into an app that will run on mobile phones and can be distributed via app store/market. Since PhoneGap merely leverages existing support for html5 and javscript in the mobile phone you have pretty much the same issues as when developing a regular mobile enabled web […] Read more »

Don’t Base64 encode things that users should enter

Base64 encoding is great for converting binary data into a string representation which can be transported over text based protocols like soap or json. Unfortunately Base64 uses a character set which is difficult for humans to interpret so for any data that needs to be human interpretable, like binary representations added to urls, base64 can be a real problem. Douglas Crockford solved this issue years ago with his special Base32 encoding scheme which uses a […] Read more »