DevMavens

ma•ven (mā'vən)

n.  A person who has special knowledge or experience;
an expert.

dev•ma•ven
('dev-mā'vən)

n.  An expert developer with great influence.

Scott Allen

Scott Allen’s blog features development advice straight from the trenches. Scott shares his experiences, what he tried, what worked, what didn't, and traps to avoid. Alongside architecture and project management-focused blog entries, you'll find more nitty-gritty technical posts about LINQ, JavaScript and JavaScript Object Notation (JSON), Windows® Workflow, and Silverlight.


OdeToCode | 26 Jul 2010 03:47

Notes on Templates and Data Annotations in MVC 2Subscribe to this feed

Scott Allen writes "....Brad Wilson has an excellent series of 5 blog posts on model metadata and templates you can use to get started with templates and metadata in ASP.NET MVC 2. Here are a couple notes I've made around some of aspects that commonly confuse developers..."
Read more »  Notes on Templates and Data Annotations in MVC 2


OdeToCode | 23 Jul 2010 01:12

Prototypes and Inheritance in JavaScriptSubscribe to this feed

Scott Allen writes "....Forget everything you know about object-oriented programming. Instead, I want you to think about race cars. Yes – race cars. That's the intro for my latest article @ Script Junkie - Prototypes and Inheritance in JavaScript. I hope you enjoy..."
Read more »  Prototypes and Inheritance in JavaScript


OdeToCode | 19 Jul 2010 01:12

Delegated Model BindingSubscribe to this feed

Scott Allen writes "....In the last post we saw the recursive nature of the default model binder in MVC. Now, let's look at the following class: public class User { public string Name { get; set; } public string Email { get; set; } /* * bunch more..."
Read more »  Delegated Model Binding


OdeToCode | 16 Jul 2010 01:12

Recursive Model BindingSubscribe to this feed

Scott Allen writes "....In the last post we saw how a model binder has to show up for work even when all we need is a simple int parameter on an HTTP GET request. Now it's time for a pop quiz! Given this route definition: routes.MapRoute( "SearchRoute",..."
Read more »  Recursive Model Binding


OdeToCode | 15 Jul 2010 01:12

Hard Working Model BinderSubscribe to this feed

Scott Allen writes "....The job of a model binder in ASP.NET MVC is to take pieces of data in an HTTP request and place them into objects. It's easy to sense a model binder at work when you use one of the Update API's. bool success = TryUpdateModel(movie); // here // ....."
Read more »  Hard Working Model Binder


OdeToCode | 13 Jul 2010 13:12

Ruby: initialize and superSubscribe to this feed

Scott Allen writes "....One of the reasons to like Ruby if you come from a C#/C++/Java background is how certain constructs will tend to "just make sense" even though Ruby will throw in a twist here and there. Consider the case of inheritance and initialize methods...."
Read more »  Ruby: initialize and super


OdeToCode | 12 Jul 2010 01:12

OData and RubySubscribe to this feed

Scott Allen writes "....The Open Data Protocol is gaining traction and is something to look at if you expose data over the web. .NET 4 has everything you need to build and consume OData with WCF Data Services. It's also easy to consume OData from outside of .NET -..."
Read more »  OData and Ruby


OdeToCode | 09 Jul 2010 01:12

Multithreaded RobocopySubscribe to this feed

Scott Allen writes "....I was working with a fresh install of Windows Server 2008 when I noticed a new parameter in Robocopy's usage output:             /MT[:n] :: Do multi-threaded copies with n threads (default 8).                        n must be at least 1 and not..."
Read more »  Multithreaded Robocopy


OdeToCode | 08 Jul 2010 01:12

Unit Tests and LINQ QueriesSubscribe to this feed

Scott Allen writes "....It’s easy to test LINQ queries when the LINQ queries always execute entirely in memory – like with LINQ to objects or LINQ to XML. All you need to do is put some in-memory data together and pass it to code executing the query. It’s an entirely..."
Read more »  Unit Tests and LINQ Queries


OdeToCode | 07 Jul 2010 01:12

Named Arguments versus Object InitializersSubscribe to this feed

Scott Allen writes "....The object initializer syntax introduced in C# makes it easy to work with "configuration" type objects. public class TemperatureSetting { public float Value { get; set; } public float Variance { get; set; } public float Threshold {..."
Read more »  Named Arguments versus Object Initializers


This Maven's Blog

Scott Allen

OdeToCode

Maryland, USA

K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) @novokia T-Mobile mytouch (HTC magic). I've been stuck on 1.6 forever, so this is a big step up. about 23 hours ago from Twitter for Android


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) @kevindente Yes, that's even better advice. 1 day ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) Finally followed the advice of @jongalloway and flashed the CyanogenMod onto my phone. It's great!. #alwayslistentojon 1 day ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) @erickthompson +1 3 days ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) @MarkBorcherding Right, kind of like this scenario: http://odetocode.com/Blogs/scott/archive/2009/10/05/private-extension-methods.aspx 3 days ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) @vimpyboy Same file. 3 days ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) @dahlbyk @Myotherpants Right - just want to use them inside a single class and not let anyone else see them. Illegal code for C#. 3 days ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) Extension methods defined in a nested static class could be useful, actually. 3 days ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) Coffee in the server closet. What could possibly go wrong here? http://tweetphoto.com/42347074 4 days ago from twidroid


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) @subdigital I remember that! 7 days ago from twidroid


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) @IraMiller @clemensv - Regions drive me insane. i find there is always a better way. 8 days ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) @MilanNegovan No, only three! It must be my lucky day! :) 9 days ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) Pure awesome: public static DataView dv1; public static DataView dv2; public static DataView dv3; 9 days ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) @sbohlen Ha! 9 days ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) C# refactoring step #1: remove all #regions and fully expose the ugliness. 9 days ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) Wondering if Guinness tracks the record for "Largest ASP.NET UpdatePanel Payload". 11 days ago from Witty


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) @rbonini I'll have to write a sequel! 15 days ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) Hey, @jongalloway - remember when you called and asked me to write a limerick about @robconery? http://twitpic.com/2fzo8m 15 days ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) I'd tell you about my Windows Live Essentials experience, but it's too depressing to talk about. 16 days ago from web


K. Scott Allen (OdeToCode)

K. Scott Allen (OdeToCode) @staxmanade I'm happy you liked it! 17 days ago from twidroid