Xamarin.Forms: using the PanGestureRecognizer

Recently I’ve blogged about Xamarin.Forms and how to create a XAML Behavior for enabling Multi-Touch gestures to generic elements and implementing a scale / pinch functionality. Fortunately the framework provides three types of recognizer that greatly simplify the implementation: PinchGestureRecognizer allows user interactions for zoom / scale functionalities; PanGestureRecognizer enables pan / translate transformations; TapGestureRecognizer detects tap […]

Having fun with Xamarin.Forms and Multi-Touch Behaviors

Recently Xamarin has released preview support for the Universal Windows Platform in their Xamarin.Forms framework so I have been playing around with version 2.0 for testing its features and verify how easy is to target multiple platforms (iOS, Android, Windows 10 UWP, Windows Phone, Windows 8.1) with a single codebase. One of the experiments I have done […]

TypedMVVM samples for Windows 10 UWP and IoC fixes

A new version of the TypedMVVM samples is now available on CodePlex and contains a basic sample targeting Windows 10 UWP. The repository also contains a fix for the basic IoC container: now the code correctly handles the register<T>() and resolve<T>() functions and populates the internal dictionary of object instances

My friend Lee has […]

NDepend v6 available

Version 6 of NDepend is now available for download from the official site. New features include: enhanced Visual Studio integration; support for Visual Studio 2015; rule files shareable amongst projects; default rules description and HowToFix; default rules less false positives; colored code metric view; intuitive display of code coverage percentage; compiler generated code removal; async support; […]

Cordova Windows Store apps and certificate expired error

I was updating TypedMVVM to the latest Visual Studio 2013 Update 4 and Cordova tools (using the new free Community Edition) and trying to deploy the sample to the Windows 8 emulator when I received the following error APPX0108: The certificate specified has expired As pointed here by Microsoft Open Technologies, the certificate available in the […]

WinJS and TypeScript: binding a ListView itemDataSource to a ViewModel property

I’ve recently been asked on the TypedMVVM forums how to properly bind a ListView data source to a list of items available as a property in the ViewModel. Just create new getters and setters in the ViewModel and initialise the property by creating a new instance of WinJS.Binding.List:

Then reference from HTML the new itemsSource […]

TypedMVVM: Adding a new IoC.Container class for generating instances using generics

In the previous days I was extending my TypedMVVM library with additional classes for separating the logic and being able to use different services for handling operations like showing message dialogs. I’ve then started the implementation of a simple IoC.Container class that will manage in a centralized way the creation of new objects (ViewModels, Services, […]

WinJS – Adding a reference to an existing Universal shared project from your Windows Store / Windows Phone app

In the past days I was trying to reference an existing “Universal Shared” project from a Windows Store app, but it seems like that the “Add Reference” functionality is still not available on Visual Studio for shared projects when using WinJS or generic JavaScript Universal apps. I’ve then verified the default Universal apps template and found that every […]

NDepend v5.0 available

I’ve just received my copy of NDepend v5.0: this new version adds several great features to the product including Support for Visual Studio 2013 (yeah!) New Dashboard Panel Focusing on Recent Rules violation UI Enhancements Trend Monitoring Churning Rules and Queries Report Enhancements Click here to read a detailed description of the new capabilities and access the […]

NDepend v4.1 adds CQLinq killer feature and support for Windows Store apps

I already blogged about NDepend basic features here: I was positively impressed by the capabilities of this tool by fellow MVP Patrick Smacchia. NDepend permits you to examine .NET projects and highlight different metrics in the code in order to better analyse what areas of your solution needs refactoring for improving performance, code maintainability, application […]