Nick Riggs, Web Developer

Making stuff up about web development since last week.

28 January 2012

Subscribe to our RSS feed

Building Cross-Platform Apps Using jQuery Mobile

Posted in JavaScript, Mobile April 21, 2011

jQuery Mobile introduces a cross-platform and cross-device framework for developing mobile applications. It supports a wide variety of mobile browsers and delivers a unified user interface to the devices. It has simplified working with mobile browsers by abstracting away inconsistences between the vendors. Just as jQuery changed the way we wrote JavaScript, jQuery Mobile will change the way we build mobile web applications

ASP.NET MVC 3 Data Annotations Provide Property-Level Contingent Validation

Posted in ASP.NET, Foolproof October 20, 2010

MVC 3 gives us the ability to create model-aware validation attributes. What does this mean for Foolproof Validation

Expose your Existing ASP.NET MVC Actions as JSON/XML API Endpoints

Posted in API Action Filter, ASP.NET August 13, 2010

Why write separate actions to provide a JSON/XML API in ASP.NET MVC? If you are already using view models, MVC API Action Filter makes reusing your existing actions quick and clean.

Getting the id and name Attribute Generated by Typed Html Helpers

Posted in ASP.NET July 15, 2010

ASP.NET MVC typed html helpers generate helpful ready-to-bind markup for us. Learn how to detect what the resulting id and name attribute will be for use in your view code

Client Side Model-Aware Validation

Posted in ASP.NET, Foolproof, JavaScript June 18, 2010

In a previous post, we built a model-aware validator using Foolproof for ASP.NET MVC. Now, it’s time to create the client side version because posting back sucks.

Render Your Model With Client Side jQuery Templates Instead of ASP.NET MVC Partial Views

Posted in ASP.NET, JavaScript May 25, 2010

Stop writing render code in multiple places in your ASP.NET MVC ajax applications. Learn how to push your model to the browser and use jQuery to bind it to templates.

Build Model-Aware Custom Validation Attributes in ASP.NET MVC 2

Posted in ASP.NET, Foolproof April 12, 2010

Using Foolproof’s ModelAwareValidationAttribute class, you can create custom model-aware data annotations to solve any complex validation scenario

Foolproof Provides Contingent Data Annotation Validation for ASP.NET MVC 2

Posted in ASP.NET, Foolproof March 22, 2010

“MVC Foolproof Validation” is my first open source project to help bridge the gap in ASP.NET MVC Data Annotations when dealing with contingent or dependent scenarios

Entity Framwork's Include Function Produces Inner Joins Instead of Outer Joins

Posted in Data Access February 15, 2010

Entity Framework’s Include function usually produces OUTER JOINs. I ran into an scenario where INNER JOINs were being produced that filtered out needed records. The solution is in the direction of the EF expression

Rendering and Binding Drop Down Lists using ASP.NET MVC 2 EditorFor

Posted in ASP.NET December 31, 2009

Use ASP.NET MVC’s EditorFor to render a drop down list from a view model. Then use a custom model binder to bind the selection back to the view model