如何ASP.NET分析在.aspx,的.ascx或名为.master文件转换成可执行的code?
How does ASP.NET parse an .aspx, .ascx or .master file into executable code?
我有一个大脑和.net反射的副本,因此,如果有人能告诉我去哪里找,这已经足够了。
I have a brain and a copy of .NET Reflector, so if someone could tell me where to look, that is sufficient.
您正在寻找的的TemplateParser
和 TemplateBuilder
类及其衍生物。
You're looking for the TemplateParser
and TemplateBuilder
classes and their derivatives.
您也可以下载参考源对于.NET框架,其中包括注释和将比反射器更具有可读性。
You can download the reference source for the .Net framework, which includes comments and will be more readable than Reflector.