Adam K Dean

Posts

Force JSON with WebAPI

Published 18 September 2013 in archive with tags webapi , json , api , csharp Sometimes when you call a WebAPI through the browser, you'll be served XML. This may make it easier to read, but it's really not helping us when all we really want is JSON. Putting the following snippet into the end of Application_Start() in Global.asax.cs will force your WebAPI application to always send JSON. Continue reading …

Install Emmet (Zen Coding) in Sublime Text

Published 11 September 2013 in archive with tags sublimetext , emmet , zencoding For those who don't know, Zen Coding -- or Emmet as it's now known -- is a set of plugins for text editors that allow for high-speed coding and editing in HTML, XML, XSL, and other structured code formats via content assist. (Thanks Wikipedia!) Continue reading …

Increase playback speed on YouTube

Published 8 September 2013 in archive with tags youtube , videos I don't know if you're impatient like me, but if you are, you probably get sick of watching tutorial/education videos on 1.0x speed playback. I went through Jon Skeet's C# videos on 1.5x - 2.0x times the speed, but YouTube chugs along on 1.0x and it takes so damn long. Just get to the point OP! Continue reading …

Back on the web

Published 31 August 2013 in archive with tags general Well, after 30 days of silence, the site is back on the web. Continue reading …

Simple Dependency Injection with StructureMap

Published 1 August 2013 in archive with tags csharp , ioc , dependencyinjection Usually when I think of IoC/Dependency Injection for .NET, I think of Ninject, but today I've been looking at an alternative: StructureMap. It claims to be the 'oldest IoC/DI tool for .NET development', in development since 2004, and is available via NuGet including additional versions for both MVC3 and MVC4. Continue reading …



Newer Page 26 of 42 Older