ASP经典性能问题 [英] ASP Classic Performance Question

查看:51
本文介绍了ASP经典性能问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在维护一个ASP经典文件,其HTML包含

Response.Write方法......例如。

<%

Response.Write"< table>< tr>< td>"

Response.Write testVariable

Response.Write"< / td>< / tr>< / table>"

%>


如果我写这篇文章,他们的表现会受到打击吗? ?


< table>< tr>< td><%= testVariable%>< / td>< / tr>< / table>


我想,不,但我需要一些确认。


感谢您的任何意见/建议。

I''m maintaining an ASP Classic file that has HTML withing
Response.Write methods...such as.
<%
Response.Write "<table><tr><td>"
Response.Write testVariable
Response.Write "</td></tr></table>"
%>

Would their be a performance hit if I were to write this instead?

<table><tr><td><%=testVariable%></td></tr></table>

I think, no, but I need some confirmation.

Thanks for any advice/suggestions.

推荐答案

这就是我通常做的事情。对我来说很好。

James Jones


" Merovingian" < st *********** @ gmail.comwrote in message

news:11 ******************* ***@k70g2000cwa.googlegr oups.com ...
That is what i usually do. works fine for me.
James Jones


"Merovingian" <st***********@gmail.comwrote in message
news:11**********************@k70g2000cwa.googlegr oups.com...

我正在维护一个包含HTML的ASP经典文件

Response.Write方法......例如。


<%

Response.Write"< table>< tr>< td>

Response.Write testVariable

Response.Write"< / td>< / tr>< / table>"

%>


如果我写这篇文章会对他们造成影响吗?


< table>< tr> ;< td><%= testVariable%>< / td>< / tr>< / table>


我想,不,但我需要一些确认。


感谢您的任何意见/建议。
I''m maintaining an ASP Classic file that has HTML withing
Response.Write methods...such as.
<%
Response.Write "<table><tr><td>"
Response.Write testVariable
Response.Write "</td></tr></table>"
%>

Would their be a performance hit if I were to write this instead?

<table><tr><td><%=testVariable%></td></tr></table>

I think, no, but I need some confirmation.

Thanks for any advice/suggestions.



Merovingian写道:
Merovingian wrote:

我正在维护一个包含HTML的ASP Classic文件

Response.Write方法......例如。


<%

Response.Write"< table>< tr> < td>"

Response.Write testVariable

Response.Write"< / td>< / tr>< / table>"

%>


如果我写这篇文章会对他们造成影响吗?


< table> ;< tr>< td><%= testVariable%>< / td>< / tr>< / table>


我想,不,但是我需要一些确认。
I''m maintaining an ASP Classic file that has HTML withing
Response.Write methods...such as.
<%
Response.Write "<table><tr><td>"
Response.Write testVariable
Response.Write "</td></tr></table>"
%>

Would their be a performance hit if I were to write this instead?

<table><tr><td><%=testVariable%></td></tr></table>

I think, no, but I need some confirmation.



否。我认为在IIS4中曾经有过,但这不再是一个因素。

- -

Microsoft MVP - ASP / ASP.NET

请回复新闻组。我的From

标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复。

No. I think in IIS4, there used to be, but that is no longer a factor.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don''t check it very often. You will get a
quicker response by posting to the newsgroup.


感谢Bob!


Bob Barrows [MVP]写道:
Thanks Bob!

Bob Barrows [MVP] wrote:

Merovingian写道:
Merovingian wrote:

我正在维护ASP Classic具有HTML的文件

Response.Write方法...例如。

<%

Response.Write"< table> ;< tr>< td>"

Response.Write testVariable

Response.Write"< / td>< / tr>< / table> ;"

%>


如果我这样做,他们的表现会受到影响吗?


< table>< tr>< td><%= testVariable%>< / td>< / tr>< / table>


我想,不,但我需要一些确认。
I''m maintaining an ASP Classic file that has HTML withing
Response.Write methods...such as.
<%
Response.Write "<table><tr><td>"
Response.Write testVariable
Response.Write "</td></tr></table>"
%>

Would their be a performance hit if I were to write this instead?

<table><tr><td><%=testVariable%></td></tr></table>

I think, no, but I need some confirmation.



编号我认为在IIS4中曾经有过,但这不再是一个因素。

-

Microsoft MVP - ASP / ASP.NET

请回复新闻组。我的From

标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复

No. I think in IIS4, there used to be, but that is no longer a factor.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don''t check it very often. You will get a
quicker response by posting to the newsgroup.


这篇关于ASP经典性能问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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