Where is the source code for the Razor View Engine for ASP.NET MVC located?

I would like to study the source of the Razor view engine. Since MS provides the source for MVC, I assumed that Razor is also available ... but could not find it. Any suggestions?

+6
asp.net-mvc-3 razor
source share
4 answers

The source for the beta version of Razor MVC 3 is available here: http://aspnet.codeplex.com/releases/view/54306 . However, this release is quite old, and a number of changes have taken place in Razor.

The final source for Razor will be available shortly after the release of RTM MVC3

+4
source share

I know this is an old question, but Microsoft just released the source code for Razor, WebMatrix.Data, System.Json, and a number of other ASP.NET stack technologies.

See the source code here . Apache 2.0 License.

+4
source share

Well ... even if the source code is not yet available, you can practically take a look using Reflector (for free). Just find the DLL and import into Reflector.

However, please note that reverse engineering may or may not be illegal in your country. In mine, this is completely legal, especially when your goal is learning.

+1
source share

The source code for MVC is here

"Model view controller structure for creating dynamic websites with a clear separation of concerns, including unified MVC, web APIs and web pages with Razor." https://github.com/aspnet/Mvc

"Parser and code generator for CSHTML files used on browsing pages for MVC web applications." https://github.com/aspnet/Razor

And this is a pointer to all .Net sources https://github.com/Microsoft/dotnet

Enjoy it!

0
source share

All Articles