Fast ASP.NET Websites
Dean Alan Hume
  • August 2013
  • ISBN 9781617291258
  • 208 pages
  • printed in black & white

A clear and effective guide to the art of ASP.NET performance tuning.

Bryn Keller, Jenkon

Fast ASP.NET Websites delivers just what it promises -- practical, hands-on guidance to create faster, more efficient ASP.NET sites and applications. This book offers step-by-step .NET-specific examples showing you how to apply classic page optimization tips, ASP.NET-specific techniques, and ways to leverage new HTML5 features.

About the Technology

There's a real cost to inefficient HTTP requests, overloaded data streams, and bulky scripts. Server throughput is a precious commodity, and seconds -- even tiny fractions of a second -- can seem like an eternity while a visitor waits for your site to load. As an ASP.NET developer, there are dozens of techniques you can apply immediately to make your sites and applications faster. You'll find them here.

Table of Contents detailed table of contents



about this book

Part 1 Defining performance

1. High-speed websites

1.1. Why optimize?

1.2. The financial impact

1.3. How to optimize

1.4. Where to optimize

1.5. The Performance Golden Rule

1.6. Summary

2. First steps toward a faster website

2.1. The basics of HTTP

2.2. Empty cache vs. primed cache

2.3. Tips and tools for interpreting performance charts

2.4. Performance rules to live by

2.5. Summary

Part 2 General performance best practices

3. Compression

3.1. What is compression?

3.2. Why should I use compression?

3.3. Pros and cons of compression

3.4. Types of compression

3.5. Accept-Encoding

3.6. The Surf Store application

3.7. Adding compression to your website

3.8. The results

3.9. Summary

4. Caching: The sell-by date

4.1. What is HTTP caching?

4.2. IIS and HTTP caching

4.3. Web.config settings

4.4. Caching considerations

4.5. Output caching

4.6. The results of HTTP caching

4.7. Summary

5. Minifying and bundling static files

5.1. What is minification?

5.2. What is bundling?

5.3. New bundling and minifying features in ASP.NET 4.5

5.4. Utilizing bundling in ASP.NET MVC

5.5. Utilizing bundling in ASP.NET Web Forms

5.6. The results

5.7. Summary

6. HTML optimization tips

6.1. Where to position CSS and JavaScript in a web page to achieve the best performance

6.2. How the order of styles and scripts affects rendering

6.3. HTML5

6.4. A note on HTML5 browser support

6.5. HTML5 application cache

6.6. Summary

7. Image optimization

7.1. What’s the big deal with image optimization?

7.2. Online image optimization tools

7.3. Command line image optimization tools

7.4. Image Optimizer — a Visual Studio extension

7.5. Using data URIs

7.6. The importance of specifying image dimensions

7.7. The results

7.8. Summary

8. ETags

8.1. What are ETags?

8.2. Why should I change ETags?

8.3. Removing ETags in ASP.NET Web Forms and ASP.NET MVC applications

8.4. The results

8.5. Summary

9. Content Delivery Networks

9.1. What is a Content Delivery Network?

9.2. CDN options

9.3. Domain sharding

9.4. Developing with a CDN

9.5. The results

9.6. Summary

Part 3 ASP.NET-specific techniques

10. Tweaking ASP.NET MVC performance

10.1. Using only the view engines that you need

10.2. Release mode vs. Debug mode

10.3. The importance of a favicon

10.4. Utilizing a code profiler

10.5. Summary

11. Tweaking ASP.NET Web Forms performance

11.1. HTML improvements

11.2. Web.config settings

11.3. Response.Redirect vs. Server.Transfer

11.4. Utilizing a code profiler

11.5. Fixing the issue

11.6. Summary

12. Data caching

12.1. Server-side data caching

12.2. System.Runtime.Caching

12.3. What should I cache?

12.4. The sample application

12.5. Notes on distributed caching

12.6. Summary

12.7. Look at how far you’ve come!



What's inside

  • Drastically improved response times
  • Tips for Webforms and ASP.NET MVC sites
  • Optimizing existing pages
  • .NET-specific examples

About the reader

Readers should be familiar with basic HTML, CSS, and ASP.NET concepts.

About the author

Dean Hume is a software developer and blogger based in the U.K. A passionate techie, he created the ASP.NET HTML5 toolkit and blogs regularly about web performance at

placing your order...

Don't refresh or navigate away from the page.
print book $20.99 $34.99 pBook + eBook + liveBook
Additional shipping charges may apply
Fast ASP.NET Websites (print book) added to cart
continue shopping
go to cart

eBook $22.39 $27.99 3 formats + liveBook
Fast ASP.NET Websites (eBook) added to cart
continue shopping
go to cart

Prices displayed in rupees will be charged in USD when you check out.
customers also reading

This book 1-hop 2-hops 3-hops

FREE domestic shipping on three or more pBooks