Browse by Tags

All Tags » MVC (RSS)

MVC's Html.DropDownList and "There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key '...'

ASP.NET MVC's HtmlHelper extension methods take out a lot of the HTML-by-hand drudgery to which MVC re-introduced us former WebForms programmers. Another thing to which MVC re-introduced us is poor documentation, after the excellent documentation for...
Posted by pjohnson | with no comments
Filed under: , ,

How to create a new WCF/MVC/jQuery application from scratch

As a corporate developer by trade, I don't get much opportunity to create from-the-ground-up web sites; usually it's tweaks, fixes, and new functionality to existing sites. And with hobby sites, I often don't find the challenges I run into with enterprise...

MVC 4 and the App_Start folder

I've been delving into ASP.NET MVC 4 a little since its release last month. One thing I was chomping at the bit to explore was its bundling and minification functionality, for which I'd previously used Cassette , and been fairly happy with it. MVC 4's...
Posted by pjohnson | 2 comment(s)
Filed under: , ,

MVC's IgnoreRoute syntax

I've had an excuse to mess around with custom route ignoring code in ASP.NET MVC, and am surprised how poorly the IgnoreRoute extension method on RouteCollection (technically RouteCollectionExtensions, but also RouteCollection.Add, and RouteCollection...
Posted by pjohnson | 4 comment(s)
Filed under: ,
More Posts