ASP.NET MVC Blog Engine: Part 1 of X

MVC8x6_209DEC49

This will hopefully be my first post of many on ASP.NET MVC using S#arp Architecture (which I am going to abbreviate #A from this point on) and the Spark view engine. I really wanted to start getting into MVC and #A provides a very quick and easy to use framework to build your site. It also combines tools I would choose to use anyways like nHibernate and Windsor IoC. If you have yet to look into #A and you are planning on doing any .NET MVC work in the future I would recommend giving it at least a first look.

For my part, I’ve decided to pick the most cliche programming task there is, I am building a blogging engine. Now, I’m not necessarily planning on doing this so I don’t have to use BlogEngine.NET, in fact I like BE.NET for the most part. I chose a blog engine for learning MVC for the same reason everyone likes using blog engines in examples, they have a very simple and well understood domain model and clearly defined functionality. This leaves me free to focus on learning the archnitecture instead of on designing the software.

If anyone is interested in following along interactively, I have put my code up on GitHub, so you can check it out, fork it, and generally do whatever you want. So far I’ve managed the following:

Once you have checked out the code you simply need to create a local SQLExpress database called “Graphite”, nHibernate will do the rest when you run the web project.

comments powered by Disqus