DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

40
kicks
published 8 months, 23 days ago, submitted by k000der 8 months, 23 days ago

sitepoint.com — Sample chapter from the book "The ASP.NET 2.0 Anthology". Many nice tricks to improve the performance of you site/app.

Add a comment 4 comments | category: | Views: 2 | Get KickIt image code
tags: , , , | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
Check out page 5 (http://www.sitepoint.com/article/aspnet-performance-tips/5) - I mentioned Gavin's Reluctant Cache Pattern, which is used on DotNetKicks.
posted by jongalloway jongalloway 8 months, 23 days ago
Thanks for mentioning the pattern Jon, I guess I'll have to add it back into DNK (it was removed just before opening the source).
posted by gavinjoyce gavinjoyce 8 months, 23 days ago
The Reluctant Cache Pattern is susceptible to stampeding requests, especially if retrieving the data takes a long time.

I'd never use the ASP.NET cache anyhow. A distributed cache with a near/far cache mechanism makes the RCP irrelevant.

The session viewstate example is hopelessly useless. ASP.NET 2.0 comes with a SessionPageStatePersister type. And there's way easier and much better ways to override the default page viewstate persister than the terribly outdated example given.
posted by foobar 8 months, 23 days ago
@foobar: regarding "And there's way easier and much better ways to override the default page viewstate persister than the terribly outdated example given."
I don't agree on your assessment (if only the vehemence). The .NET 2.0 options (including SessionPageStatePersister) have their pitfalls as well.
See http://ajdotnet.wordpress.com/2007/03/17/get-view-state-off-__viewstate/
posted by ajdotnet 8 months, 22 days ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge