My two cents about software development on the web


Exposing a JSON API with ASP.NET MVC 3

This article on CodeProject shows one way (there are loads of ways, this is just one way) of how you might go about exposing a JSON API that is callable both from the web and via web based APIs from a standard desktop .NET client app, with the minimum of fuss, no config, other than the standard one you get with .NET installed.

It does however make use of ASP MVC 3 so that is assumed, as is .NET 4 and VS2010.


Linkflood #2-2011

Advantages of CSS3 Media Queries

Product prototyping

  • Designer, Architect, Developer on 24 Ways To Start by Tom Preston-Werner – Over the last six years I’ve bootstrapped three successful enterprises (Cube6 Media, Gravatar, and GitHub) and failed to gain traction with a handful of others. After a lot of thought and reflections on these experiences, I’ve identified three major skills that should be present in order to best build a successful web application. These roles can be loosely defined as the Designer, the Architect, and the Developer.
  • Minimum Viable Product: a guide by Eric Ries on Lessons Learned – One of the most important lean startup techniques is called the minimum viable product. Its power is matched only by the amount of confusion that it causes, because it’s actually quite hard to do. It certainly took me many years to make sense of it. First, a definition: the minimum viable product is that version of a new product which allows a team to collect the maximum amount of validated learning about customers with the least effort.

ASP.NET MVC Best Practices

Blog Engine with ASP.NET MVC


Linkflood #1-2011

  • Creating a NuGet-based plugin engine – the author (Aaron Powell) describes how to create a plugin engine for FunnelWeb plugins or themes.
  • Got an Old Computer? Jolicloud OS Can Now Make it a Zippy Cloud Machine – Jolicloud, the Operating System that primarily serves netbooks, today expanded its support to include computers as many as 10 years old. If you’ve got an old desktop computer with as little as 348MB of RAM, it could be fun and useful again with the help of Jolicloud.
  • Should I work for free? by Jessica Hische – Who’s ready to stop working for free? Hopefully you are! If you have any doubts, consult this handy chart below. Start in the middle and work your way to your answer!
  • EF Code First e NH, due ORM a confronto“, con Pietro Libro e Martino Bordin – Un’overview su due diverse tecnologie di accesso ai dati, l’emergente EF Code First ed il più consolidato NHibernate: modellazione, query e persistenza.
  • How To Know Your Side Project Is Ready To Be A Startup – Building things is great, more people should do it and do it often. The problem is, most people either take the leap at the wrong time OR they don’t take a leap at all, when the signs are there. I recently went through this process a few months ago myself on taking PadPressed, now Onswipe to a full time startup. Here are the 8 things that I realized, which are telltale signs that you might be ready to turn your project to a full time startup.
  • Html.RenderAction and Html.Action – One of the new features being added to ASP.NET MVC 2 is a little helper method called Html.RenderAction and its counterpart, Html.Action. Both of these methods allow you to call into an action method from a view and output the results of the action in place within the view. The difference between the two is that Html.RenderAction will render the result directly to the Response (which is more efficient if the action returns a large amount of HTML) whereas Html.Action returns a string with the result.
  • Creating a fixed header and Footer – If you are looking for a fixed header of fixed footer you have come to the right place. In this tutorial I will be going over the basic page setup for sections of content, the header bar, footer bar, CSS and HTML.
  • How To Use the ADODB.Stream Object to Send Binary Files to the Browser through ASP – Web developers often need to read binary files from the Web server’s file system through Active Server Pages (ASP) and then send the content to the Web browser. Although developers often attempt this with the File System Object (FSO), the FSO is designed to read only ASCII data from the file system and, therefore, does not work. To read binary data from the file system, you must use a component that has the ability to read binary data. The ADODB.Stream object offers this functionality. When you call ADODB.Stream from ASP and use the intrinsic BinaryWrite method from the ASP Response object, you can send binary data to any type of browser with very little code.