Umbraco CLI running on ASP.NET Core
TL;DR I’ve got Umbraco (the Core part) running on .NET Core (not just a .NET Core CLI wrapping a non .NET Core Umbraco). See below for a quick video of it working on Ubuntu and simple instructions on...
View ArticleFCN (File Change Notification) Viewer for ASP.NET
div.nuget-badge p code { background: none; background-color: #202020 !important; border: 4px solid silver !important; border-bottom-left-radius: 5px 5px !important; border-bottom-right-radius: 5px 5px...
View ArticleSmidge 2.0 alpha is out
div.nuget-badge p code { background: none; background-color: #202020 !important; border: 4px solid silver !important; border-bottom-left-radius: 5px 5px !important; border-bottom-right-radius: 5px 5px...
View ArticleOWIN Cookie Authentication with variable cookie paths
By default OWIN Cookie Authentication let’s you specify a single configurable cookie path that does not change for the lifetime of the application, for exampleapp.UseCookieAuthentication(new...
View ArticleSmidge + Nuglify bundling, minification and source maps
div.nuget-badge p code { background: none; background-color: #202020 !important; border: 4px solid silver !important; border-bottom-left-radius: 5px 5px !important; border-bottom-right-radius: 5px 5px...
View ArticleUmbraco passwords and ASP.NET Machine Keys
This blog post is the result of a thread on Twitter which starts here: https://twitter.com/crumpled_jeavon/status/880522105795870720 and works its way into confusion. Suffice to say I can’t answer...
View ArticleUsing IExceptionLogger with per-controller IControllerConfiguration in WebApi
There’s plenty of examples online about implementing a custom IExceptionLogger globally in WebApi and I’m sure they all work as expected but what if you don’t want to register it globally? In that case...
View ArticleHow to lazily set the multi-term rewrite method on queries in Lucene
For wildcard queries in Lucene that you would like to have the results ordered by Score, there’s a trick that you need to do otherwise all of your scores will come back the same. The reason for this is...
View ArticleArticulate 3.0.0 has finally arrived
It’s taken me forever to get this release out, mostly due to lack of time, but it’s finally here! Huge thanks to many community members who helped with this release, here’s some shout outs – THANKS!...
View ArticleDeploying to Azure from VSTS using publish profiles and msdeploy
In almost all of the examples online about how to deploy various services to Azure, they always list the super easy way to do it and that is to authenticate your current account to your Azure...
View ArticlePaging with Examine
Paging with Lucene and Examine requires some specific API usage. It's very easy to get wrong by using Linq's Skip/Take methods and when doing this you'll inadvertently end up loading in all search...
View ArticleEasily setup your Umbraco installation with IoC / Dependency Injection
Umbraco supports allowing you to setup and configure any IoC container type that you want to use in your application. For a while now there’s been some sparse documentation on how to achieve this which...
View ArticleEasily lock out Umbraco back office users
Want an easy way to lock out all back office users?Maybe you are performing an upgrade and want to make sure there’s no back office activity?Here’s a handy script to do this using System; using...
View ArticleGetting Umbraco to work with Azure Easy Auth
There’s a nifty feature in your Azure App Service that allows you to very quickly add authentication and authorization to your Azure website. You’ll see most folks calling this “Easy Auth” and there’s...
View ArticleHow I configure my Umbraco Cloud website to support Nuget packages
Disclaimer: This post is about how I have my own website setup. This is based on my own personal opinions and is not meant to be an Umbraco Cloud ‘best practices’ guide. I’ve written this post since it...
View ArticleConfiguring Azure Active Directory login with Umbraco
It’s been a while since I first set this up and back then not all of these settings were in the new Azure portal, but now that they are getting this all configured is quite easy so here’s the basic...
View ArticleConfiguring Azure Active Directory login with Umbraco Members
This post is about configuring Azure Active Directory with Umbraco Members (not Users), meaning this is for your front-end website, not the Umbraco back office. I did write up a post about Azure AD...
View ArticleUmbraco Down Under Festival 2019
I had the pleasure of attending and speaking at this year’s Umbraco Down Under Festival which was fantastic! Thanks to everyone at KØBEN digital for putting on such a nice event as well to all of the...
View ArticleBenchmarking performance of your code between release versions
A while ago in 2016 I posted a question on the BenchmarkDotNet repository about an official way to run benchmarks between Nuget releases. In 2018 I managed to find some time and with the with the help...
View ArticleNeed to remove an auto-routed controller in Umbraco?
Umbraco will auto-route some controllers automatically. These controllers are any MVC SurfaceControllers or WebApi UmbracoApiController types discovered during startup. There might be some cases where...
View Article