自动启动 ASP.NET 应用程序池?

发布于 2024-08-06 03:22:57 字数 66 浏览 2 评论 0原文

有没有办法在 IISRESET 或计划重置后自动启动 ASP.NET 应用程序池,以便初始用户不必等待应用程序池加载?

Is there a way to automatically spin up an ASP.NET app pool after an IISRESET or the scheduled reset so that the initial user doesn't have to wait for the app pool to load?

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

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

发布评论

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

评论(6

猫卆 2024-08-13 03:22:57

iisreset 后从应用程序请求页面。这很容易实现自动化。

Request a page from the app after iisreset. This is easily automated.

孤独岁月 2024-08-13 03:22:57

SharePoint 人员 Joel Oleson(前 Microsoft)有一个可用的预热脚本< /a> 在他的旧 MS 博客上。搜索 asp.net 预热脚本 了解更多内容。

通常,应用程序池会过夜回收。因此,您可以在人们开始工作之前将此脚本作为计划任务运行,而无需人们等待。

SharePointer Joel Oleson (previously of Microsoft) has a warmup script available at his old MS blog. Search for asp.net warm up scripts for many more.

Typically the application pool recycles overnight. So you can run this script as a scheduled task before people come into work and there will be no need for people to wait.

℉服软 2024-08-13 03:22:57

如果您使用的是 IIS 7,有一个名为“应用程序预热”的 IIS 插件,它将帮助

我在这里写一篇关于我使用它的经验的博客文章(不知道我是否可以发布自己的内容?) :

http:// /www.diaryofaninja.com/blog/2010/05/06/keep-your-aspnet-websites-warm-and-fast-247

If you're using IIS 7 there is an IIS plugin call Application Warm Up that will help

I've written a blog post about my experiences using it here (don't know if i'm allowed to post to my own content?):

http://www.diaryofaninja.com/blog/2010/05/06/keep-your-aspnet-websites-warm-and-fast-247

酒与心事 2024-08-13 03:22:57

IIS7 就有这样的东西。但我没有尝试过,不能告诉更多。

There is such a thing for IIS7. But i haven't tried, can't tell much more.

当爱已成负担 2024-08-13 03:22:57

我有时会使用 VB 脚本来请求页面,并将其设置为作为计划作业运行。运行良好,几分钟内即可完成设置。

I have sometimes used a VB-script that requests a page, and set that up to run as a scheduled job. Works perfectly well, and is set up in a couple of minutes.

一桥轻雨一伞开 2024-08-13 03:22:57

您可以尝试适用于 SharePoint 开发人员的应用程序池回收实用程序,但创建者不建议将其用于生产站点。

You can try Application Pool Recycle Utility for SharePoint Developers but the Creator not recommend it for the Production Sites.

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