【问题标题】:decompile aspx pages generated using precompilation tool反编译使用预编译工具生成的 aspx 页面
【发布时间】:2017-03-10 13:54:44
【问题描述】:

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

但是,ASPX 页面有文本

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

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

【问题讨论】:

    标签: c# asp.net telerik decompiling decompiler


    【解决方案1】:

    答案是。您无法使用工具将它们反编译回原始 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# 代码。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-07-03
      • 1970-01-01
      相关资源
      最近更新 更多