我有一个编译代码,它是 asp.net web 表单应用程序。我已经使用 Telerik JustDecompiler 和 .NetRefactor 反编译了它的代码。我无法反编译 ASPX 页面。我有文件 App_Web_login.aspx.cdcab7d2.dll 如果使用 justdecompile 反编译它有以下 View
但是,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# 代码之上。
关于c# - 反编译使用预编译工具生成的aspx页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42720059/