O'Reilly logo
  • Ryan Garrett thinks this is interesting:

using System.Web.Mvc;
using EssentialTools.Models;
using Ninject;

namespace EssentialTools.Controllers {

    public class HomeController : Controller {

        private Product[] products = {
            new Product {Name = "Kayak", Category = "Watersports", Price = 275M},
            new Product {Name = "Lifej...

From

Cover of Pro ASP.NET MVC 5, Fifth Edition

Note

How to integrate NINject