回复没有延迟? [英] Postback with no delay??

查看:59
本文介绍了回复没有延迟?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我意识到Wachovia银行改用了asp.net页面。我非常喜欢他们这样做的方式,我想知道他们是如何设法做回b
回发的,回发之间的眨眼几乎是不可察觉的!


我的网站即使在本地网络浏览时也非常小,我还能清楚地看到回页之间的闪烁(

白页中间)


我有什么方法可以像wachovia一样吗?


谢谢,


Alex。

Recently I realized the Wachovia bank switched to asp.net pages. I like very
much the way they did it and I would like to know how they managed to do the
postbacks and the blinking between postbacks is almost unnoticeable!

I my sites even when browsing in the local network and the pages are very
very small I still can clearly see the blinking between pages postbacks (a
white page in the middle)

Is there any way I can do like wachovia?

Thanks,

Alex.

推荐答案

回发只是重新加载。来自服务器的页面。这需要的时间是:b / b $ b)你的互联网连接速度&你的电脑的速度

2)你要加载的页面大小

3)主机的互联网连接速度和服务器速度 - 在这

案例,Wachovia银行


您可以采取许多措施来加快您的网页速度,例如:

- 节约使用of ViewState

- 仔细管理服务器端缓存

- 禁用跟踪和AutoEventWireup

- 预先发布页面等等


这类东西有很多很棒的资源 - 试试谷歌搜索

ASP.Net性能


HTH ,


Richard。


" Alex D."写道:
The postback is just "reloading" the page from the server. The amount of
time this takes will be a function of:

1) Your internet connection speed & your PC''s speed
2) The size of the page you are trying to load
3) The internet connection speed and server speed of the host - in this
case, Wachovia Bank

There are lots of things you can do to speed up your pages such as:
- Frugal use of ViewState
- Careful management of server-side caching
- Disabling tracing and AutoEventWireup
- Precomiling pages, etc, etc

There are lots of great resources for this kind of thing - try Googling
"ASP.Net performance"

HTH,

Richard.

"Alex D." wrote:
最近我意识到Wachovia银行改用了asp.net页面。我非常喜欢他们这样做的方式,我想知道他们是如何设法回复的,回发之间的眨眼几乎是不可察觉的!

我的网站即使在本地网络中浏览并且页面非常小,我仍然可以清楚地看到页面回发之间的闪烁(中间的白页)

是否有我怎么办像wachovia?

谢谢,

Alex。
Recently I realized the Wachovia bank switched to asp.net pages. I like very
much the way they did it and I would like to know how they managed to do the
postbacks and the blinking between postbacks is almost unnoticeable!

I my sites even when browsing in the local network and the pages are very
very small I still can clearly see the blinking between pages postbacks (a
white page in the middle)

Is there any way I can do like wachovia?

Thanks,

Alex.



如果您没有运行2.0,有几种方法。 XML-HTTP将

为您提供所需的内容,但页面将包含大量脚本。

使用webservice htc实现的行为将很好地完成这项工作。 />
好​​吧。 2.0支持脚本回调和带外调用,这将刷新部分屏幕。请注意,这些方法仍然是post backs

但是,因为整个页面不需要重绘,所以它不会是b $ b *闪烁。
< br $>
-


________________________

热烈的问候,

Alvin Bruney [MVP ASP.NET] < br $>

[无耻作者插件]

专业VSTO.NET - Wrox / Wiley

OWC使用.NET的黑皮书
www.lulu.com/owc ,亚马逊

博客: http://www.msmvps.com/ blogs / alvin

----------------------------------- --------------------


" Alex D." <人******** @ hotmail.com>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP05.phx.gbl ...
There are a couple of approaches if you are not running 2.0. XML-HTTP will
get you what you want however, the page will contain a lot of scripting.
Behaviors with the webservice htc implementation will do the trick nicely as
well. 2.0 supports script call backs and out of band calling that will
refresh portions of the screen. Note that these methods are still post backs
however, since the entire page does not need to be redrawn, it doesn''t
*blink.

