Chrismckee - chrismckee.co.uk - Chris McKee
General Information:
Latest News:
Dear Umbraco… I Can Haz Content?! 14 Mar 2013 | 03:31 am
Basic mission; code not my own. Create an advert type; consisting of URL and Image. Additional requirement created setting the type of advert (using uComponents) An AdvertContainer (Doc Type) With t...
Lowercase Routes in ASP.net MVC4 6 Mar 2013 | 01:45 am
Back in MVC2 days I wrote a post on setting up a project with lowercase urls / redirecting and a workaround for IIS6. Luckily these days we have MVC4 which is a tad friendlier… to a degree. In the Ro...
ASP.net MVC Compiled Views 28 Feb 2013 | 05:49 pm
Big old pain in the arse when you get a runtime error from a view, more so if its then in the build server; Simple solution though; pop open your UI/Web project (csproj) file in an editor of your cho...
Self Referencing Table Joins in FluentNHibernate 19 Feb 2013 | 06:46 am
A common usage of the self-referencing joins is the use of 1 table for regions and subregions; its also the laziest example that comes to mind. Entity ClassMap Fixture / Persistence Specification ...
Using Umbraco Content Service outside of Umbraco context/control in Umbraco 6 18 Feb 2013 | 02:58 pm
In order to make user of IContentService outside of Umbraco Controllers/Views/etc you’re going to need to expose it. Much in the same way you’d setup NHibernate to create a session factory on applicat...
Magento Export Customers with Address 6 Nov 2011 | 06:13 am
Simple way to export your customers from Magento with their address. In the ADMIN on the menu select System -> Import/Export -> Dataflow Profiles. Select customer on the dropdown then go to the run pr...
Quick Bash script to open up port 80 on Windows 7 17 Oct 2011 | 02:17 am
Bored of forgetting this one; This will open up port 80 on most peoples machines; other things to remember are the default setting on Skype will also use 80. sc stop IISADMIN sc stop W3SVC iisreset /s...
Quick Batch script to open up port 80 on Windows 7 16 Oct 2011 | 10:17 pm
Bored of forgetting this one; This will open up port 80 on most peoples machines; other things to remember are the default setting on Skype will also use 80. sc stop IISADMIN sc stop W3SVC iisreset /s...
Quick Batch script to open up port 80 on Windows 7 16 Oct 2011 | 10:17 pm
Bored of forgetting this one; This will open up port 80 on most peoples machines; other things to remember are the default setting on Skype will also use 80. sc stop IISADMIN sc stop W3SVC iisreset /s...
Creating URL Slugs / Permalinks in C# (csharp) 2 Aug 2010 | 11:01 pm
Bit of a code dump but what the hey it will have to do. In wordpress we have a wonderful set of functions that takes your title and converts it to a URL friendly version in the slug or permalink area....