SignalR Client using Microsoft.AspNetCore.SignalR.Client; using static OrderRequest.Core; namespace SignalR.Support { public enum Connection { IsDisconnected, IsConnecting, IsConnected, } public class ClientSignalR { static ClientSignalR _clientSignalR; public static ClientSignalR Instance { get { if (_clientSignalR == null) { _clientSignalR = new ClientSignalR(); } return _clientSignalR; } } private ClientSignalR() { } public event Action<object> OnMessageReceived; HubConnection …
Xamarin: Building a Real-time Listener for an Azure Topic
Recently, I had to implement an Azure Topic subscription within my Xamarin app. AzureTopicListener The code below is what I built to get my Xamarin app to subscribe to Azure topic that relies on a filter rule: Test Here's a test that I wrote:
Azure Functions with Azure Service Bus
Intro Azure Functions can be executed via an Azure Service Bus trigger. In this post I provide an example for how I was able to publish a message to a queue as well as a topic. AppConfig An app config file is great for hosting connection strings as well as other key/value pairs. Here’s an …
Xamarin.Forms: Ratings Interface
I recently implemented a Ratings user interface for a Xamarin.Forms app: Here's the XAML for the Rate interface: Here's the ValueConverter implementation: Here's the viewmodel property and command:
F#: Implementing a Countdown Timer
I wrote the following F# code to implement a countdown timer: Here's the UI that reflects the countdown timer:
Talking to John (A) De Goes
Discussing Functional Programming:
Building Mobile Apps with F# and Domain Driven Design
The video I provided below discusses an app that I'm building in which I harness Domain Driven Design with F#.
Feature Toggles: Client
Intro I'm totally in love with the concept of feature toggles. To make a long story short, a Feature Toggle is a strategy used for managing continuous delivery. Thus, it's an alternative to branching features which can also be slow and error prone. Domain Model I declared the interface for requesting a feature. Declaring these …