May 2009 Entries
Okay, I’ve moved to my own host, using subtext as the blog engine. I’ve also renamed my blog to SmoothFriction.nl, to match the URL I am using right now. Thinking hard to come up with a good subtitle now, but the URL is here to stay.
I’m also in the process of fixing the old posts which got a bit scrambled when moving here, as well as adding the SyntaxHighlighter javascript to get those really cool code blocks. Stay tuned!
Note: If you're using feedburner on my blog, the url won't change. So you should still get the updates.
When working with the ASP.NET MVC framework I have a strong urge to not pass my domain models directly to the view (and I feel that's a good thing). Actually, I should refine that. I do not pass my domain models to the view as a domain class. Let's investigate. My model at the moment consists of a class called Contact. It's very simple:
public class Contact
{
public int Id { get; set; }
public string LastName { get; set; }
}
This class is populated with data from my datasource (a static List<Contact> for now), and later on it'll be used...
So I recently started a personal project with a friend/developer, to try out serious development with ASP.NET MVC. Inspired by Rob Conery’s MVC Storefront/Kona series, we want to try out setting up all parts of a proper environment (automated builds, continuous integration, version control, the works basically). Learning by doing, more or less. So far, we’ve only just started. We assessed that we want to build an application for record keeping, contact records to be precise, as we’re both interested in keeping our client relations in check. Our first “milestone” is to create a system to insert, delete update...