Microsoft Expression Studio - 使用 ASP.NET 进行 Web/超级预览
无论如何,是否可以使用 Expression Studio 完全测试 ASP.NET 网页,或者是否只能看到页面的静态视图,而无法与页面上的任何元素进行交互?
Is there anyway to test an ASP.NET webpage fully with Expression Studio or is it only possible to see a static view of the page and no way to interact with any of the elements on the page?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
根据 Zhaph 的回答,他是正确的(或者至少据我所知),SuperPreview 纯粹是一个静态渲染引擎。我确实找到了 2 个对我非常有用的程序。
首先是 Lunascape5,这是一个多引擎 Web 浏览器,包括 Trident、Webkit 和 Gecko 引擎。所以这对于现代浏览器来说是一个很好的起点。我确实在 Gecko 引擎中发现了一个错误,它不允许您登录集成安全 ASP.NET 网站,也不会正确地允许您设置身份验证处理以将其集成。
继续处理 IE 这个祸害,我发现 IETester 允许您可以并行运行具有完整功能的 IE 5.5、6、7 和 8 的副本。这取代了我以前的 MultipleIEs 安装副本,因为我遇到了 IE6 无法正常工作的问题(无法突出显示,无法输入表单)。这个工具非常好,我强烈推荐它。
SuperPreview 的 DOM 分析功能和测量工具非常好。
Building upon Zhaph's answer, he's correct (or atleast as far as I've been able to find) that SuperPreview is purely a static rendering engine. I did find 2 programs that have been very useful to me.
First is Lunascape5, this is a multi-engine web browser that includes engines for Trident, Webkit and Gecko. So this is a good starting point for modern browsers. I did find a bug in the Gecko engine, it won't allow you to log into integrated security ASP.NET websites, nor will it correctly allow you to setup Auth handling to have it be integrated.
Moving onto to handle the bane known as IE I've found IETester which allows you to run side by side copies of IE 5.5, 6, 7 and 8 with full functionality. This replaced my previous copy of MultipleIEs installation because I ran into issues with IE6 not working correctly (can't highlight, can't type in forms). This tool is very nice and I strongly recommend it.
SuperPreview is very nice for it's DOM analysis functionality and measuring tools.
我的印象是 SuperPreview 实际上是页面的静态呈现 - 你可以获得 DOM 交互性,但仅此而已 - 它不是一个可以提供页面服务的网络服务器。
只需一点点摆弄,您就可以在 XP 或 Vista 上启动并运行 IIS(我认为可以降到 Home Premium - 这就是我运行的没有任何问题),或者您可以安装 Visual Web Developer Express 并使用其内置的 Web 服务器来测试您的网站 - VS 和 Expression 共享项目文件,因此您应该能够毫无问题地打开网站/页面。
I was under the impression that SuperPreview was effectively a static rendering of the page - you get DOM interactivity, but that was about it - it's not a webserver that can serve pages.
With a little bit of fiddling, you can get IIS up and running on XP or Vista (down to Home Premium I think - that's what I'm running with no problems), or you could install Visual Web Developer Express and use it's built in web server to test your site - VS and Expression share project files, so you should be able to open the site/pages with no issue.
SuperPreview 使用“Cassini”查看 aspx 页面。因此,除非您的页面存在某种 IIS 无法处理的复杂性,否则您不必使用 IIS。
基本上,它与您在 Visual Studio 中按 F5 时获得的支持相同。 Visual Studio 在系统托盘中启动一个小型 Web 服务器。 SuperPreview 也做同样的事情。
另外,如果您在 Expression Web 中配置 PHP,那么 SuperPreview 也将能够为您执行一些 PHP 文件。
SuperPreview uses "Cassini" to view aspx pages. So you shouldn't have to use IIS unless there is some kind of complexity to your page that it can't handle.
Basically it is the same kind of support you get if you were in Visual Studio and did F5. Visual Studio starts a little web server down in the system tray. SuperPreview does the same thing.
Also, if you configure PHP in Expression Web then SuperPreview will be able to do some PHP files for you too.