"Ruby on Rails"-like lib for Asp.Net MVC
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Welcome to the MVCExtensions project

MvcExtensions tries to be the Ruby on Rails of Asp.NET MVCdevelopment.

When you build a new ASP.Net application, you typically need some extra components in order to get started (an ORM, DI container, …)
In Ruby on Rails you do not need to setup a single component to get started; basic functionality is available out of the box.
MvcExtensions does the same by providing a reusable bootstrapper which sets up an ORM, a DI container and the Spark viewengine.

This makes building new apps a breeze, since all the (default) wiring is done by us.


How to get started ?

These are the basic steps :

  1. Create a new ASP.Net MVC project
  2. Reference the MvcExtensions DLL
  3. Define your model classes where every public property or function should be virtual and have an int id (i.e. implement IModelId)
  4. Tell MvcExtensions where to find these classes by using a very simple interface: IDomainDefinition
  5. Init the mvcextensions lib by registering your Database & IDomainDefinition and all IOC dependencies in global.asax
  6. You are ready to go

There is a lot more to this project, but this is all you need to get started. You can find more info in the following articles: