Logo HeaderGraphic
"... A Yankee in the Land of The Long White Cloud, Aotearoa ..."

With Linq you too can program like C++ programmer (if a line of code doesn’t confuse, it’s not doing enough)

I don’t know if you ever had the opportunity to attend those old time geek fests where after the days conferences and presentations, the programmers would gather for drinks and a little after hours friendly competitions, but they were fun, and somet ...[Read More]

Published: Jun-11-10 | 0 Comments | 0 Links to this post

How to get to modelmetadata’s additionalvalues and use them in MVC

Got a request from my new client, wanted to have Boolean values map to radio buttons, (no problem, we’ll just make a Shared Boolean.ascx partial view in the EditorsTemplates).  The real kicker came when he asked for a way to attach the labels to use ...[Read More]

Published: Apr-24-10 | 0 Comments | 0 Links to this post

Updating Scott Hanselman’s DateTime Custom Model Binder (DateAndTimeModelBinder)

So new client asks me to help with some of the New ASP.NET MVC 2 development of a new site.  Very cool stuff and having a good time (pioneering spirit, arrows in the back and all).  Anyway it comes up that the model will have some DateTime fields, w ...[Read More]

Published: Apr-22-10 | 0 Comments | 0 Links to this post

Enumerated Data Types, and ASP.NET MVC (Editor Template for ease of use)

This one took me a few hours to figure out.  I could see that the seeds necessary to pull off what I wanted to accomplish were “planted” the new MVC 2.0, but documentation at this point is just a bit on the light side for some of the new features. ...[Read More]

Published: Apr-19-10 | 0 Comments | 0 Links to this post

Getting the additionalViewData Object out of the EditorFor in Asp.net MVC

EditorExtensions.EditorFor<TModel, TValue> Method (HtmlHelper<TModel>, Expression<Func<TModel, TValue>>, Object) Isn't this great, they tell you how to pass some additional data.  Now if only someone would tell you how to ge ...[Read More]

Published: Apr-17-10 | 0 Comments | 0 Links to this post

Lightspeed issues

I’ve been told that Lightspeed is much better than LinqToSql.  The most touted feature is its round trip, modify the model and the database automatically gets updated. First time I really tried out this LinqToSql Killer Feature… well reports of Li ...[Read More]

Published: Apr-17-10 | 0 Comments | 0 Links to this post

I’m weak, give into peer pressure and smoke the Crack Pipe.

All of you who have had the (dis)pleasure of working to my coding standards [it’s good to be the king] are sure to get a chuckle out of this.  As of today I have officially given into peer pressure and moved my Curly Braces to their own line!  Since ...[Read More]

Published: Mar-23-10 | 0 Comments | 0 Links to this post

Microsoft, jQuery, and Templating

Wow, I’ve always said that competition is a wonderful thing (in a well regulated environment of course [I’m not a libertarian / non-realistic idealist]), and watching Microsoft over the past 3 years has been a real eye opener to the power of competi ...[Read More]

Published: Mar-18-10 | 0 Comments | 0 Links to this post

Checking for User’s write permissions to a Directory

This is a big thing and I’m sure it won’t be needed much, but the library is so large for .Net that sometimes finding out how to do something easy can take MUCH longer then it should.  For example I am working on a new app where the user has to pick ...[Read More]

Published: Jan-31-10 | 0 Comments | 0 Links to this post

Announcing the Apple iProduct

I usually try to stay away from personal editorials on MS vs. Apple, but with the upcoming “mystery” (yeah, right) announcement, I gotta say, it sure seems like this Mock Ad for the iProduct is so apropos! A Boy And His Computer - Announcing the Ap ...[Read More]

Published: Jan-27-10 | 0 Comments | 0 Links to this post
 Next >>