用于查看 ASP.NET 生成的 HTML 源代码的免费软件插件?
是否有任何免费软件插件可以帮助我查看 ASP.NET 生成的 HTML 源代码?
Are there any freeware plugins that would help me view the HTML Source generated by ASP.NET?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Microsoft 的 Fiddler2 for IE
或 Firebug for FireFox
有了这些,您可以看到 ASP.NET 生成的真实源代码,而不是浏览器“查看源代码”菜单选项中显示的损坏的源代码
Microsoft's Fiddler2 for IE
Or Firebug for FireFox
With these you see the real source generated by ASP.NET, not the mangled source as shown in a browsers 'view source' menu option
Internet Explorer 开发人员工具栏具有许多功能。 Firefox 的 Web Developer 插件看起来很漂亮。 此处是使用另一个 FireFox 插件的演练。
如果您只是想查看源代码,我熟悉的所有浏览器都内置了该功能。 Internet Explorer
The Internet Explorer Developer Toolbar has many features. The Web Developer add-on for Firefox looks slick. Here is a walk through of using another add-on for FireFox.
If what your looking for is just to view the source, all browsers I am familiar with have that feature built in. Internet Explorer
您可以使用 Internet Explorer 的“
编辑
”菜单下的查看源代码
按钮。 Firefox 在View
菜单下有类似的东西。编辑:如果您正在寻找应用程序的源代码,那么无论您做什么,您都将无法看到它。 服务器只向客户端发送它希望客户端看到的内容。 对于 ASP.NET,这意味着您将看到 ASP.NET 生成的控件 ID 等。 如果您想在没有网络浏览器的情况下自行执行此操作,请尝试 Wget。
You can use Internet Explorer's
View Source
button, under the 'Edit
menu. Firefox has something similar under theView
menu.Edit: If you're looking for the source code for the application, you won't be able to see that no matter what you do. The server sends the client only what it wants the client to see. For ASP.NET, this means you'll see ASP.NET generated control IDs and the like. If you want to do this on your own without a web browser, try Wget.
您不必查看该功能何时已内置到几乎所有网络浏览器中。 查看源代码是一项标准功能。
You shouldn't have to look when that function is already built in to just about every single web browser out there. View Source is a standard feature.
安装 Firefox 的 Web Developer 扩展程序将允许您查看“生成的”源代码(即它包括客户端 JavaScript 对 html 所做的更改等)。 否则,任何浏览器中可用的标准“查看源代码”选项就足够了。
Installing the Web Developer extension for Firefox will let you view 'generated' source (i.e. it includes changes made to the html by client side javascript etc..). Otherwise the standard 'view source' option available in any browser should suffice.