Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
.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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 24th, 2003, 06:45 PM
Authorized User
 
Join Date: Oct 2003
Location: , , Norway.
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
Reply With Quote
  #2 (permalink)  
Old October 27th, 2003, 12:06 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
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
Reply With Quote
  #3 (permalink)  
Old October 27th, 2003, 12:46 PM
Authorized User
 
Join Date: Oct 2003
Location: , , Norway.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:17 AM.


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