My goal with this is to have a way to send messages from running tasks to me (and other admins) using a broadcast method … aswell as have some fun playing with SignalR which looks really cool . Just by adding the SignalR dll and js files and some minimal code you’ll get started with […]
Read moreSeparating html and logic in Razor (WebPages or Umbraco macroscript)
Mixing logic and html can easily end up with messy, hard-to-maintain code. In MVC it’s easy to separate the parts with the controller / view-separation. But how to do it nicely in WebPages or in an Umbraco macroscript? Ultimately I want my Razor to be free from variable assignments other than for loop iterators function […]
Read moreA nice deploy approach : Umbraco 5 alpha at AppHarbor [experimental]
AppHarbor is an interesting service that can deploy and host an Asp.Net application really easy. They use the slogan “Azure done right”. I’m still in an experimental mode with it. But it passed my “if I cannot get this going in less than 1 hour I’ll skip it”- test easily. Azure didn’t. The pricing is […]
Read moreA Razor application within an Umbraco site (notes from a current project)
We’re in the middle of re-developing a web application that previously was made as an asp.net Webforms app. The current requirements is to integrate the application into an Umbraco 4.7 site, to use a new design (delivered as a html, CSS & js prototype) as well as to change some of the underlying database workings. […]
Read moreFrån noll till en komplett webbplats med Umbraco CMS på mindre än en timme
Umbraco är ett gratis opensource-CMS byggt på Microsofts ASP.NET ramverk. Det är byggt för att vara lätt att förstå och använda, samt enkelt att bygga ut. Det är ett av de 3 mest populära nedladdade programvarupaketen i Microsofts Web Platform Installer och det används över hela världen för i stort sett alla typer av webbplatser. […]
Read moreCoding my own automated web site monitoring with Google Apps Script and a Spreadsheet
There are a great deal of good Web site monitoring and testing services out there. I’ve tested a few of them, but I needed two things I did not find (yet). 1) Good programmability and 2) Familiar presentation of the result in a Spreadsheet manner. First I thought I could to create some scripts on […]
Read moreSending emails with a mailing list provider (Umbraco, Razor and Mad Mimi)
I wanted to use a mailing list provider for some programmatically composed emails like account confirmations and welcome messages. My needs is pretty basic, a layout with a banner, a header and a html body text. To be sent to whoever, whenever. Besides of some familiar provider names, I recently heard about a service called […]
Read moreFrom zero to a live installation of Umbraco in 30 minutes (for beginners)
“Umbraco is a free, open-source web cms built on the Microsoft ASP.NET Framework. It is easy to use, simple to understand, and is highly extensible using industry-standard languages and patterns such as HTML, CSS, jQuery, and C#.” Using the new, and also free, web development tool WebMatrix from Microsoft it’s now easier than ever to […]
Read moreAjax-enabled search in Umbraco (using Examine and Razor)
I am about to implement an ajax-enabled search for an Umbraco site. Writing the prototype was quick (and fun) so I thought I’d share it. Here goes: To make it work I have this search macro (run from my search page template): Search.cshtml: Note that the script is using jQuery, which you will need to […]
Read moreBetter structure for your Umbraco Razor scripts with RenderPage and Global helpers
Together with Razor in Umbraco 4.7 comes a bunch of useful things that’s included in the WebPages assemblies. RenderPage is one of those things. It’s simply rendering another Razor script at the call: The other script runs in the same page and umbraco macro context which means it has access to Model as well as […]
Read more
November 21, 2011 