反编译使用预编译工具生成的aspx页面

decompile aspx pages generated using precompilation tool

我有一个编译代码,它是 asp.net 网络表单应用程序。我已经使用 Telerik JustDecompiler 和 .NetRefactor 反编译了它的代码。我无法反编译 ASPX 页面。我有文件 App_Web_login.aspx.cdcab7d2.dll 如果使用 justdecompile 反编译它有以下视图

但是,ASPX 页面有文本

This is a marker file generated by the precompilation tool, and should not be deleted!

谁能指导我如何反编译这些 aspx 页面?

答案是。您不能使用工具将它们反编译回原始 ASPX 页面。

如果你反编译它们,你会得到这样的代码 -

private HtmlHead __BuildControl__control2()
{
  HtmlHead htmlHead = new HtmlHead("head");
  HtmlTitle htmlTitle = this.__BuildControl__control3();
  IParserAccessor parserAccessor = (IParserAccessor) htmlHead;
  parserAccessor.AddParsedSubObject((object) htmlTitle);
  HtmlLink htmlLink = this.__BuildControl__control4();
  parserAccessor.AddParsedSubObject((object) htmlLink);
  return htmlHead;
}

从那时起,您将不得不通过查看两个文件手动重新组装 ASPX 页面 - 在 HTML 浏览器内 和 C# 代码之上呈现。