--

________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------

"Alex D." <al********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
最近我意识到Wachovia银行改用了asp.net页面。我非常喜欢
他们这样做的方式,我想知道他们是如何设法回复的,回发之间的眨眼几乎是不明显的!
我的网站即使在本地网络浏览时页面非常小,我仍然可以清楚地看到页面之间的闪回回复
(中间的白页)

谢谢,

Alex。
Recently I realized the Wachovia bank switched to asp.net pages. I like
very much the way they did it and I would like to know how they managed to
do the postbacks and the blinking between postbacks is almost
unnoticeable!

I my sites even when browsing in the local network and the pages are very
very small I still can clearly see the blinking between pages postbacks
(a white page in the middle)

Is there any way I can do like wachovia?

Thanks,

Alex.



感谢您的建议。但正如我所说,我的页面非常小(10k)

我在内联网上以100 mb / s的速度访问该站点,我仍然可以看到
非常清楚回发之间的空白页面。 Wachovia页面也没有

似乎使用了ajax,因为如果你非常接近注意你会看到

实际上这个洞页面很清醒但是像Firefox或者Opera那样...不像IE那样



" Richard Hauer" < RI *************************** @ hotmail.com>在消息中写道

新闻:E9 ********************************** @ microsof t.com ...
Thanks for your suggestions. But as I said my pages are reallyyy small (10k)
and I am accessing the site at full 100 mb/s in my intranet and I can still
see very clearly the blank page between postbacks. Also Wachovia pages dont
seem to use ajax since if you pay attention very close you will se that
actually the hole page is refreshing BUT like Firefox or Opera do ...not
like IE.

"Richard Hauer" <ri***************************@hotmail.com> wrote in message
news:E9**********************************@microsof t.com...
回发只是重新加载。来自服务器的页面。这需要的时间量是以下因素的函数:

1)您的互联网连接速度&你电脑的速度
2)你要加载的页面大小
3)主机的互联网连接速度和服务器速度 - 在这个案例中,Wachovia Bank

你可以做很多事情来加速你的网页,例如:
- 节约使用ViewState
- 仔细管理服务器端缓存
- 禁用跟踪和AutoEventWireup
- 预先发布页面等等

这类东西有很多很好的资源 - 尝试谷歌搜索
ASP.Net性能
HTH,

理查德。

Alex D.写道:
The postback is just "reloading" the page from the server. The amount of
time this takes will be a function of:

1) Your internet connection speed & your PC''s speed
2) The size of the page you are trying to load
3) The internet connection speed and server speed of the host - in this
case, Wachovia Bank

There are lots of things you can do to speed up your pages such as:
- Frugal use of ViewState
- Careful management of server-side caching
- Disabling tracing and AutoEventWireup
- Precomiling pages, etc, etc

There are lots of great resources for this kind of thing - try Googling
"ASP.Net performance"

HTH,

Richard.

"Alex D." wrote:
最近我意识到Wachovia银行改用了asp.net页面。我非常喜欢
非常
他们这样做的方式我想知道他们是如何做的回复和回发之间的眨眼几乎是不明显的!

我的网站甚至在本地网络浏览时页面非常小,我仍然可以清楚地看到页面之间闪回的回复

白页中的中间)

我有什么方法可以像wachovia那样做吗?

谢谢,

Alex。
Recently I realized the Wachovia bank switched to asp.net pages. I like
very
much the way they did it and I would like to know how they managed to do
the
postbacks and the blinking between postbacks is almost unnoticeable!

I my sites even when browsing in the local network and the pages are very
very small I still can clearly see the blinking between pages postbacks
(a
white page in the middle)

Is there any way I can do like wachovia?

Thanks,

Alex.



这篇关于回复没有延迟?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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