Using C#, XAML + Uno Platform to Build One Codebase, Cross-Platform Apps

Rukesh Shrestha Articles, C#, Development Technologies & Tools, Mobile 1 Comment

For more than a decade, we have been developing applications with C# and XAML. Throughout that time, the pair has really only been known for Desktop (WPF) and UWP applications.

Later came Xamarin, which utilizes C# as a unified language to share between all platforms. Then Xamarin.Forms was introduced, which was different in that it utilized XAML to develop the user interface with a single codebase for cross-platform (iOS, Android, UWP).

This progression has excited all the WPF developers out there. The only remaining platform left was web development. At one time, Silverlight was the option, but it was deprecated because of heavy loading and security concerns of browser plug-in solutions.

Then came the WebAssembly [also known as Web Assembly Modules (WASM)] that web browsers can directly execute without having to parse a source file.

In this post, we will discuss how to create a rich user browser interface using the cross-platform Uno Platform and WebAssembly technology. The example application will walk through building Models, ViewModel and View under a shared project that is common to all different platform-specific projects.

Getting Started with Xamarin Forms and Prism

Ryan Nguyen .NET, Articles, Development Technologies & Tools, Mobile, Xamarin 2 Comments

In this blog, I’ll show you how easy it is to create an Android and iOS application using Xamarin Forms while utilizing Prism.

What are Xamarin Forms?
Xamarin Forms is a platform that allows developers to create native Android, iOS, and Windows applications while using the beloved C# programming language. 

An attractive feature of Xamarin Forms is that it uses a shared C# codebase to create a native user interface specific to their platform. Out of the box, Xamarin provides large collections of controls to get started. It also has the ability to access native platform features, such as camera access, GPS, text to speech, etc, by using the Dependency Service.

What is Prism?
According to the Prism website, Prism is defined as “a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Windows 10 UWP, and Xamarin Forms. Prism provides an implementation of a collection of design patterns that are helpful in writing well-structured and maintainable XAML applications, including MVVM, dependency injection, commands, EventAggregator, and others.” In other words, Prism helps users to write better code….