Getting Started – Walkthrough


Let’s start by understanding what this toolkit is about, why it was created and some of the goals for it, and then get into how to use and learn from it.
Remember -> its just a sample toolkit!

Toolkit Background

We built this toolkit as a first example of a developer focused pattern toolkit, using a common (if not very broad) design pattern. An example of a common and well-known pattern, that is relevant to most developers, and anyone can install and use right away. We also noticed that although ASP.NET MVC ships in Visual Studio with some good development tools (i.e. template, and some menus on folder in VS), its still does not use much abstraction, and relies on the developers starting at understanding MVC at the class level rather than at a higher abstract level.
The toolkit builds ASP.NET MVC 2 Web Applications in VS2010 and ASP.NET MVC 3 Web Applications in VS2012.

Why doesn't it use the latest MVC?
  • Because MVC 2 came installed with VS2010 out of the box, and MVC 3 came with VS2012 out of the box, and we didn’t want people to have to install other things before getting started with the demo.

Can it be upgraded to the latest MVC version?
  • Yes, absolutely, but you will want to do that yourself once you see the basics of how it works.

Is this toolkit supposed to be THE way we are supposed to build ASP.NET MVC applications?
  • No, absolutely not. The toolkit is intended to be an example of a toolkit, a sample toolkit demonstrating some key features of pattern toolkits. There is no such thing as THE way to build an application, many organizations/communities have already established proven or successful ways or guidelines for doing these kinds of things. This toolkit is assuming use within a fictional organization that has a way to build their MVC applications.
The premise of the toolkit is to give an example of how an organization could have decided that this is the BEST way they see building their ASP.NET MVC applications. That’s the power of toolkits really. The fact that any individual/organization/community can define their recommended way to develop or deploy some technology.

This pattern toolkit demonstrates many of the most common things a application developer would need help in doing in applying the MVC pattern, over and above what the built-in Visual Studio tooling provides you.

It can easily be extended and adapted for your own organization/community etc. But all that is getting too far ahead of ourselves for now.
So let’s start first by getting a look at this toolkit and what it does, then we can start to understand more about how it does it, and how we can learn from it to perhaps build our own toolkit, using some of the techniques seen with this one.

Installing the Toolkit

Pre-requisites

  • You must have Visual Studio 2010 or Visual Studio 2012 installed.

Toolkit Install

  • Download the latest release of the MVC toolkit from this project site. Downloads tab.
  • Double-click the downloaded *.vsix file. Complete the installer dialog, and restart Visual Studio.

Creating an MVC Project

Its time to see how this thing works..

Last edited May 17, 2013 at 10:24 AM by jezzsa, version 13

Comments

No comments yet.