2 Replies - 1735 Views - Last Post: 02 November 2010 - 07:59 PM Rate Topic: -----

#1 xoops  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 81
  • Joined: 06-August 09

How to increase the speed of the website in c#

Posted 02 November 2010 - 09:14 AM

Hello all,

how do I increase the speed of the website. If I has an a lot of data to be displayed on the website from sql server database ..


Thank you
Is This A Good Question/Topic? 0
  • +

Replies To: How to increase the speed of the website in c#

#2 Curtis Rutland  Icon User is online

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 4310
  • View blog
  • Posts: 7,463
  • Joined: 08-June 10

Re: How to increase the speed of the website in c#

Posted 02 November 2010 - 09:19 AM

Well, you just set Page.Speed to MaxValue. /justajoke

But seriously, that's a nebulous question. Where's your bottleneck? How are you loading data? Are your tables properly indexed?

Perhaps you could paginate the data instead of loading it all at once.

Without any context, this is impossible to answer.
Was This Post Helpful? 1
  • +
  • -

#3 d_rop4nme  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 17
  • View blog
  • Posts: 149
  • Joined: 18-April 10

Re: How to increase the speed of the website in c#

Posted 02 November 2010 - 07:59 PM

D_rop4nme = just read this and wants to looks smart :oops:
Caching in ASP.NET ...

Quote

Caching is the technique of storing an in-memory copy of some information that’s expensive to create.
For example, you could cache the results of a complex query so that subsequent requests don’t need to
access the database at all. Instead, they can grab the appropriate object directly from server memory—
much faster proposition. The real beauty of caching is that unlike many other performance-enhancing
techniques, caching bolsters both performance and scalability. Performance is better because the time
taken to retrieve the information is cut down dramatically. Scalability is improved because you work
around bottlenecks such as database connections. As a result, the application can serve more
simultaneous page requests with fewer database operations.

~ASP.NET in C#

This post has been edited by d_rop4nme: 02 November 2010 - 08:00 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1