| Home | My Account | Directories |
An Entity Framework Stale Data Gotcha
Published on 2012-05-23 03:00:00
For ASP.Net MVC development I've been working for a while with a setup using Entity Framework Code First and Castle Windsor for providing IoC container services. I recently ran into a weird bug that may be obvious to some... but given I wasted an hour or so working it out figured it was worth a blog post. The issue was that for a certain operation I was getting stale data out of Entity Framework. With the help of the very useful Entity Framework Profiler which was reporting an ObjectContext be [..] > read more
Umbraco 5 Surface Controller
Published on 2011-12-21 15:12:00
In a recent post I blogged my first steps in creating plugins for Umbraco 5 - creating a tree and editor using a custom hive provider for a third party database, in order to present and edit information within the Umbraco back office.I noted how the information could also be made available on the front-end of the site by writing code within the razor view template. Whilst that worked, it wasn't very satisfactory and certainly wasn't the MVC way with too much code and logic in the view.Since the [..] > read more
Creating an Umbraco 5 Hive Provider with Custom Tree and Editor Plugin
Published on 2011-11-21 17:00:00
Having used Umbraco CMS on a couple of projects in the past and been very impressed with it, I’ve been keen to follow progress on version 5 (or “Jupiter”) – a rewrite of the code-base to use ASP.Net MVC. In particular I’ve been looking recently at some of the extension points of the platform.One of these is building upon the data access abstraction layer that is being developed for Umbraco 5 – known as Hive. Umbraco itself will use NHibernate for data access, but via the Hive abstr [..] > read more
Upgrade ASP.Net MVC2 to MVC3
Published on 2011-06-21 16:00:00
Having recently upgraded a couple of ASP.Net MVC 2 projects to MVC 3, I came across a couple of tools and techniques to simplify the process.ASP.Net MVC3 requires .Net 4 and hence use of VS.Net 2010 (or express editions) are required. There's also a > read more
Script Junkie Article on Progressive Enhancement and ASP.Net MVC
Published on 2010-10-27 17:37:00
Linking to an article I've had published on Script Junkie: Ajax, ASP.Net MVC and Progressive Enhancement. > read more
Validation with ASP.Net MVC2
Published on 2010-10-16 06:31:00
I've blogged previously about the validation methods I've used on ASP.Net MVC projects and have recently been adapting this for use with version 2 of the framework.One of the new features I wanted to make available was the use of data annotations for > read more
iPhone Custom UIView with Controls
Published on 2010-10-02 11:44:00
Armed with a copy of the Pragmatic Programmer's book and a lot of Googling, have made a start recently on developing apps for the iPhone. Took a while to find my way around XCode, Interface Builder and to get to thinking again about things like memo > read more
jquery - the trigger method
Published on 2010-07-21 17:31:00
Having recently had to work on a client website where jquery wasn't available, it was really apparent just how useful this library is and how pleasureable it makes working with JavaScript. Having to resort back to getElementById and getElementsByCla > read more
Progressive Enhancement with ASP.Net MVC
Published on 2010-04-18 09:09:00
With its clean model for separation of concerns, one of the things I’ve been impressed by in use of MVC with ASP.Net is the support for building AJAX enabled applications that support progressive enhancement.This technique takes the traditional str > read more
To View Model or not to View Model?
Published on 2010-04-15 17:46:36
Up to now in developing web applications using ASP.Net MVC I've eschewed the use of View Models and have simply passed my Domain Model objects into views, along with supplementary information as needed in the ViewData Dictionary. This technique allo > read more
View Models and Form Models in ASP.Net MVC - A Second Look
Published on 2010-04-15 16:59:00
Following my previous post looking at options on the use of view models within ASP.Net MVC, where I came down on the side of using a simpler approach passing domain models to views directly, in this blog post I'll outline the approach I'm taking with > read more
Working on an Umbraco Project with Multiple Developers
Published on 2010-03-14 12:54:00
Over the past couple of months I've been working with the open source .Net CMS Umbraco, and been very impressed with the breadth of features and opportunities for extension and customisation that it provides. Operating as a one man band, it's very s > read more
Switched on Umbraco
Published on 2010-03-08 16:32:00
Although for reasons I won't go into it looks like there's a good chance the project isn't going to see the light of day, I've been fortunate in the past couple of months to have chance to properly get to grips with the .Net open-source content manag > read more
3D Secure Implementation With PayPal
Published on 2010-01-24 12:22:00
In a recent blog post I documented some details for setting up direct payments with PayPal. I've recently had to extend that to implement 3D secure - known also as Verified by Visa or Mastercard SecureCode.The primary reason I've needed to implement > read more
Search Engine Optimization Toolkit
Published on 2010-01-04 16:51:00
I recently downloaded and installed the Microsoft Search Engine Optimisation Toolkit, having been alerted to it via a blog post from Scott Guthrie. To install you need to have IIS7 administration tools on your PC - which seems a little odd as you ca > read more