I pushed a major update to the MVC3/Html5 Boilerplate Template found on the github page. The new update includes the latest boilerplate code and uses the DotnetOpenAuth CTP for logging in via Twitter and Facebook. Thanks to @jacob4u2 for making some necessary web.config changes (he has an alternate template on his bitbucket site you should also check out.
Updated MVC3 Html5 Boilerplate Template: Now with Twitter and Facebook
March 21st, 2011 § 2 comments § permalink
Expressions and Lambdas: Oh My!
November 13th, 2010 § 1 comment § permalink
I’ve been working on a toolkit called Redaculous- it’s a .NET Library for the really cool key/value store Redis. It’s built on top of the ServiceStack.Redis library, which provides various .NET clients for Redis. Redaculous is meant to make aggregating Redis commands a little easier- but don’t get too excited. The project is in its infancy, and will undergo many changes, if it even gets off the ground. This post isn’t about Redis nor Redaculous- it’s about how parts of Redaculous leverage Expressions and Lambdas to drive a lot of the functionality Redaculous is meant to provide, and how you can leverage Expressions to make your programming life easier. ASP.NET MVC and lots of other great frameworks do it, so why can’t you?
QuickTip: Use CommonServiceLocator and MvcServiceLocator together in ASP.NET MVC 3 Pre-Release Projects
September 23rd, 2010 § 1 comment § permalink
UPDATE: This post is outdated since ASP.NET MVC Beta. Use the DependencyResolver static class instead.
Prevent Js and Css Browser Caching Issues with ASP.NET
March 2nd, 2009 § 6 comments § permalink
You’ve seen this problem before- you deploy a new version of your website but the style is off and you’re getting weird javascript errors. You know the issue: Firefox or IE is caching and old version of the css/js file and it’s screwing up the web app. The user needs to clear the cache so the latest version is pulled. The solution: versionstamp your include files!
Tips for Managing ASP.NET MVC Views
February 25th, 2009 § 15 comments § permalink
After working on an ongoing ASP.NET MVC project for a couple of months I’ve learned a couple of lessons when it comes to dealing with Views. Keep as much logic out of the views as possible! This can be tricky because it’s so easy to let code sneak into your views. But by following the tips below you’ll be able to keep your logic organized and views clean.
