.NETGURU
ASPFriends.com 'aspngspeed' list
Up to: Discussion Lists

  • RSS Syndication
  • Latest Discussions Archive
    performance - ASP vs ASP.NET (8 replies)
    ASPFriends.com 'aspngspeed' list
    Moved from [aspngfreeforall] to [aspngspeed] by Victor Von Doom doctordoom@aspelite.com Hi A friend of mine who is into ASP argues that ASP is much faster than ASP.NET.. that is render/display/data access. He says this whole dataset thing is bound to be heavy and performance killer. he doesn't know much about ASP.NET I only know a little more than him but believe in ASP.NET as it wouldn't have com...
    ASP.NET Page Reload and Responsiveness (2 replies, VIP)
    ASPFriends.com 'aspngspeed' list
    Moved from [aspngcs] to [aspngspeed] by Victor Von Doom doctordoom@aspelite.com I have a ASP.NET page which displays 4 dropdownlists databound to a dataset. I have to populate each dropdownlist based on the selected value of the previous one. Changing any value in any serverside controls causes a postback after completing the processing on server side (which i have optimized using cached datasets ...
    data access base class (3 replies)
    ASPFriends.com 'aspngspeed' list
    Copied from [aspngarchitecture] to [aspngspeed] by Alex Lowe webmaster@asp grandrapids.net I have been wondering if there was a drop in speed when using a abstract data access base class and a DAL like the Microsoft Data Access Application Block (DAAB) Versus a single DAL like the IBuySpy approach. So I ran a test last night using Application centre test and one .aspx page for each approach both p...
    slow postback (7 replies)
    ASPFriends.com 'aspngspeed' list
    I made a guestbook that does the following when a new message is added: add message to SQL Server db resize 2 uploaded images send up to 10 MSN messages out. When a new message is added I only want to show a message "thank you" to the user. The problem now is that the above mentioned actions can take up to 10 seconds to complete witch is too long to just say "thank you". Is there a way to immediat...
    datagrid paging (2 replies)
    ASPFriends.com 'aspngspeed' list
    Just to confirm, the datagrid paging will page once all the records are first send to the server and then filter out the appriopriate page? Meaning if there are 1 million rows in the database server, all rows will be sent to the IIS server and then filtered for the correct page and then sent to client?
    DataReader and DataTable (3 replies)
    ASPFriends.com 'aspngspeed' list
    Hi, List! As it is adviced, I want to use DataReader as more fast way to grab data from DB, since I do not need advanced features of DataSet. What I need is just to open connection, get data, close connection. The problem is that DataReader does not provide disconnected access to data. Which means that I cannot close database connection until I specificly read and save data provided by reader. Thi...
    local XML file or trip to SQL DB? (2 replies)
    ASPFriends.com 'aspngspeed' list
    Moved from [aspngdata] to [aspngspeed] by Chaz charlesmarkcarroll@yahoo.com Which is faster: reading and writing to and from a tiny XML file on the web server, or reading and writing to and from the SQL DB on the same box as the web server? The purpose is to simulate IIS Logging, but with some custom items I need. I don't wantto make a trip to the DB every click of every user. I think it would be ...
    DataGrid vs. XML Performance (11 replies, VIP)
    ASPFriends.com 'aspngspeed' list
    I wanted to know what the performance difference was in using the DataGrid control and an asp:xml element to display a table of data. To this end, I set up both to use the same XML file as the data source and displayed the page with no formatting. The DataGrid was an order of magnitude slower than the XML/XSL transformation equivalent. I wouldn't have expected there to be so much difference. Does ...
    connection in session (2 replies)
    ASPFriends.com 'aspngspeed' list
    Hello, Hopefully Scott G. could answer this :) We have created a template that overrides system.web.ui.page, adding accessors to certian properties. Each page has access to about 4 session variables that store objects, one of those objects being the database CONNECTION object. The idea is that the connection object is a very expensive call, so we stored it in session and pass it around to function...
    try/catch vs. if null this else this (4 replies)
    ASPFriends.com 'aspngspeed' list
    Copied from [aspngcs] to [aspngspeed] by Cain Marco juggernaut@aspelite.com What are the performance recommendations for checking if something is null before doing something with it or doing a try catch? I was doing something like the following, but it looked like lots of branches and I don't know much about how the try/catch works to compare which is better. I don't care whether the string is nul...
    *** NOT ANSWERED *** Re: Caching and CallBacks (2 replies)
    ASPFriends.com 'aspngspeed' list
    A little help on this would be great I'm thinking all I need really is some code to help me spin off a new thread to do some work asynchronously (and safely). Steve Original Message From: "Steven A Smith" ssmith@aspalliance.com To: "aspngspeed" aspngspeed@aspfriends.com Sent: Wednesday, May 22, 2002 10:12 PM Subject: [aspngspeed] Caching and CallBacks I want to use callbacks to repopulate some dat...
    ASP.NET form w/lots of controls, only some are visible (3 replies)
    ASPFriends.com 'aspngspeed' list
    I've got a record with a lot of fields to edit. I'd like to edit it on a single .aspx page, so that state can be maintained entirely by the postback/viewstate model. One approach to do this is, if the form could be subdivided into 4 logical forms, for example, then we have 4 tabs on the form. We also have 4 panels, each panel holding the controls for the respective tab. A placeholder control is on...
    Raw power: isapi vs ashx (2 replies)
    ASPFriends.com 'aspngspeed' list
    My client has a GIS mapping system calculating the best cycling routes between 2 zip/post codes and showing all road intersections in between. I don't have all implementation details, but it's a c isapi dll fetching coordinates from text files and drawing the the route on a web page. Is there a way to use .NET either to port it to a DB driven app without losing the raw speed of the native isapi? W...
    The ~ sign or Request.ApplicationPath (9 replies)
    ASPFriends.com 'aspngspeed' list
    Moved from [aspngibuyspy] to [aspngspeed] by Clint Barton hawkeye@aspelite.com Hello folks, What is better? What the difference? Performance? Can somebody tell me something more about this subject? Thanks, Boah
    Output Caching Max Duration (2 replies, VIP)
    ASPFriends.com 'aspngspeed' list
    In the book, ASP.NET Unleashed, Walther claims that output caching with a duration of more than 5 minutes is treated as 5 minutes. Can someone from MS confirm or deny this? Steve Steven Smith, MCSE Internet, Microsoft MVP: ASP.NET ssmith@aspalliance.com President, ASPAlliance.com http://aspalliance.com The #1 ASP.NET Community http://aspsmith.com ASP.NET Training for ASP Developers Learning ASP.NE...
    Performance of .NET Application! (2 replies, VIP)
    ASPFriends.com 'aspngspeed' list
    Moved from [aspngcs] to [aspngspeed] by Charles M. Carroll charlesmarkcarroll@yahoo.com Anyone have any idea about performance of .NET application that is developed using C# and if same application developed using part of code (80 % using C#) and 20 % using C (6.0)?. Will the performace of application in both the case is same?. Thanks & Best Regards, Venkat
    mail send (4 replies, VIP)
    ASPFriends.com 'aspngspeed' list
    I am sending emails out, which is faster and less bandwitdh (or is it the same): 1. Loop through the list and SMTP.Send on each iteration of loop. 2. Build a string of email addresses, then SMTP.Send ONCE with all users in MailMessage.BCC ie. blind carbon copy?
    VBScript functions to VB.NET (2 replies, VIP)
    ASPFriends.com 'aspngspeed' list
    Moved from [aspngfreeforall] to [aspngspeed] by Marcie Jones marciejones@yahoo.com Hi, I have one ASP application that uses VBScript functions. The functions mainly perform varient array manipulation and string manipulations. I successfully wrote the functions in VB.NET in web forms. However, they are very slow in terms of executing as compared to VBScript. I was under impression that VB.NET will ...
    DataSet-Class Vs DataReader-Class (13 replies)
    ASPFriends.com 'aspngspeed' list
    Can someone tell me in an overloaded environment, should DataReader class be used instead of DataSet class to access the database server?
    Persisting Datasets in ASP.NET Viewstate (3 replies)
    ASPFriends.com 'aspngspeed' list
    Moved from [aspngfreeforall] to [aspngspeed] by Marcie Jones marciejones@yahoo.com After reading Stephen Ryalander's article on persisting DataSets in the ViewState http://www.aspfree.com/authors/stephen rylander/Persist.aspx and Susan Warren's (of the I Buy Spy team) great article on ViewState http://msdn.microsoft.com/library/en us/dnaspnet/html/asp11222001.asp I was wondering how would you dete...
    Pre-compile aspx files (16 replies)
    ASPFriends.com 'aspngspeed' list
    To all, I have about 70 demo .aspx files and every time a new DLL is installed, the first run of these aspx files takes a long time to run (much worst than COM ). The question is that is there a way to pre compile these aspx files with the new DLL so it'll run fast the first time in short of having to 'click' on these files manually one at a time? Thanks, Frank
    code behind (3 replies, VIP)
    ASPFriends.com 'aspngspeed' list
    hi, does the use of code behind (instead of script blocks) affect overall performance? if so, how? thanks scott
    NOT ANSWERED : Which have the best performance in Data Layer method... (3 replies)
    ASPFriends.com 'aspngspeed' list
    Copied from [aspngdata] to [aspngspeed] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hi,.. I need some advice about encapsulation technique if i want to make data layer method to be consumed for business layer or presentation layer in another class.. In case i have two way (maybe there are another way) to do with : 1. SqlDataReader public SqldataReader myDataLayer (int myParam) { SqlCommand ...
    SMTP service load with ASP.NET (5 replies)
    ASPFriends.com 'aspngspeed' list
    Hi everyone, A quickie: which of the following has less stress on a Win2000 SMTP service? one e mail message generated by an ASP.NET page sent to 1,000 recipients, all in the "To" field 1,000 e mail messages generated by an ASP.NET sent to one recipient each in the "To" field Thanks, Jason
    ASP:Literal vs. Response.Write (5 replies)
    ASPFriends.com 'aspngspeed' list
    Copied from [aspngfreeforall] to [aspngspeed] by Alex Looooooooooooowe webmaster@asp grandrapids.net This is a multi part message in MIME format. InterScan NT MIME Boundary Content Type: multipart/alternative; boundary " NextPart 001 01C1AA1E.BA0E8D28" NextPart 001 01C1AA1E.BA0E8D28 Content Type: text/plain; charset "us ascii" Content Transfer Encoding: quoted printable Hello all, 20 Wrote a littl...
    Casting Performance (4 replies)
    ASPFriends.com 'aspngspeed' list
    Moved from [aspngfreeforall] to [aspngspeed] by Charles M. Carroll charlesmarkcarroll@yahoo.com What are the pros and cons of using CType() vs. Cstr,Cbool, etc. (for vb) or (string), (int), etc. (for C#)? I'm particularly interested in performance, but any other thoughts on the matter are welcome. Thanks. Ambrose
    DataSet XML versus SQL datareader (2 replies, VIP)
    ASPFriends.com 'aspngspeed' list
    Moved from [aspngarchitecture] to [aspngspeed] by Charles M. Carroll charlesmarkcarroll@yahoo.com This is a multi part message in MIME format. NextPart 000 0048 01C1A5E1.DE0049B0 Content Type: text/plain; charset "iso 8859 1" Content Transfer Encoding: quoted printable what's faster? xml with dataset or 20 sql server with datareader im talking about small databas with 5 records 20 NextPart 000 004...
    Speed - Databind() vs Label.Text (3 replies, VIP)
    ASPFriends.com 'aspngspeed' list
    Copied from [aspngfreeforall] to [aspngspeed] by Charles M. Carroll darthcarroll@aspfriends.com This is a multi part message in MIME format. NextPart 000 0001 01C1A22F.6C57F1B0 Content Type: text/plain; charset "us ascii" Content Transfer Encoding: 7bit Hi What's the performace difference between Using Repeater and binding the data reader to it Vs Using Label server control and build the html usin...
    Timing (3 replies)
    ASPFriends.com 'aspngspeed' list
    What's the best method to use for getting the runtime of an operation? Thanks, Ryan
    System.Format... vs. Databinder.Eval (2 replies)
    ASPFriends.com 'aspngspeed' list
    What is the syntax to display a integer and varchar using System.Format? I heard it is much faster than Databinder.Eval?
    Page tuning: what happens between PreRender and SaveViewState? (3 replies)
    ASPFriends.com 'aspngspeed' list
    i was doing some server control perf testing specifically seeing how much slower asp:Label rendering is vs. writing out the span tag myself. when using trace.axd for app level tracing, i'm seeing 50% or more of the page request time occurring between aspx.page: End PreRender and aspx.page: Begin SaveViewState. what's happening between these two states? it seems to be proportional to the render tim...
    has anybody gotten GZIP compression working with an ASP.NET app? (2 replies, VIP)
    ASPFriends.com 'aspngspeed' list
    since most current browsers support this (AFAIK), it seems like a great way to scrunch down all the dynamically generated HTML from ASP.NET. has anybody figured out how to get this working, so the server returns a GZIP ed HTTP stream? Kirk Marple CTO, VP of Engineering Streaming Media Technologies, Inc. 800 5th Ave, Suite 101 358 Seattle, WA 98104 c: 206.251.4820 e: kirk@streamingmediatech.com w: ...
    Better to create new Stringbuilder or remove (2 replies)
    ASPFriends.com 'aspngspeed' list
    Moved from [aspngdata] to [aspngspeed] by Charles M. Carroll darthcarroll@asplists.com This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. NextPart 001 01C19DEC.BD18AA3C Content Type: text/plain Hi all, In situations where you find yourself using the stringbuilder in a loop, is it better to call the remove method o...
    user control design and performance questions (3 replies)
    ASPFriends.com 'aspngspeed' list
    Moved from [aspngarchitecture] to [aspngspeed] by Charles M. Carroll darthcarroll@asplists.com Is there any (significant) performance hit in using user controls (.ascx)? What about dynamically loading user controls? It certainly makes life easier to be able to encapsulate layout/functionality into user controls etc... but is there such a thing as overusing user controls? What if I have a user cont...
    Is there a faster string manipulation? (11 replies)
    ASPFriends.com 'aspngspeed' list
    Hi all, I have a function that takes in a string input and return how many lines this string will take up. This function can be called many times throughout my code. Is there a better way of doing this then the following steps: 1. split it into an array base upon the space 2. start concatenating the string together 3. checked if the concatenated string is greater then my line limit, if so incremen...
    Some info that preceeded the benchmark test.... (6 replies)
    ASPFriends.com 'aspngspeed' list
    **************************************** I posted the following to Dan Wahlin: One thing I am curious about Dan is why your ASP.net examples on your site 20 and book are so extremely mired in response.writes? sub page load(s as object, e as eventargs) for counter 3D1 TO 100 response.write (i & " br ") next end sub correct: sub page load(s as object, e as eventargs) dim sb as new stringbuilder for ...
    Page Rendering in ASP.NET (2 replies)
    ASPFriends.com 'aspngspeed' list
    Moved from [aspngarchitecture] to [aspngspeed] by Charles M. Carroll darthcarroll@asplists.com This is very alarming to me to say the least. Using trace I have encountered pages in my application that take 5 or more seconds to render. I have double checked to make certain that database i/o is not causing the problem. The page that is being rendered has three Data Grid controls on it each with more...
    Custom Class in a Session Variable (2 replies)
    ASPFriends.com 'aspngspeed' list
    Moved from [aspngdata] to [aspngspeed] by Charles Carroll darthcarroll@asplists.com I also sent this to aspngfreeforall: Hi, I was wondering what the best way is to access individual members of a custom class that are stored in a session. For instance, in the example below, is Option 1 any better than Option 2? Option 2 is less code, but it seems like it would be slower. Any thoughts? Thanks, Jon ...
    DataBinder.Eval alternative (6 replies)
    ASPFriends.com 'aspngspeed' list
    I heard I should avoid use of DataBinder.Eval because of it's late binding. Now I'm trying to rewrite some code but not sure how. What I have is: %# DataBinder.Eval(Container.DataItem, "myDate", "{:D}" % I found a way to do the same without DataBinder.Eval but I think it is also late binding. Can somebody confirm?: %# Convert.ToDateTime(((DataRowView)Container.DataItem)["myDate"]).ToString("d MMM ...
    Visit the archive for messages from this site.
  • October 2001 (1 item)
  • November 2001 (1 item)
  • December 2001 (1 item)
  • January 2002 (10 items)
  • February 2002 (7 items)
  • March 2002 (3 items)
  • April 2002 (2 items)
  • May 2002 (5 items)
  • June 2002 (5 items)
  • July 2002 (1 item)
  • August 2002 (3 items)
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification