Post to Slack when Umbraco content is published

Slack is very of the moment isn’t it? Thanks to damianwalsh we were early adopters at Moriyama and use it as our main internal communication tool. One of the joys of Slack is just how easy it is to add your own integration. Here is ours that shows you how to post to a slack channel when an Umbraco document is published. Note: You’ll need the wonderful RestSharp library from nuget. using RestSharp;   void ContentServicePublished(IPublishingStrategy sender, PublishEventArgs e) {   foreach (var ... Read More »

This post has 2 comments.

YSOD when Umbraco package manifest doesn't validate

I've put together an Umbraco application startup handler over on github that makes Umbraco throw an exception if any package manifest files aren't valid JSON or reference non existent files. Why? Building custom property editors using JavaScript and HTML allows developers without .NET specifc tooling or knowledge to start customising Umbraco (which is great). But the flipside of this - is that it can be little daunting for .NET developers who are learning Javascript and Angular to also pick up ... Read More »

Umbraco Contour as an AdHoc database with CSV export

We love Umbraco Contour at Moriyama, the power that it gives editors to create and quickly roll out forms. Sometimes though it isn’t quite the right fit. From time to time we want to roll out a form that isn’t editable by users, that has a complex integration that doesn’t merit the creation of contour custom field type or workflow. Also, sometimes our client side guys can’t quite live with the GUID input field identifiers and inline JavaScript that contour can somehow generate. It is easy ... Read More »

Typed access to Umbraco Marco parameters in Partial Views

In an Umbraco PartialViewMacroPage any Macro parameters are typed as: IDictionary<string, object> This makes for some rather messy code when trying to retrieve these parameters. Consider a Partial View Macro that takes two parameters: Date - any date Days - a number of days to subtract from the date The purpose of this Macro is going to be to output the following using Razor: @days days before @date.ToString("dd MMM") ago it was ... Read More »

This post has 1 comment.

Recruitment isn't easy

Recruitment isn’t easy. We’ve got a world class team at Moriyama, but it took a lot of effort to assemble. Needing to expand again and fearing the pain of the whole recruitment process we floated around a few ideas about how to make our lives easier this time. So what is painful about recruitment? Recruitments agents First of all, recruitment agents. We don’t use them, but they call us anyway. They use tricks to get around our reception. They waste our time. I think agents are a good idea for ... Read More »

This post has 7 comments.

Azure presentation video and 24 days in Umbraco post

Just a quick post to point you at a couple of my latest activities in the Umbraco communiity: In November I spoke at the Umbraco UK festival on the subject: Umbraco and the 3 flavours of Azure: Webroles, VMs, Websites. The video of the talk is now online to watch. Secondly I've contributed an article to 24 days in Umbraco the fabulous advent calendar for Umbraco enthusiasts. The article is called Mapping Umbraco content to POCOs for strongly typed views.  In the absence of regular blogging we ... Read More »

My three circles of Web CMS Nirvana

This post is highly subjective. My web CMS architecture separates into 3 circles, Content Management Deployment and Runtime. The three should be able to operate entirely independently of one another though in an ideal world the Runtime and Content Management may co-exist, for preview of content in the CMS authoring environment. Content Management Take the first circle – content management. It should perform the following roles. Authentication and Authorisation (Login to the CMS, control ... Read More »

This post has 1 comment.

Automate Umbraco database creation to quick launch Belle

Many thanks to Morten aka @sitereactor for the code snippet that makes this work. At Moriyama, we are a fan of automating the boring stuff so we can spend as much time as possible doing the interesting stuff such as testing Belle (Umbraco 7). We decided to automate Belle installation, so we can set up environments really quickly. Our weapon of choice for automation is NAnt, a .NET build tool which is ideal for automating tasks like downloading files, extracting zip files etc. We set about ... Read More »

This post has 5 comments.

Turn off funny Internet Explorer messages on Windows Server 2008

Have you ever logged into a Windows server and seen that a dev has installed Chrome or Firefox to get rid of "funny Internet Explorer warning messages"? Yes, well me too. But you can turn these warnings off in a few clicks. Right click "My Computer" Choose Manage In the resulting dialogue click Configure IE ESC (on the right side of the window in the "Security information" section You'll get the following dialogue:  From here, it is simple to turn off the messages which are actually ... Read More »

Introducing UDiff comparison and diff tool for Umbraco

Moriyama UDiff allows you to compare an Umbraco webroot to an Umbraco release zip and extract the differences. Watch a demonstration by clicking the image below: UDiff can be used for the following purposes: Scheduled task on a production server to backup changes on a regular interval Extract customisations from an Umbraco site that you have inherited (that isn't currently version controlled) A post build event in your visual solution to copy changes to a source controlled directory ... Read More »