Implementing F# inspired Result in C#

Here's a F# inspired Result type implemented in C#: public class Error { public Error(string error) => Value = error; public string Value { get; } } public class Result<T> { readonly string _error; public Result(Error error) => _error = error.Value; public Result(T value) => Value = value; public bool IsSuccessful { get => _error …

Implementing Azure SignalR

Client - Configuring Connection Data Here's the URL and target id that the client uses for messaging using SignalR: Client - Establishing Connection Here's the client's SignalR service implementation: The ConnectAsync method above registers the identifier that the SignalR Hub (on the server) will route messages to. In this case, the identifier is the courier …

Azure Monitor – Query Logs

Logs Navigation 1. Select the Azure Functions app 2. Under Configured Features, select Application Insights 3. Select "Logs" from the Navigation bar Logs Query The following query attempts to pull 10 'Trace' records that contain the word "location" with a severity-level of "1", and sorts them in descending order: