DANIEL VAUGHAN

Understanding Default Type Mapping with Codon FX

25 Mar 2018

Codon FX is a cross-platform framework for building maintainable applications. I use it for all of my .NET based applications. Codon is built on .NET Standard and uses platform specific assemblies to support various platforms such as Xamarin Android, iOS, WPF, and UWP. It’s a zero-configuration framework. By that I mean that it doesn’t require bootstrapping; services used internally and in user code are resolved automatically, despite being potentially located in platform specific assemblies. The...

Read more


User Authentication in UWP Apps that Speak to Azure Functions

20 Mar 2018

Table of Contents Introduction Reserving an App Name Associating a UWP App with the Microsoft Store Marrying a UWP App with an Azure Function Application Declaring a Custom Protocol Using the Azure Mobile Services Client Creating a MobileClientService Detecting an Expired Token Receiving Notification that Authentication has Completed Calling Azure Functions with a MobileServiceClient Retrieving Security Credentials in the Cloud Conclusion Introduction I’ve been working on an Azure application that makes use of Azure Functions....

Read more


Invisible Ink

25 Aug 2017

Hide text in plain sight using this hidden text encoder. Invisible Ink encodes plain ASCII text as unicode space characters. It enables you to embed space-encoded text in plain sight within a document. You can watermark a document or code file, or transmit hidden information within the subject line of an email. Read the full article on CodeProject Download from the Windows Store (Requires Windows 10 Creators Update) Go to the GitHub Repository

Read more


Regex for Single-Line Property Accessors to Expression Bodied Functions

01 Aug 2017

Since C# 6.0 arrived, expression bodied functions have made for more concise properties; turning this: string foo; public string Foo { get { return foo; } set { foo = value; } } into this: string foo; public string Foo { get => foo; set => foo = value; } Resharper has a nice feature that lets you convert property accessors to expression bodied function across your project or solution. But if you do not...

Read more


Creating a Figure Auto-Number Addin for Markdown Monster

18 Jul 2017

Today I was faced with manually updating all the figure numbers in a large markdown document. Given that Markdown Monster has a terrific extensibility model, I couldn’t resist building another addin to automate the updating of the figure numbers. I did, however, get a little carried away and extended my addin to support not only figures, but tables and code listings. **Listing 0.** Some method1 for (var i = 0; i < 10; i++) {...

Read more