c#app检查网站状态... [英] c# app to check web status...

查看:81
本文介绍了c#app检查网站状态...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我们网站的主机已经因为未知的原因而被打破,原因是每周三到四次,这显然意味着我们

正在失去业务停机时间。

任何人都知道如何每隔几分钟左右用ac#

应用程序查看我们的网站状态,以便记录有关的信息

健康我们的网站?

任何帮助表示赞赏。

谢谢,

Trint

Recently the host for our website has been going down for unknown
reasons like three or four times a week, which obviously means that we
are loosing business during the down time.
Any one know ideas how I can check our site status with a c#
application every few minutes or so to keep a log of information about
the "health" of our website?
Any help is appreciated.
Thanks,
Trint

推荐答案

Hello Trint,


检查IIS日志,如果它们甚至已打开。

然后收集并分析DBG文件


我建议阅读:


- http://msdn2.microsoft.com/en-us/library/ms954590.aspx

- http://support.microsoft.com/kb/893657

- 这个 http:// msdn2 .microsoft.com / zh-CN / library / ms972959.aspx

我们网站的主机已经因为未知而下降了

三个或者三个原因一周四次,这显然意味着

Twe

皮重松动b在停工期间使用。

TAny一个人知道如何用ac检查我们的网站状态#

每隔几分钟左右进行一次修复以保存信息记录/>
Tabout

健康我们的网站?

感谢TAny的帮助。

TThanks,

TTrint

---

WBR,Michael Nemtsev [C#MVP]。

我的博客: http://spaces.live.com/laflour

团队博客: http://devkids.blogspot.com/

对我们大多数人来说,最大的危险并不是我们的目标太高了我们想念它,但它太低了,我们就达不到它了。 (c)Michelangelo
Hello Trint,

Check IIS logs, if they even is turned on.
Then collect and analyze DBG files

I''d recommend to read:

- http://msdn2.microsoft.com/en-us/library/ms954590.aspx
- http://support.microsoft.com/kb/893657
- this http://msdn2.microsoft.com/en-us/library/ms972959.aspx
TRecently the host for our website has been going down for unknown
Treasons like three or four times a week, which obviously means that
Twe
Tare loosing business during the down time.
TAny one know ideas how I can check our site status with a c#
Tapplication every few minutes or so to keep a log of information
Tabout
Tthe "health" of our website?
TAny help is appreciated.
TThanks,
TTrint
---
WBR, Michael Nemtsev [C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


2月12日上午9:21,Michael Nemtsev< nemt ... @ msn.comwrote:
On Feb 12, 9:21 am, Michael Nemtsev <nemt...@msn.comwrote:

Hello Trint,


检查IIS日志,如果它们甚至已打开。

然后收集并分析DBG文件


我建议阅读:


-http://msdn2.microsoft.com/en-us/library/ms954590.aspx

-http://support.microsoft.com/kb/893657

- thishttp://msdn2.microsoft.com/en-us/library/ms972959.aspx


我们网站的主机已经下降了不知道

每周三到四次的原因,这显然意味着

Twe

在停工期间失去业务。

TAny一个人知道如何用ac来检查我们的网站状态#

Tapplication每隔几分钟左右保存一份信息记录

Tabout

健康我们的网站?

感谢TAny的帮助。

TThanks,

TTrint

---

WBR,Michael Nemtsev [C#MVP]。

我的博客: http://spaces.live.com/laflour

团队博客: http://devkids.blogspot.com/

对我们大多数人来说,最大的危险并不是我们的目标太高了我们想念它,但它太低了,我们就达不到它了。 (c)米开朗基罗
Hello Trint,

Check IIS logs, if they even is turned on.
Then collect and analyze DBG files

I''d recommend to read:

-http://msdn2.microsoft.com/en-us/library/ms954590.aspx
-http://support.microsoft.com/kb/893657
- thishttp://msdn2.microsoft.com/en-us/library/ms972959.aspx

TRecently the host for our website has been going down for unknown
Treasons like three or four times a week, which obviously means that
Twe
Tare loosing business during the down time.
TAny one know ideas how I can check our site status with a c#
Tapplication every few minutes or so to keep a log of information
Tabout
Tthe "health" of our website?
TAny help is appreciated.
TThanks,
TTrint
---
WBR, Michael Nemtsev [C# MVP].
My blog:http://spaces.live.com/laflour
Team blog:http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo



我仍​​然希望每5分钟用ac#app检查一次,如果你有任何信息,请记录它的

状态这样做。

谢谢,

Trint

I still want to check it with a c# app every 5 minutes and log its
status if you have any info on doing that.
Thanks,
Trint





" trint" < tr *********** @ gmail.comwrote in message

news:11 ******************* ***@k78g2000cwa.googlegr oups.com ...

|最近我们网站的主机已经下降为未知

|一周三四次的原因,这显然意味着我们

|在停工期间失去生意。

|任何人都知道如何用c#

|检查我们的网站状态每隔几分钟左右应用一次,以保存关于

|的信息记录健康我们的网站?


最简单的是每隔几个窗口服务抓住主页

分钟。当然试着从一台永远打开的机器上运行它。


你可以给你发一封电子邮件或者osmething。


当然这个不会解决你的问题,我建议你集中精力在

找到你的网站为什么会崩溃。

-

Ignacio Machin

machin AT laceupsolutions com
Hi,

"trint" <tr***********@gmail.comwrote in message
news:11**********************@k78g2000cwa.googlegr oups.com...
| Recently the host for our website has been going down for unknown
| reasons like three or four times a week, which obviously means that we
| are loosing business during the down time.
| Any one know ideas how I can check our site status with a c#
| application every few minutes or so to keep a log of information about
| the "health" of our website?

The simplest would be a window service grabbing the home page every few
minutes. Of course try to run it from a machine that is always on.

You could send you an email or osmething.

OF course this will not solve your problem, I advise you to concentrate in
finding why is your website going down.
--
Ignacio Machin
machin AT laceupsolutions com


这篇关于c#app检查网站状态...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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