Index
A
- AccountController contexts / AccountController contexts
- Action HTML helper / Html.RenderAction and Html.Action
- aggregates, DDD
- about / Aggregates
- ale yeast
- about / Ale versus lager
- AllowHtml property
- about / AllowHtml
- Android SDK
- Appcelerator
- about / PhoneGap and Appcelerator
- URL / PhoneGap and Appcelerator
- AreaRegistration.RegisterAllAreas method / Registering the Review area
- areas
- about / Areas
- review area, creating / Creating the review area
- review area, registering / Registering the Review area
- recipe review controller / The Recipe review controller
- recipe review view models / Recipe review view models
- recipe review action methods / Recipe review action methods
- views, creating / Creating the views
- area route values / Area route values
- namespaces, routing / Routing namespaces
- article tag
- about / The article tag
- ASP.NET MVC 4
- MVC pattern / The Model-View-Controller pattern
- MVC pattern, implementing / The MVC pattern and ASP.NET MVC 4
- SOLID principles / The SOLID principles
- ASP.NET MVC 4 projects
- NuGet / NuGet
- Global.asax / Global.asax
- ASP.NET MVC 4 project templates
- selecting / Choosing our template
- Empty template / The Empty template
- Basic template / The Basic template
- Internet Application template / The Internet Application template
- Intranet Application template / The Intranet Application template
- Mobile Application template / The Mobile Application template
- Web API template / The Web API template
- ASP.NET Web API
- about / ASP.NET Web API
- Asus Nexus 7
- about / Supporting Asus Nexus 7
- testing / Testing with Nexus 7
- async
- about / Async
- asynchronous controller action methods
- about / Asynchronous controller action methods
- asynchronous actions, creating / Creating asynchronous actions
- asynchronous recipe controller / An asynchronous recipe controller
- asynchronous programming
- about / Asynchronous programming
- TPL / Task Parallel Library
- async / Async
- await / Await
- asynchronous controller action methods / Asynchronous controller action methods
- asynchronous recipe controller
- attribute selectors
- about / Attribute selectors
- authorization
- about / Authorization
- access, restricting / Restricting access
- Authorize attribute / The Authorize attribute
- user contributions, authorizing / Authorizing user contributions
- UI, cleaning / Cleaning the UI
- content ownership / Content ownership
- content ownership, enabling / Enabling ownership
- content ownership, assigning / Assigning ownership
- content ownership, enforcing / Enforcing ownership
- recipe library / A recipe library
- await operator
- about / Await
B
- Basic template
- about / The Basic template
- beer recipe
- ingredients / Knowing your ingredients
- brewing / Brewing
- fermentation / Fermentation
- bottling / Bottling and kegging
- kegging / Bottling and kegging
- BrewHow, slugging
- about / Slugging BrewHow
- model slugs / Model slugs
- database, staging / Stage the database
- entities, modifying / Modifying entities
- retrieving styles / Retrieval by slug
- BrewHow app
- about / About our mobile app
- requisites / App requirements
- recipes, adding / Adding, editing, and deleting recipes
- recipes, editing / Adding, editing, and deleting recipes
- recipes, deleting / Adding, editing, and deleting recipes
- recipes, adding to library / Adding recipes to a library
- recipes, rating / Rating recipes
- recipes, commenting on / Commenting on recipes
- anonymous browsing / Anonymous browsing, authenticated contributing
- authentication / Anonymous browsing, authenticated contributing
- building / The BrewHow solution
- project, creating / Creating the project
- template, selecting / Choosing our template
- project changes, in MVC 4 / Project changes in MVC 4
- launching / Launching the BrewHow app
- responsive design / Responsive design
- emulator, configuring / Configuring and launching an emulator
- emulator, launching / Configuring and launching an emulator
- SOLIDifying / SOLIDifying BrewHow
- user authentication / User authentication
- authorization / Authorization
- mobilizing / Mobilizing BrewHow
- full-text search, adding / Full-text search
- socialization / Socialization
- BrewHow app, mobilizing
- about / Mobilizing BrewHow
- content, removing / Removing content
- content, prioritizing / Prioritizing content
- working / How it works
- header, adjusting / Adjusting the header
- home button / The home button
- users, logging in / Logging in users
- site navigation / Site navigation
- footer, creating / Creating a footer
- desktop footer / Desktop footer
- content, configuring / Configuring content
- BrewHow app, SOLIDifying
- interfaces, adding / Adding interfaces
- infrastructure / Infrastructure
- DI / Dependency Injection
- Service Locator / Service locator
- Dependency Resolver / Dependency Resolver
- conversion, completing / Completing the conversion
- BrewHowContext
- unifying / Unifying contexts
- BrewHow context class
- about / The BrewHow context
- BrewHow domain model
- about / BrewHow design
- entities / BrewHow entities
- repositories / BrewHow repositories
- consuming / Consuming the domain
- recipe view model / Recipe view model
- data annotations / Data annotations
- recipe controller / Recipe controller
- recipe views / Recipe views
- BrewHow model, altering
- relationships, adding / Adding relationships
- conventions, overriding / Overriding conventions
- migrations, enabling / Enabling migrations
- initialCreate migration / The InitialCreate migration
- configuration class / The Configuration class
- seed data, adding / Adding seed data
- migration, adding / Adding a migration
- migration, applying / Applying migrations
- BrewHow model, EF5
- about / The BrewHow model
- data, modeling / Modeling data
- database, generating / Generating our database
- altering / Altering the model
- consuming / Consuming the model
- pagination, allowing / Pagination
- BrewHow users
- authenticating / Authenticating BrewHow users
- BrewHow users authentication
- about / Authenticating BrewHow users
- SimpleMembership / SimpleMembership
- customizing / Customizing authentication
- registering / Registering and logging in
- logging in / Registering and logging in
- external authentication / External authentication
- BrewHow users authentication, customizing
- about / Customizing authentication
- SimpleMembership initialization / SimpleMembership initialization
- contexts, unifying / Unifying contexts
- UserProfile repository / The UserProfile repository
- AccountController contexts / AccountController contexts
- brewing process
- bundles
- about / Bundles
- creating / Creating bundles
- types / Bundle types
- ScriptBundles / Bundle types
- StyleBundles / Bundle types
- wildcard support / Wildcard support
- consuming / Consuming bundles
C
- @ character
- code blocks / Code blocks
- expressions / Expressions
- inline code / Inline code
- comments / Comments
- CDN
- about / Content Delivery Networks
- cached data / Cached data
- less traffic / Less traffic
- character set
- about / The character set
- Chrome for Mobile
- emulating / Emulating Chrome for Mobile
- Chunked Encoding
- about / Forever Frame
- CI
- about / Dependency Injection
- class selectors
- about / Class selectors
- Command Query Responsibility Segregation (CQRS) / BrewHow repositories
- connected state, simulating
- long polling / Long polling
- Forever Frame / Forever Frame
- SSE / Server-Sent Events
- WebSockets / WebSockets
- content, configuring
- recipe list / Recipe list
- recipe details / Recipe details
- recipe edits / Recipe edits
- reviews / Reviews
- content compression, network constraints
- about / Content compression
- server to client compression / Server to client compression
- minification / Minification
- content ownership, authorization
- enabling / Enabling ownership
- UserProfile schema mapping / UserProfile schema mapping
- users, seeding / Seeding users
- ownership migration, applying / Applying the ownership migration
- assigning / Assigning ownership
- enforcing / Enforcing ownership
- view model, adjusting / Adjusting the view model
- ensuring / Ensuring ownership
- validating / Validating ownership
- continued development constraints
- about / Continued development constraints
- processing constraints / Processing constraints
- network constraints / Network constraints
- presentation constraints / Presentation constraints
- ContinueWith method / Completion callbacks
- controller
- about / The controller
- controllers, ASP.NET MVC 4
- about / Controllers in ASP.NET MVC
- recipe controller, creating / Creating the Recipe controller
- routing / Introduction to routing
- action methods / Action methods
- ActionResults / ActionResults
- recipe controller, invoking / Invoking the Recipe controller
- conversion, BrewHow app
- IBrewHowContext / IBrewHowContext
- repositories / Repositories
- dependencies, registering / Registering dependencies
- CRUD operations
- about / The BrewHow context
- CSRF
- about / Cross-Site Request Forgery (CSRF)
- ValidateAntiForgeryToken / ValidateAntiForgeryToken
- CSS3
- about / CSS3
- media types / Media types
- CSS selectors / CSS selectors
- CSS media queries
- about / CSS media queries
- CSS selectors
- type selectors / Type selectors
- ID selectors / ID selectors
- attribute selectors / Attribute selectors
- class selectors / Class selectors
- Universal selectors / Universal selectors
- pseudo-class selectors / Pseudo-class selectors
- custom data attributes
- about / Custom data attributes
D
- data-icon data attribute / Back button
- data-roles
- about / Data-roles and data attributes
- data annotations
- about / Data annotations
- MetadataType attribute / MetadataType attribute
- database, updating / Updating the database
- validations, validating / Validating the validations
- data attributes
- about / Data-roles and data attributes
- database, EF5
- generating / Generating our database
- data modeling, EF5 BrewHow app
- Data URIs
- about / Data URIs
- data validation
- about / Data validation
- data annotations / Data annotations
- server validation / Server validation
- DbContext class
- about / The BrewHow context
- DbSet<T> class
- about / The BrewHow context
- DDD
- tenets / Tenets of DDD
- domain model / Domain model
- entities / Entities
- value objects / Value objects
- aggregates / Aggregates
- factories / Factories
- repositories / Repositories
- services / Services
- deflate / Server to client compression
- Dependency Resolver
- about / Dependency Resolver
- MefDependencyResolver class / The MefDependencyResolver class
- DI
- about / Infrastructure
- DIP
- about / Dependency Inversion Principle
- DisplayForModel helper method
- about / Html.DisplayForModel
- Display HTML helper / Html.Display
- display modes
- about / Display modes
- Asus Nexus 7 / Supporting Asus Nexus 7
- creating / Creating the display mode
- registering / Registering the display mode
- display templates, ASP.NET MVC 4
- about / Display templates
- Html.Display / Html.Display
- Html.DisplayFor / Html.DisplayFor
- Html.DisplayForModel / Html.DisplayForModel
- DOCTYPE tag
- about / The DOCTYPE tag
- Document Object Model (DOM)
- about / Pseudo-class selectors
- Document Type Definition (DTD)
- about / The DOCTYPE tag
- DoLongRunningTask method / Creating a Task
- domain model, DDD
- about / Domain model
E
- editor templates, ASP.NET MVC 4
- about / Editor templates
- EF5
- features / What's new in Entity Framework 5.0?
- BrewHow model / The BrewHow model
- Code First feature / Modeling data
- EF5 features
- performance improvements / Performance enhancements
- LocalDB support / LocalDB support
- enumeration support / Enumeration support
- Empty template
- about / The Empty template
- emulator, BrewHow app
- configuring / Configuring and launching an emulator
- launching / Configuring and launching an emulator
- entities, BrewHow domain model
- about / BrewHow entities
- Category / BrewHow entities
- Recipe / BrewHow entities
- Review / BrewHow entities
- entities, DDD
- about / Entities
- enumeration support, EF5
- about / Enumeration support
- external authentication
- enabling / External authentication
- external account, registering / Registering with an external account
- external account, associating / Associating an external account
F
- factories, DDD
- about / Factories
- fermentation
- about / Fermentation
- fieldcontain style / Fieldcontain
- footer tag
- about / The footer tag
- Forever Frame technique
- about / Forever Frame
- form controls
- about / Form controls
- form elements
- about / Form elements
- forms authentication
- about / Forms authentication
- Foundation / A responsive list
- full-text search functionality
- embedded search / Embedded search
- search boxes / Search boxes
- APIs / APIs
- Lucene.NET / Lucene.NET
- SQL Server Full-text Search / SQL Server Full-text Search
G
- Gecko
- about / Gecko
- geolocation API
- about / Geolocation
- GetHubContext<T>() method / Publishing event notifications
- Global.asax
- about / Global.asax
- gzip / Server to client compression
H
- header tag
- about / The header tag
- homebrew domain
- about / Understanding the homebrew domain
- ingredients / Knowing your ingredients
- HomeController class / Views in ASP.NET MVC
- hops
- about / Hops
- Html.DisplayFor
- about / Html.DisplayFor
- Html.Raw
- about / Html.Raw
- HTML5
- about / HTML5
- markup changes / Markup changes
- semantic tags / Semantic tags
- custom data attributes / Custom data attributes
- form controls / Form controls
- local storage / Local storage
- geolocation / Geolocation
- HTML helpers, ASP.NET MVC 4
- about / HTML helpers
- Html.RenderPartial / Html.RenderPartial and Html.Partial
- Html.Partial / Html.RenderPartial and Html.Partial
- Html.RenderAction / Html.RenderAction and Html.Action
- Html.Action / Html.RenderAction and Html.Action
- hubs, SignalR
- about / Hubs
I
- IBrewHowContext interface / IBrewHowContext
- ID selectors
- about / ID selectors
- image optimizations, network constraints
- about / Image optimizations
- lower color depth / Lower color depth
- CSS image sprites / CSS image sprites
- Data URIs / Data URIs
- infrastructure
- adding, to BrewHow app / Infrastructure
- ingredientCheck variable / Awaiting completion
- ingredients, beer recipe
- installation, jQuery Mobile
- performing / Installing jQuery Mobile
- jQuery Mobile bundle, enabling / Enabling the jQuery Mobile bundle
- results, viewing / Viewing the results
- Intelligent Terminal Transfer Protocol (ITTP) / Market fragmentation
- interfaces
- adding, to BrewHow app / Adding interfaces
- Internet Application template
- Internet Explorer Mobile
- emulating / Emulating Internet Explorer Mobile
- Intranet Application template
- iOS emulator
- IsIngredientInStock method / Awaiting completion
- IsMobileDevice / IsMobileDevice
- ISP
- about / Interface Segregation Principle
J
- jQuery Mobile
- installing / Installing jQuery Mobile
- jQuery Mobile layout
- about / jQuery Mobile's layout
- data attributes / Data-roles and data attributes
- data-roles / Data-roles and data attributes
- form elements / Form elements
- themes / Themes
- $.mobile / $.mobile
- view switcher / View switcher
- jQuery Mobile NuGet package
- about / Installing jQuery Mobile
L
- lager yeast
- about / Ale versus lager
- layout engines
- layouts, ASP.NET MVC 4
- about / Layouts
- library controller
- about / The library controller
- library data model
- about / The library data model
- library repository
- about / The library repository
- library view
- about / The library view
- LocalDB support, EF5
- about / LocalDB support
- local storage
- about / Local storage
- long polling
- about / Long polling
- LSP
- about / Liskov Substitution Principle
- Lucene.NET
- about / Lucene.NET
M
- $.mobile
- about / $.mobile
- malt
- about / Malt
- markup changes
- about / Markup changes
- DOCTYPE tag / The DOCTYPE tag
- character set / The character set
- type attributes / Type attributes
- Visual Studio 2012 support / Visual Studio 2012 support
- marshaling / BrewHow repositories
- media features
- about / Media features
- MEF
- about / Managed Extensibility Framework
- convention-based configuration / Convention-based configuration
- MefDependencyResolver class
- about / The MefDependencyResolver class
- MEF Service Locator
- about / MEF Service Locator
- using / Using the MEF Service Locator
- minification
- about / Server to client compression
- Mobile Application template
- about / The Mobile Application template
- mobile device simulators
- about / Mobile device and browser emulators
- Opera / Opera
- Android SDK / Android
- iOS / iOS
- Windows Mobile SDK / Windows Mobile
- Mobile Safari
- emulating / Emulating Mobile Safari
- mobile specific views
- creating / Mobile views
- mobile views
- .Mobile layout / A .Mobile layout
- mobile web
- history / History of the mobile web
- continued development constraints / Continued development constraints
- viewing / Viewing the mobile web
- market percentage / Market percentage
- browser variants / Browser variants and compatibility
- browser compatibility / Browser variants and compatibility
- layout engines / Browser variants and compatibility
- emulating / Emulating the mobile web
- support, in ASP.NET MVC 4 / Support for the mobile web in ASP.NET MVC 4
- mobile views / Mobile views
- display modes / Display modes
- mobile web, history
- Nokia 9000 / The Nokia 9000
- market fragmentation / Market fragmentation
- WML / WAP 1.0 and WML
- WAP 2.0 / WAP 2.0 and XHTML MP
- model
- about / The model
- model, ASP.NET MVC 4
- about / Returning a model to the view
- ViewData, using / Using ViewData
- ViewBag, using / Using ViewBag
- TempData, using / Using TempData
- strongly typed models / Strongly typed models
- recipe list, returning / Returning a Recipe list
- MVC pattern
- controller / The controller
- view / The view
- model / The model
- MVC pattern, ASP.NET MVC 4
- controllers / Controllers in ASP.NET MVC
- views / Views in ASP.NET MVC
- model / Returning a model to the view
N
- native apps
- developing / Developing native apps
- navbar widget / Navigation hints
- nav tag
- about / The nav tag
- network constraints
- about / Network constraints
- content compression / Content compression
- image optimizations / Image optimizations
- CDN / Content Delivery Networks
- Nokia 9000 / Market fragmentation
- NuGet
- about / NuGet
O
- OCP
- about / Open Closed Principle
- Opera Mobile Emulator
- orange-go class
- about / CSS image sprites
P
- PagedResult class / Pagination
- Partial HTML helper / Html.RenderPartial and Html.Partial
- partial views, ASP.NET MVC 4
- about / Partial views
- persistent connections, SignalR
- about / Persistent connections
- PhoneGap
- URL / PhoneGap and Appcelerator
- about / PhoneGap and Appcelerator
- presentation constraints
- about / Presentation constraints
- single window / Single window
- lower resolution / Lower resolution
- content spacing / Content spacing
- Presto
- about / Presto
- processing constraints
- about / Processing constraints
- pseudo-class selectors
- about / Pseudo-class selectors
R
- Razor View Engine
- about / Razor
- @ character / The @ character
- real-time behavior, BrewHow app
- connected state, simulating / Simulating a connected state
- SignalR / SignalR
- real-time recipe updates / Real-time recipe updates
- real-time recipe updates
- about / Real-time recipe updates
- SignalR, installing / Installing and configuring SignalR
- SignalR, configuring / Installing and configuring SignalR
- recipe hub, creating / Creating the recipe hub
- recipe view, modifying / Modifying the recipe list view
- event notifications, publishing / Publishing event notifications
- recipeAdded method / Publishing event notifications
- recipe controller, BrewHow domain model
- about / Recipe controller
- GET versus POST / GET versus POST
- model binding / Model binding
- recipe details, BrewHow app
- about / Recipe details
- back button / Back button
- action buttons / Action buttons
- recipe edits, BrewHow app
- about / Recipe edits
- Fieldcontain / Fieldcontain
- recipe library
- about / A recipe library
- library data model / The library data model
- library repository / The library repository
- library controller / The library controller
- library view / The library view
- recipe list, BrewHow app
- about / Recipe list
- jQuery Mobile listview / The jQuery Mobile listview
- expanded listview content / Expanded listview content
- listview filters / Listview filters
- buttons / Buttons
- navigation hints / Navigation hints
- recipe list, returning
- model, creating / Creating the model
- model, returning / Returning the model
- model, displaying / Displaying the model
- recipe view, ASP.NET MVC 4
- creating / Creating our Recipe view
- setting, as default / Making Recipe default
- recipe view model, BrewHow
- about / Recipe view model
- recipe views, BrewHow domain model
- about / Recipe views
- RegisterAllAreas method / Registering the Review area
- RegisterBundles method / Bundle types
- RenderAction HTML helper / Html.RenderAction and Html.Action
- RenderPartial HTML helper / Html.RenderPartial and Html.Partial
- repositories, BrewHow domain model
- about / BrewHow repositories
- repositories, DDD
- about / Repositories
- responsive design
- about / A responsive design
- responsive list / A responsive list
- responsive design, BrewHow app
- about / Responsive design
- reviews, BrewHow app
- about / Reviews
- IsMobileDevice / IsMobileDevice
- mobile specific views / Mobile views
- routes
- about / Routes
- locating, by style / Locating by style
- constraints, placing / Routing constraints
- style interaction / Style interaction
- recipe list, modifying / Recipe list modification
- StyleController class, creating / Style Controller and view
- view / Style Controller and view
S
- Search Engine Optimization (SEO) technique / Slugging BrewHow
- section tag
- about / The section tag
- semantic tags
- about / Semantic tags
- article / The article tag
- header / The header tag
- section / The section tag
- nav / The nav tag
- footer / The footer tag
- recipe details, modifying / Modifying recipe details
- Sent-Server Events(SSE)
- about / Server-Sent Events
- Service Locator
- about / Service locator
- MEF, using / Managed Extensibility Framework
- MEF Service Locator / MEF Service Locator
- services, DDD
- about / Services
- shared view, ASP.NET MVC 4
- about / Shared views
- SignalR
- about / SignalR
- persistent connections / Persistent connections
- hubs / Hubs
- SimpleMembership
- about / SimpleMembership
- socialization
- about / Socialization
- social media support / Social media support
- offline support / Offline support
- push notifications / Push notifications
- social media support
- about / Social media support
- recipe additions / Recipe additions
- recipe sharing / Recipe sharing
- SOLID principles
- SQL Server Full-text Search
- about / SQL Server Full-text Search
- SRP
- about / Single Responsibility Principle
- Standard Generalized Markup Language (SGML)
- about / The DOCTYPE tag
T
- Tagged Text Markup Language (TTML) / Market fragmentation
- task class
- about / Task
- TempData
- about / Using TempData
- using / Using TempData
- themes
- about / Themes
- TPL
- about / Task Parallel Library
- task class / Task
- task, creating / Creating a Task
- task completion, awaiting / Awaiting completion
- task completion callbacks / Completion callbacks
- Trident
- about / Trident
- Twitter Bootstrap / A responsive list
- type attribute
- about / Type attributes
- type selectors
- about / Type selectors
U
- Universal selectors
- about / Universal selectors
- user agent
- about / The user agent
- Internet Explorer Mobile, emulating / Emulating Internet Explorer Mobile
- Mobile Safari, emulating / Emulating Mobile Safari
- Chrome for Mobile, emulating / Emulating Chrome for Mobile
- user agent emulation
- implementing / Emulation in this book
- user authentication
- about / User authentication
- Windows authentication / Windows authentication
- forms authentication / Forms authentication
- user input validation
- data validation / Data validation
- CSRF / Cross-Site Request Forgery (CSRF)
- XSS / Cross-Site Scripting (XSS)
- UserProfile repository / The UserProfile repository
- UsersContext
- unifying / Unifying contexts
V
- ValidateAntiForgeryToken attribute / ValidateAntiForgeryToken
- ValidateInput attribute
- about / ValidateInput attribute
- value objects, DDD
- about / Value objects
- view
- about / The view
- ViewBag property
- using / Using ViewBag
- about / Using ViewBag
- ViewData property
- about / Using ViewData
- using / Using ViewData
- viewport meta tag
- about / The viewport meta tag
- views, ASP.NET MVC 4
- about / Views in ASP.NET MVC
- razor / Razor
- shared views / Shared views
- layouts / Layouts
- _ViewStart file / The _ViewStart file
- partial views / Partial views
- HTML helpers / HTML helpers
- display templates / Display templates
- editor templates / Editor templates
- recipe view, creating / Creating our Recipe view
- view switcher
- about / View switcher
- Visual Studio 2012 support
- about / Visual Studio 2012 support
W
- WaitAll method / Awaiting completion
- WAP 1.0
- about / WAP 1.0 and WML
- WAP 2.0
- about / WAP 2.0 and XHTML MP
- Web API template
- about / The Web API template
- WebKit
- about / WebKit
- WebSockets
- about / WebSockets
- white-go class
- about / CSS image sprites
- Windows authentication
- about / Windows authentication
- Windows Mobile SDK
- about / Windows Mobile
- download link / Windows Mobile
- Wireless Markup Language (WML)
- about / WAP 1.0 and WML
X
- Xamarin
- XHTML MP
- about / WAP 2.0 and XHTML MP
- XSS
- about / Cross-Site Scripting (XSS)
- ValidateInput attribute / ValidateInput attribute
- AllowHtml property / AllowHtml
- Html.Raw / Html.Raw
Y
- yeast
- about / Yeast
- ale, versus lager / Ale versus lager
- hops / Hops