有 ASP.NET MVC 实时视图编辑器吗?

发布于 2024-08-26 02:01:46 字数 188 浏览 3 评论 0原文

我正在寻找一个工具,但我什至不确定正确的名称。请耐心听我解释。

我正在做很多 HTML/MVC 2 工作。使用标准 MVC 2 视图引擎,我希望有一个编辑器可以在浏览器中显示实时更改。如果我重新排列包含标准 HTML 和一些服务器端组件的 div 元素,我希望浏览器无需手动刷新即可更新。

目前是否有任何可用的工具可以满足该要求?

I'm looking for a tool and I'm not even sure of the proper name. Please be patient with me as I explain.

I'm doing a lot of HTML/MVC 2 work. Using the standard MVC 2 view engine, I would like to have an editor that shows real time changes in the browser. If I re-arrange div elements containing standard HTML and some server side components, I would like the browser to update without a manual refresh.

Are there any tools that are currently available that would meet that requirement?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

二货你真萌 2024-09-02 02:01:46

如果您使用 Firefox,则可以使用 ReloadEvery 插件并设置刷新每 x 秒。这将模拟实时编辑。

If you use firefox, you can use ReloadEvery plugin and set up refresh every x seconds. This will simulate real time editing.

顾挽 2024-09-02 02:01:46

IE 有一个自动刷新更改工具。它称为 ReloadIt,可从 http://reloadit.codeplex.com 获取。自由的。它可与 ASPNET MVC 或任何服务器端技术配合使用。它不需要 IIS。它确实需要 IE。

它不是 IE 的附加组件,只是一个配套工具。它不会更改 IE 安装,不会安装 BHO 或类似的东西。因此安装影响非常低。

您选择一个要自动重新加载的 URL,并指定一个或多个目录路径来监视更改。按F12开始监控。

在此处输入图像描述

设置后,将其最小化。然后使用您喜欢使用的任何工具编辑您的内容文件。保存后,页面将重新加载。像这样:

在此处输入图像描述

There's an automatic refresh-on-change tool for IE. It's called ReloadIt, and is available at http://reloadit.codeplex.com . Free. It works with ASPNET MVC, or any server side technology. It does not require IIS. It does require IE.

It's not an add-on to IE, just a companion tool. It does not change the IE install, does not install a BHO or anything like that. So very low-impact installation.

You choose a URL that you'd like to auto-reload, and specify one or more directory paths to monitor for changes. Press F12 to start monitoring.

enter image description here

After you set it, minimize it. Then edit your content files, in whatever tool you prefer to use. When you save, the page gets reloaded. like this:

enter image description here

逐鹿 2024-09-02 02:01:46

与 @LukLed 的建议类似,XRefresh 是一个会自动刷新浏览器屏幕的插件。

XRefresh 不会每隔 X 秒刷新一次,而是会监视目录树/文件集,并且仅在其中一个发生更改时刷新。

它非常适合多显示器设置,并且在单显示器设置中在窗口之间切换时可以节省几秒钟的时间。

Similar to what @LukLed suggested, XRefresh is a plug in that will refresh your browser screen automatically.

Instead of refreshing every X seconds, XRefresh will watch a directory tree/set of files and only refresh when one of them changes.

It's great in multi-monitor setups, and saves a few seconds when switching between windows in single monitor setups.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文