HTML6 Should Have Composeable Elements

Even in a well configured web-app that caches all static content appropriately, the vast majority of sites go back to the server to retrieve the HTML for a page every time. This seems like a flaw to me, as we are continually serving elements in the page that don’t change ...

Implementing XML-RPC services with ASP.NET MVC

I recently needed to expose some functionality using XML-RPC services and looking around the web, the most popular .Net library is www.xml-rpc.net which looks pretty good. However they implement their services using a custom HTTP Handler, and I had really hoped to find one based on ASP.NET MVC.  Why would ...

The Downsides of ASP.NET Session State

ASP.NET session state is an undeniably useful tool for dealing with the statelessness of http. But there are draw backs that many developers may not appreciate. The first issue we'll look at is one that a lot developers don't know about; by default the ASP.NET pipeline will not process requests ...

Building a DIY Spam Filter

If you read my first post, you may remember that I'm writing this blog platform as I go. You may have also noticed that I never got around to implementing a spam filter. After all, who would want to spam little old me? Turns out, quite a few folks! Yes, ...

Getting started with AppHarbor

Unless you've been sleeping under a rock, you would have noticed the new trend toward hosting web-apps on PaaS platforms like Heroku, AppEngine and Force.com - aka "The Cloud". These platforms allow you to deploy your apps to an environment that's somewhere between shared hosting and a VPS (virtual private ...

Avoiding magic strings in ASP.NET MVC Authorize filters

Using the standard [Authorize] filter in ASP.NET MVC results in "magic strings"; comma-separated role names to define which roles are authorised to access that action. Take an example of a typical Forms Authentication setup, where you want to restrict an action to users in either the "Administrator" or "Assistant" role: ...

Using LESS CSS with ASP.NET

As a software developer, using CSS can sometimes be frustrating as it violates the DRY principles, with a typical CSS file containing a lot of duplication. Fortunately there are a suite of frameworks that can help; CSS extension languages that compile down to standard CSS. LESS CSS is one such ...

Hello World!

Hello there! I'm Jono Ward, a South African developer living in South-West London. I'm starting this blog to journal all the interesting things I learn everyday in my job as a software developer. I've decided to build my own blog engine as an excuse to try new technologies. I know ...