A clear and effective guide to the art of ASP.NET performance tuning.
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 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
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
Part 2 General performance best practices
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.6. The Surf Store application
3.7. Adding compression to your website
3.8. The results
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
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
6. HTML optimization tips
6.2. How the order of styles and scripts affects rendering
6.4. A note on HTML5 browser support
6.5. HTML5 application cache
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
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
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
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
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
12. Data caching
12.1. Server-side data caching
12.3. What should I cache?
12.4. The sample application
12.5. Notes on distributed caching
12.7. Look at how far you’ve come!
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.
- Drastically improved response times
- Tips for Webforms and ASP.NET MVC sites
- Optimizing existing pages
- .NET-specific examples
placing your order...Don't refresh or navigate away from the page.