• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Optimizing ASP.NET application performance: tough but necessary
 

Optimizing ASP.NET application performance: tough but necessary

on

  • 6,463 views

Learn why it's crucial to optimize ASP.NET application performance and how to use various technics to reach 100 grade both in YSlow and Page Slow tools. Technics to be described: - tools: YSlow, Page ...

Learn why it's crucial to optimize ASP.NET application performance and how to use various technics to reach 100 grade both in YSlow and Page Slow tools. Technics to be described: - tools: YSlow, Page Slow, Fiddler - javascript and css minification including related tools - image optimization and sprites including related tools - tuning IIS for performance - separating static content and using CDNs - ASP.NET server side profiling with MVC Profiler - client side profiling with Web Beacons and HTML5 Navigation Timing

Statistics

Views

Total Views
6,463
Views on SlideShare
4,133
Embed Views
2,330

Actions

Likes
0
Downloads
21
Comments
0

11 Embeds 2,330

http://sergejus.blogas.lt 2094
http://dotnetgroup.dev 184
http://feeds2.feedburner.com 22
http://dotnetgroup.lt 11
http://coderwall.com 6
http://webcache.googleusercontent.com 6
http://www.dotnetgroup.lt 2
http://localhost 2
http://www.rssmountain.com 1
http://m.dotnetgroup.dev 1
http://sergejus.blogas.lt. 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Moved CSS to the separate file /css/style.cssMoved JavaScript to the separate file /js/functions.jsCombined CSS, references left at topCombined JavaScript, references moved to the bottomOptimized imagesCreated CSS sprite image, used inlined imagesAdded favicon.icoEnabled GzipAddedUseMaxAge headerAdded ETag header with the empty valueEnsure changes have been applied using Fiddler
  • Enable IIS logsRun Log Parser query #1 (popular requests)Run Log Parser query #2 (slowest requests)Uncomment Mini Profiler initializationGo to /feedback/index action and show resultsComment Thread.Sleep within /feedback/index actionOpen Chrome Developer Tools (CTRL + SHIFT + I)Enter window.performance.timing

Optimizing ASP.NET application performance: tough but necessary Optimizing ASP.NET application performance: tough but necessary Presentation Transcript

  • Optimizing ASP.NET applicationperformance: tough butnecessarySergejus Barinovas@sergejusb | sergejus.barinovas@gmail.com
  • Why web performance isimportant?
  • Source: Performance Related Changes and their User Impact by Eric Schurman and Jake
  • Performance is a feature and itcosts
  • Mobile feedback appAgile Tour Vilnius 2011
  • Client side optimizationTough, but here are several hints for you…
  • Firebug
  • Yahoo! best practices for speeding up web siteGoogle web performance best practices YSlow Page Speed
  • Fiddler
  • Lets optimize mobile feedbackapp!Demo: client side optimization
  • SquishItImage OptimizerSprite and Image Optimization
  • YUICompressor Smush.itAjaxMin PunyPNGClosure compiler YUICompressorYUICompressor AjaxMinAjaxMin CSSTidyPacker MinifyJSMin CSSCompressor
  • Server side optimizationEven tougher and in most cases “it depends”…
  • Microsoft Log Parser Mini ProfilerHTML5 Navigation Timing
  • DemoLearning page usage and load times
  • Apache Bench
  • Now go and optimize youASP.NET applicationperformance!
  • Thank you! Questions?@sergejusb | sergejus.barinovas@gmail.com