Dynamically Localizing a WPF Application at Runtime

Tim Williams Articles, Programming, Tutorial Leave a Comment

Today, almost every facet of life deals with technology. Because of this, there is a necessity for applications to be accessible and usable by all people around the world. This means that software developers write need to provide a tailored experience for the end-users that is easy to use, provides output, and effectively captures user input. One important part of that process is localization, which will be explained later on.

The main focus of this article is to provide a solution for localizing a WPF application at runtime. This allows users of the application to change the culture/language of the UI elements through interactions, such as button clicks or menu items.

.NET Software Development & Consulting Services

Keyhole Software delivers quality, full-stack .NET solutions. As a Gold Microsoft Partner with proven expertise in C#, .NET Framework, .NET Core, and others, we use the right tool for each unique project.

Decoding Mobile Development Options

Decoding Mobile Development Options

Mike Cerny Articles, Development Technologies & Tools, Mobile, React Native, Xamarin 1 Comment

It can be challenging to decide on the right strategy for reaching the mobile audience, though. If you decide an app is what you need, the next question is “what are my options?” In general terms, the types of mobile applications you could choose to build can be divided into three groups: vendor-native, cross-platform, and hybrid web.

In this post, we give an overview of the various mobile development strategies on our shortlist for enterprise clients to consider; for example, Xamarin, Flutter, React Native, and Ionic. For each tool, we give a brief introduction and highlight the key advantages and disadvantages found in implementing each mobile development approach.

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 3 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….