如何ASP.NET解析一个ASPX文件转换成可执行的code?可执行、文件转换成、NET、ASP

2023-09-07 09:29:09 作者:娇爷

如何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.