Home
About
  • Test Your Azure Function Http Trigger Authorization Levels

    Dec 17, 2020 Unit test Azure Azure Functions

    If you are using HTTP trigger bindings and are relying on keys to secure them using AuthorizationLevel.Function, you might want a way verify that you haven’t accidentally left one of them exposed as AuthorizationLevel.Anonymous. With a bit of reflection you can accomplish this in a unit test (I’m using the …

    Read More
  • File Globbing in .NET

    Dec 7, 2020 Coding .NET C# Globbing

    If you’ve ever written entries in a .gitignore file, you’ve written a glob. They can be simple, e.g. *.so matching all files with the so file extension, or a more complex, e.g. **/bar/*.cs matching files with the cs extension in folders called bar anywhere in the search path. This is very different to the …

    Read More
  • Blog Rebuild

    Aug 25, 2020 blog hugo azure static web apps

    Like a phoenix from the ashes this blog has been reborn! I thought it might be interesting to talk about the new architecture, as well as the process I went through to migrate it. TL;DR I used: Hugo to build the site Azure Static Web App for hosting CloudFlare to deal with the top level domain redirection A custom …

    Read More
  • Adding Application Insights to an existing Windows Store project using Visual Studio 2013 Update 3

    Aug 7, 2014 Application Insights WinRT Visual Studio

    As of Update 3, Visual Studio 2013 now has support for Application Insights built in, so I thought I’d have a play with it again. Right now, my primary focus is adding instrumentation to a Windows 8 Store app I’m working on. I’d tried to do it with the previous Application Insights release (which was in preview), but …

    Read More
  • Fixing NuGet errors after removing Microsoft.Bcl.Build

    Aug 5, 2014

    I found that a solution of mine was still referencing the Microsoft.Bcl.Build nuget project, and as I was using Visual Studio 2013, I figured it was no longer needed, so I removed it. After doing this, some of the projects refused to compile, reporting the error: This project references NuGet package(s) that are …

    Read More
  • Using DynaCache with SimpleInjector

    Jun 20, 2014

    @Colly_Mc_K asked me on twitter (and in my poorly moderated comments feed – sorry, Colly!) if it was possible to use DynaCache with SimpleInjector. Although I’ve used SimpleInjector a bit before, I hadn’t actually tried it with DynaCache. It turns out that the sample code for Ninject translates fairly well - here’s a …

    Read More
  • Customizing table names for IdentityDbContextWithCustomUser data contexts

    Sep 23, 2013

    I was playing around with Visual Studio 2013 and Entity Framework 6 in an MVC 5 application recently, and was impressed with the level of support that is provided out of the box for oAuth. If you create a new ASP.NET MVC 5 site with the Individual User Accounts authentication option and follow all the instructions on …

    Read More
  • PersistedFullTextIndexes with non-primitive types

    May 27, 2013

    When you construct a PersistedFullTextIndex with a primitive type, such as int, you just need to define it like this: 1var index = new PersistedFullTextIndex<int>(filePath); However if you try to do this with something more complicated, such as a class or even just a Guid, you’ll get an exception like this: …

    Read More
  • Using DynaCache with Unity

    May 18, 2013

    I’ve had a couple of people ask for concrete examples of using DynaCache with frameworks other than Ninject. The first one that I’ve put together is for Unity. You’ll find the Unity example in the DynaCache documentation here.

    Read More
  • StoryboardCompletedTrigger and SetPropertyAction

    Mar 21, 2013

    I’ve spent a couple of hours on WinRTTriggers tonight and added a couple of features that have been requested recently, StoryboardCompletedTrigger and SetPropertyAction. StoryboardCompletedTrigger This trigger allows to to fire an action when a storyboard completes – you can use it like this: …

    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    •  … 
    • 6
    • »
    • »»

Mike Goatly

Like a code monkey, but more goat-like. A code goat, if you like.
Microsoft Certified DevOps Engineer Expert Microsoft Certified Azure Developer Associate
Read More

Featured Posts

Recent Posts

  • Test Your Azure Function Http Trigger Authorization Levels
  • File Globbing in .NET
  • Blog Rebuild
  • Adding Application Insights to an existing Windows Store project using Visual Studio 2013 Update 3
  • Fixing NuGet errors after removing Microsoft.Bcl.Build
  • Using DynaCache with SimpleInjector
  • Customizing table names for IdentityDbContextWithCustomUser data contexts
  • PersistedFullTextIndexes with non-primitive types

categories

CODING 2 BLOG 1

tags

AZURE 2 .NET 1 APPLICATION-INSIGHTS 1 AZURE-FUNCTIONS 1 BLOG 1 C# 1 CODING 1 GLOBBING 1 HUGO 1 INDEX 1 STATIC-WEB-APPS 1 UNIT-TEST 1 VISUAL-STUDIO 1 WINRT 1

Copyright ©  Mike Goatly. All Rights Reserved