What's next for Poki and my other apps

In early October I have started the rollout of the new Poki 2 for Windows Phone 8.1. This date also marked the discontinuation of Poki 1 for Windows Phone 8.0. As Poki 2 is rewritten from scratch in WinRT it will also be released for Windows 8.1. Sadly we have seen a lot of delays for the …
read story

Debug the Share Contract in Windows Phone 8.1

When trying to debug code that is called from the Share Contract in Windows Phone 8.1 the debugger just detaches without any warning or error message. This makes it incredibly hard to produce stable code and see how the share data looks like. Thanks to a tip by Scott there is a workaround for this issue: You can attach …
read story

String Indexer for Text Resources in Nancy

In the last post Build a custom Razor ViewBase in Nancy we have built a ViewBase, which allows us to access new public methods and properties in the views. The example used a dictionary containing translations. This was by far not the best use-case example, as Nancy provides built-in support for text resources. By creating a resource (.resx) file and …
read story

Build a custom Razor ViewBase in Nancy

This is a simple example on how to pass model data (in this case an anonymous dynamic) to a Razor view using Nancy modules: public IndexModule() { Get["/"] = _ => { return View["Index", new { Name = "Tobias" }]; }; } You can call this data in the view easily with @Model.Name. This post is about being able to **access common properties and helpers easily** without …
read story

Pause and Resume with the SpeechSynthesizer on Windows Phone 8

The SpeechSynthesizer class on Windows Phone 8 doesn't have the ability to pause and resume a piece of text when created from SpeechSynthesizer.SpeakTextAsync(). The only way to achieve this is by creating SSML (Speech Synthesis Markup Language) - which is specified by the W3C. The SSML specification contains a mark element, which denotes a marker that references a specific …
read story

Add PowerShell to the explorer context menu

Maybe you know this nifty shortcut SHIFT + Right Click on folders to open up the command line with the folders path preset (which is only available in the extended context menu). As a Windows PowerShell user you can create a shortcut for this feature too. Open up the registry editor by pressing WIN + R and typing regedit. Navigate to HKEY_ …
read story

Query meta tags with vanilla JS

The following code demonstrates on how to easily fetch a meta attribute from your HTML. This supports all HTML-compliant meta properties as well as Open Graph properties, whose key starts with og:. If you want to fetch all vendor meta properties (e.g. "twitter:creator"), you can simple replace the following line if( key.split(':')[0] === 'og' ) with …
read story

What’s New in ASP.NET by Scott Hanselman (at //build/)

Scott Hanselman talked about what's new in ASP.NET at the Microsoft developer conference //build/ this week. The talk covers: One ASP.NET - a unified ASP.NET including MVC, Web Forms, Web API or whatever framework you want in it. This is an awesome move by the ASP.NET team, which let's you take the best from all frameworks …
read story