Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 24th, 2003, 06:45 PM
Authorized User
 
Join Date: Oct 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Default Does Repeater put a strain on server?

I'm wondering about something. When I used ASP I got an advice from a tutor. He said to be carefull not to use too many <%%> inside my code because it put a strain on the server.
I'm now started using ASP.NET, and I've played around with repeaters. And I'm looking at all these <%%> inside a repeter.. does it put an unessecary strain on the server copared to make some if.. ..then response.write("<P> this text " & strVar & " is a text") in code behind instead???


Any thoughts?

------------------------
All help is Good help!
Regards
Michael
__________________
------------------------
All help is Good help!
Regards
Michael
 
Old October 27th, 2003, 12:06 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I think you are safe to use those in your ASP.Net ASPX files as the examples for the repeater controls do. Although it probably does put more strain on the server than not using them at all, it should do much harm. Depending on what you are trying to acheive with your repeater control, you might be able to use some other controls that are better suited (like the datagrid or datalist controls).

Peter
 
Old October 27th, 2003, 12:46 PM
Authorized User
 
Join Date: Oct 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanx for replying Peter.. I was mainly wondering because some of my site will eventually have 4k - 6k rows. And I thought that a repeater that loops through these and making 4 to 8 <%%> pr. row will strain the server quite much. But then I found a sample code on how to make typical Next Page, Previous Page work with repeater, so now it's not too bad (50 rows pr page only).

------------------------
All help is Good help!
Regards
Michael





Similar Threads
Thread Thread Starter Forum Replies Last Post
out put cyber_kaley20 Beginning PHP 2 October 5th, 2008 07:46 PM
where to put my connectionstring pascali70 C# 10 June 22nd, 2007 05:09 AM
out put file kgoldvas XSLT 3 January 26th, 2006 10:34 AM
web stats using db. Cause server strain? SoC SQL Server ASP 1 September 27th, 2005 06:20 AM
How to put a break point in server side script swagatika General .NET 0 September 22nd, 2005 09:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.