Listing 6-1. The Product Model Class using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace EssentialTools.Models { public class Product { public int ProductId { get; set; } public string Name { get; set; } pub…
Listing 4-1. The Initial Content of the Home Controller using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace LanguageFeatures.Controllers { public class HomeController : Controller { pub…
Listing 2-1. The default contents of the HomeController class using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace PartyInvites.Controllers { public class HomeController : Controller { p…
Listing 5-1. Creating a Simple Domain Model Class using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Razor.Models { public class Product { public int ProductId { get; set; } public string Name { get; set; }…
Listing 3-1. The C# Auction Domain Model using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MvcPattern.Models { public class Member { public string LoginName { get; set; } // The unique key public int Reput…
Android UI Layouts: Graphics Design Using the ViewGroup Class Android ViewGroup Superclass: A Foundation for Layouts The ViewGroup LayoutParams Class: Layout Parameters Deprecated Layouts: AbsoluteLayout and SlidingDrawer absoluteLayout 3 version 1.5…