开发者

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

开发者 https://www.devze.com 2023-02-03 07:02 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

开发者_StackOverflow社区

Closed 7 years ago.

Improve this question

I would like to study the source of the Razor view engine. Since MS provides the source for MVC, I assumed that Razor's is available too... but have been unable to locate it. Any suggestions?


The source for MVC 3 Beta version of Razor is available here: http://aspnet.codeplex.com/releases/view/54306. However, this release is quite old and there have been a number of changes to Razor.

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


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.


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

However, please notice that reverse engineering may or may not be illegal in your country. In mine, it's perfectly legal, especially when your purpose is studying.


Source code for MVC is here

"Model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor." https://github.com/aspnet/Mvc

"Parser and code generator for CSHTML files used in view pages for MVC web apps." https://github.com/aspnet/Razor

And this has pointer for all .Net sources https://github.com/Microsoft/dotnet

Enjoy!

0

精彩评论

暂无评论...
验证码 换一张
取 消