Validate input in Xamarin.Forms using INotifyDataErrorInfo, custom Behaviors, Effects and Prism

This post is also available in the Premier Developer blog. I have recently been investigating the support available in Xamarin.Forms for validation and, in particular, researched the possibility of using INotifyDataErrorInfo to complement the traditional approach of using Behaviors. In simple scenarios, it’s possible to perform validation by simply attaching a Behavior to the required […]

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 […]

TypedMVVM and WinJS: Binding event handlers in a ListView ItemTemplate

I have recently received a request in the TypedMVVM forums about binding event handlers to a specific WinJS ListView item template. I’ve then decided to improve the current samples available in the repository by adding some basic commands, using the RelayCommand<T> class, that can be fired by pressing a button associated to each item of the […]

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 […]

TypedMVVM: Samples updated for Apache Cordova

I’ve recently installed the Multi-Device Hybrid Apps template on Visual Studio in order to try out the development of native mobile applications (targeting Android, iOS, Windows Store and Windows Phone) using HTML, CSS and JavaScript using the Apache Cordova framework. As a first example, I decided to reuse all the TypeScript code available in my library […]

Microsoft Patterns & Practices: Prism for the Windows Runtime – My favourite resources

As you may know, the Microsoft Patterns & Practices team has recently released the final version of  “Prism for Windows Runtime“, available for download here on CodePlex. This project contains a complete guidance for building Windows Store apps using C# and XAML and includes the following resources: AdventureWorks Shopper Reference Implementation (RI): a complete sample built […]

Silverlight 4, MEF and MVVM: EventAggregator, ImportingConstructor and Unit Tests

I had recently the possibility to use MEF and Silverlight in a sample project together with Prism, this is for sure a great combination of frameworks for bulding applications using maintainable and extensible code. I don’t think that using MEF excludes the usage of Prism and vice versa,  the choice should be pondered and analyzed […]

Experiments using MEF, MVVM and Silverlight 4 Beta – Part 6: Design-mode ViewModel and calling a WCF Service

Note – this is a multi part post: First experiments using MEF, MVVM and Silverlight 4 Beta Part 2: Custom attributes Part 3: Part Creator and Creation Policy Part 4: Part Creator Part 5: Enabling Blend and the Visual Studio designer Part 6: Design-mode ViewModel and calling a WCF Service Today I had the opportunity […]

Experiments using MEF, MVVM and Silverlight 4 Beta – Part 5: Enabling Blend and the Visual Studio designer

Note – this is a multi part post: First experiments using MEF, MVVM and Silverlight 4 Beta Part 2: Custom attributes Part 3: Part Creator and Creation Policy Part 4: Part Creator Part 5: Enabling Blend and the Visual Studio designer Part 6: Design-mode ViewModel and calling a WCF Service In the last post I’ve […]