Windows 10 Development: Getting Started with the MVVM Light Toolkit

In the next few posts we’ll dive into the basics of using the MVVM Light Toolkit with Windows 10 to build a simple project two-page with the MVVM design pattern. Today we’ll show how to setup the toolkit in a Windows 10 project, and some of the basic components you’ll need to define to follow the MVVM pattern.

Read more at the Falafel Software Blogs: Using MVVM Light Toolkit with Windows 10: Getting Started

Windows 10 Development: Upgrading from Preview SDK to Release

Before diving into the main parts of our series, there may be some of you (like me!) that were already building apps with the preview SDK for Windows 10. If you attempt to open a preview solution with the final version of the SDK installed, you will very likely have issues (as I did!). In this quick bonus post, I’ll cover just a few of the issues I had to fix to get my project updated and running with the latest releases of both Windows 10 and Visual Studio 2015.

Note that your mileage may vary as every project is different, but this is what worked for me, and hopefully it can help others facing similar issues.

Read more at the Falafel Software Blogs: Windows 10 Development: Upgrading from Preview SDK to Release

Developing for Windows 10: Introduction and Getting Started

Today is a big day in the history of Microsoft; the long-awaited Windows 10 release is finally here, bringing a whole new level of interactivity, security, productivity and entertainment. And with it comes a whole a whole new App Development model designed to unify and enhance the developer (and ultimately the user) experience.

As an avid fan of everything Microsoft, I’m excited to start this new journey, and in addition to sharing my enthusiasm for the platform, I thought I would go a step further and share my developer experience.

Read more on the Falafel Software Blog: Hello, Windows 10: Getting Started Developing

Crop, Blend (Watermark) Photos on Windows Phone 8.1 with the Lumia Imaging SDK

I recently needed the ability to combine two images on Windows Phone 8.1 (WinRT not Silverlight) so that one overlays the other, like a watermark. Because the watermark image was a fixed size and dimension, we also needed to make sure that the photo being merged shared the same aspect ratio (in this case a square).

Although I found many examples for cropping and blending in Silverlight, Windows 8.1, and Win32 (GDI+), none of them apply to Windows Phone 8.1 as it omits many of the required libraries and references.

One solution often suggested is to use XAML to layer the images on top of each other, and although this works visually, it doesn’t help if you actually need a merged photo, such as for upload to a service like Facebook or Instagram.

Fortunately in the end, I was able to leverage the Lumia Imaging SDK to perform both the cropping and the blending of the two images, and in this post we’ll look at some of the code that makes this happen. In addition, I’ve created a sample project that demonstrates the operations, available for download to anyone who might need it.

Read more at the Falafel Software Blog: Crop, Blend (Watermark) Photos on Windows Phone 8.1 with the Lumia Imaging SDK

Movies With for Windows Phone, Featuring Support for Cortana!

Download from Windows Store

Just released to the Windows Phone store from Falafel Software, Movies With is an app for searching and discovering movies featuring your favorite actors. Saw a movie with a new actor you really enjoyed? Use Movies With to find more movies they’ve done! You can even ask Cortana for help, just say “Movies With” followed by your favorite actor, director, composer or more and she’ll launch you right into the app to find more.

Read more at the Falafel Software Blog: Movies With for Windows Phone, Featuring Support for Cortana!

Windows Phone and MVVM Light: NavigationService and CanGoBack

MVVM Light is a simple yet powerful framework for developing apps, and with the latest version 5 includes a new cross-platform NavigationService to aid in abstracting the navigation component of your apps.

However, looking at the implementation of the INavigationService interface, there is no property available to support the idea of CanGoBack, which is important for devices like Windows Phone that include a back button.

Read more at the Falafel Software Blog: Windows Phone and MVVM Light: NavigationService and CanGoBack

Kendo UI: Creating an Dynamic Input Form from an External JSON ViewModel

One of my favorite features of Kendo UI is its support for MVVM through the kendo.observable object. Creating an observable ViewModel allows you to declaratively and intuitively bind data using the “data-bind” attribute, with virtually no code.

Using this method, you can even generate a form on the fly, specifying not only different field types, but even different attributes such as “required” and setting a CSS class to highlight specific fields. This is what we’ll look at today.

Read more at the Falafel Software Blog: Kendo UI: Creating an Dynamic Input Form from an External JSON ViewModel

Dead Simple ASP.NET MVC Authentication

You may already know that, due to its lightweight architecture, ASP.NET MVC makes it simple to get a website up and running. But another advantage to such a manageable framework is how simple it is to implement any necessary component with just the bare minimum functionality.

One such requirement is the need to enforce Forms Authentication for your website. When creating a simple prototype, you’re probably not concerned with the specifics of the user security, implementation, but you probably do want to demonstrate it!

Read more at the Falafel Software Blog: Dead Simple ASP.NET MVC Authentication