如何获取aspx页面的编译版本以进行反射 [英] How to get the compiled version of aspx page for reflection

查看:84
本文介绍了如何获取aspx页面的编译版本以进行反射的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

给出我网站上已预编译的aspx页面的路径,如何从我网站的第二页获取到已编译版本(dll或其他)的路径,以便我可以通过反射来检查其属性,方法和类?

Given the path of an aspx page on my site that's been precompiled, how can get the path to compiled version (dll or other) from a second page on my site so that I can examine its properties, methods and classes via reflection?

或者通过其他方式从aspx页面生成方法/属性列表?

Or some other way to generate method/property lists from aspx pages?

推荐答案

您要查找的内容应该在服务器的bin文件夹中.由于安全问题,您无法通过浏览器访问bin文件夹.因此,您将需要使用ftp客户端或从本地服务器打开服务器的ISS文件夹.然后,一旦下载它,就可以对它使用反射器.

What your looking for should be in the bin folder of your server. You can't access the bin folder through your browser due to security issues. So you will need to open your server's ISS folder with either a ftp client or from the server locally. Then you can use a reflector against it once you download it.

这篇关于如何获取aspx页面的编译版本以进行反射的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