DANIEL VAUGHAN

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


Creating a Toc Addin for Markdown Monster

17 Jul 2017

I’ve been using Markdown Monster for a few days and I’m smitten. It’s a great tool. It was created by none other than Rick Strahl. Rick has been contributing to the developer community for many years. I recall reading Rick’s blog more than a decade a go. The guy’s a legend. Anyhow, today I was finishing up a large markdown document, when I decided it really needed a table of contents. Now, I’m fairly new...

Read more