Boosting the Performance of an ASP.NET Application Using StringBuilder Class
page 3 of 7
by Brett Burridge
Feedback
Average Rating: 
Views (Total / Last 10 Days): 29322/ 43

The Solution

Fortunately, Microsoft has included the solution to the string concatenation problem within the Framework itself.  This solution is in the form of the StringBuilder class, which may be found in the System.Text namespace.

If you are experiencing performance problems with code that performs a lot of string concatenation, then this optimization technique is well worth considering.  Note that a similar technique can also be used with ASP/VBScript and Visual Basic 6.0.  You can either write your own string builder class or use a search engine to find a prewritten algorithm.  This article describes how to implement an equivalent to the StringBuilder class in both VBScript and Visual Basic 6.0.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-07-17 8:26:18 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search