Chapter 17Real-World ASP.NET MVC: Building the NuGet.org Website

—by Phil Haack and Jon Galloway

What's In This Chapter?

  • Source code for the NuGet gallery
  • Working with WebActivator
  • How to use ASP.NET Dynamic Data
  • Using the Error Logging Module and Handler
  • Profiling basics
  • Accessing data with Code First
  • Code First migrations
  • Octopus Deploy
  • Fluent Automation
  • Some helpful NuGet packages

To learn a framework such as ASP.NET MVC, read a book. To learn to use the framework to build a real-world application, read some code. Code from a real-world implementation is a great resource to learn how to make use of the knowledge you learned from books.

The term real-world refers to an application that is actively in use and meets a business need—something you can visit now with your browser. In the heat of battle, with deadlines and changing requirements, a real-world application often looks quite a bit different from the contrived applications you see in books.

This chapter reviews a real-world application, warts and all, built with ASP.NET MVC. In fact, if you read Chapter 10, you are probably already familiar with the application. It is the NuGet Gallery. You can visit it at http://nuget.org/ to get a feeling for the public-facing feature set. Members of the ASP.NET and ASP.NET MVC team continue to be actively involved in its development.

This site is under very active use and development, so this chapter is a snapshot at a point in time. It's a look back at some of the things that have ...

Get Professional ASP.NET MVC 5 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.