Chapter 4

Fine-tuning the ASP.NET MVC 4 Project for Performance

EXERCISES AND EXAMPLES

IN THIS CHAPTER

  • Capturing performance statistics with Fiddler
  • Using MiniProfiler to implement a website and Web Role
  • Utilizing Internet Explorer F12 Developer tools to capture performance data
  • Using Google PageSpeed on your ASP.NET website
  • Reducing JavaScript and CSS files by bundling and minifying
  • Setting up compression and caching
  • Fine-tuning ASP.NET MVC 4 performance

Wrox.com Code Downloads for this Chapter

You can find the wrox.com code downloads for this chapter at www.wrox.com/go/azureaspmvcmigration on the Download Code tab. It is recommended that you download the code and review it so that you have a good understanding of what is about to be discussed. The steps in this chapter cover baseline performance setting techniques, and ASP.NET Web Forms and ASP.NET MVC 4 optimization features.

As discussed in the previous chapter, the performance of your system is critical to its success. If your website runs slow, visitors are very unlikely to return to it. This chapter has examples and tips on how to fine-tune and optimize the ASP.NET, ASP.NET MVC 4 website, and ASP.NET MVC 4 Web Role.

Before you begin implementing any change, it is always a good idea to set a performance baseline for what you are about to change. By doing this, you can see how the change impacts your system. You may be surprised that a change you expected to have a big impact actually had no or even a negative impact. However, ...

Get Windows Azure and ASP.NET MVC Migration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.