Blog Feed: Web-Matters

Blog Feed: http://web-matters.blogspot.com/

Already a Member? Log In to Your Account

Backgammon with SignalR – Part Three – Client Side SignalR

Published on 2013-05-03 10:26:00

This is the last of a three part series of posts on BackgammonR – an online Backgammon game built with SignalR. If you haven’t read it already, please see Part 1 – Game Engine and Part 2 – Server Side SignalR The first bit of JavaScript to n

Backgammon with SignalR – Part Two – Server Side SignalR

Published on 2013-05-03 10:14:00

This is the second of a three part series of posts on BackgammonR – an online Backgammon game built with SignalR. If you haven’t read it already, please see Part 1 – Game Engine. SignalR actually provides two abstractions above the base techno

Backgammon with SignalR – Part One – Game Engine

Published on 2013-05-03 10:02:00

There’s no doubt who the cool kid on the block is when it comes to the “one ASP.Net” stack – SignalR, a library created to simplify the process of creating responsive applications that push AND receive notifications from the server. It provi

Facebook, Internet Explorer, Anti-Forgery Tokens and Cookies

Published on 2013-03-18 07:49:00

Tricky issue with the above 4 in one app... IE was blocking a session cookie from my ASP.Net MVC web application when hosted in the Facebook IFRAME. The anti-forgery token in ASP.Net (used to protected against spoof form posts known as CSRF attacks

Localised Form Validation in ASP.Net MVC

Published on 2013-03-08 07:18:00

I've recently been working on a web application that required localisation - the display of translated copy depending on which country the user was visiting from. There was a different sub-domain for each country which was used to identify the approp

Working with Stylecop

Published on 2012-09-02 15:41:00

I was recently asked to review the use of Stylecop as part of our standard procedures for ASP.Net projects. I'd not used it before, but was fairly happy to consider doing so as code styling has always been one of my pedantic points when reviewing code (including my own!). Have to admit I was less keen once I'd installed it and found it complaining with around several hundred warnings - on a single, not that complex, and - I'd thought - beautifully coded class library. Having uninstalled it, calm [..]

Codegarden 2012 and Umbraco 5

Published on 2012-06-18 13:00:00

Last week I attended Codegarden – the annual conference for the developers using the open source .Net CMS Umbraco held in Copenhagen. It’s probably fair to say that it’s not a typical technical conference. Rather more beer, bingo and unicyclists dressed as Darth Vadar playing the bagpipes than you might usually find. Those aspects weren’t completely unexpected though. It was our first time at the conference but we’d had prior notice of the Danish take on Monty Python surrealist humo [..]

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 [..]

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 [..]

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 [..]

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

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.

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

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

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

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

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

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

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

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

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

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

© 2006-2013 OnToplist.com, All Rights Reserved