Microsoft has made .NET MVC and Razor open source. Check out the project on Codeplex.