Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Cover
Title
Copyright
Dedication
Contents at a Glance
Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: The Need for Modern Web Applications
1-1. Developing Modern Web Applications on the Microsoft Platform
Is ASP.NET a Dying Technology?
1-2. Learning Through Recipes
1-3. An Outline of This Book
Chapter 2: Understanding ASP.NET MVC
Chapter 3: Setting Up Your Environment
Chapter 4: Visual Studio 2012 Overview
Chapter 5: Getting the Most from the Built-in Templates
Chapter 6: Architecting Applications with ASP.NET MVC
Chapter 7: Solution Design
Chapter 8: Asynchronous Programming with ASP.NET MVC
Chapter 9: Test-Driven Development with ASP.NET MVC 4
Chapter 10: Moving from Web Forms to ASP.NET MVC
Chapter 11: Creating Modern User Experiences Using jQuery, Knockout, and Web API
Chapter 12: Mobile, Social, and Cloud Technologies
1-4. Finding the Recipes That You Need
Recommended Recipes for People New to Web Development
Recommended Recipes for Experienced ASP.NET Web Forms Developers
Recommended Recipes for Architects and Technical Leads
Recommended Recipes for Cloud Developers
Recommended Recipes for Developers New to jQuery and Knockout
1-5. The Code Samples
About the Sample Database
Install SQL Server Express with Tools
Installing the Sample Database
About the Shared Library
Chapter 2: Understanding ASP.NET MVC
2-1. Understanding the Microsoft Web Development Ecosystem
Problem
Solution
How It Works
2-2. Understanding the Differences Between the Versions of the MVC Framework
Problem
Solution
How It Works
2-3. Understanding the MVC Pattern
Problem
Solution
How It Works
2-4. Understanding the Differences Between MVC, MVVM, and MVP
Problem
Solution
How It Works
2-5. Deciding Between MVC and Web Forms
Problem
Solution
How It Works
2-6. Understanding the ASP.NET MVC Framework Architecture
Problem
Solution
How It Works
2-7. Understanding Models
Problem
Solution
How It Works
Creating Composite Models
Using the Entity Framework
2-8. Understanding Controllers and Actions
Problem
Solution
How It Works
2-9. Understanding Page Routing
Problem
Solution
How It Works
2-10. Understanding View Engines
Problem
Solution
How It Works
2-11. Choosing a View Engine
Problem
Solution
How It Works
2-12. Understanding Razor Syntax
Problem
Solution
How It Works
2-13. Installing an Alternative View Engine
Problem
Solution
How It Works
Chapter 3: Setting Up Your Environment
3-1. Acquiring the Ideal Developer Hardware
Problem
Solution
How It Works
3-2. Choosing an Operating System for Your Development Machine
Problem
Solution
How It Works
3-3. Choosing Between IIS Express, IIS 8, and the Visual Studio Development Server
Problem
Solution
How It Works
3-4. Filling Your Development Toolbox
Problem
Solution
3-5. Installing Hyper-V and Setting Up a Virtual Machine
Problem
Solution
How It Works
3-6. Connecting to a Remote Development Machine Using RDP
Problem
Solution
How It Works
3-7. Installing Visual Studio 2012
Problem
Solution
How It Works
3-8. Installing Visual Studio MVC 4 Add-on for Visual Studio 2010
Problem
Solution
How It works
3-9. Installing IIS
Problem
Solution
How It Works
3-10. Configure Your MVC Project to Use IIS Rather Than IIS Express
Problem
Solution
How It Works
3-11. Configure an Application Pool to Use an Application Identity
Problem
Solution
How It Works
3-12. Configuring Visual Studio to Automatically Launch As Administrator
Problem
Solution
How It Works
3-13. Setting Up a Shared Instance of LocalDB
Problem
Solution
How It works
Chapter 4: Visual Studio 2012 Overview
4-1. Understanding Visual Studio 2012
Problem
Solution
How It Works
4-2. Changing the Style of the Visual Studio Menu
Problem
Solution
How It Works
4-3. Changing the Visual Studio Color Scheme
Problem
Solution
How It works
4-4. Installing Visual Studio Documentation for Offline Use
Problem
Solution
4-5. Resetting the Default Visual Studio Window Layout
Problem
Solution
How It works
4-6. Creating a Custom Toolbar
Problem
Solution
How It Works
4-7. Navigating a Large Razor View or HTML File
Problem
Solution
How It Works
4-8. Using the Page Inspector to Troubleshoot CSS Layout Bugs
Problem
Solution
How It Works
4-9. Using the Page Inspector While Debugging
Problem
Solution
How It Works
4-10. Understanding Visual Studio’s Debugging Windows
Problem
Solution
How It Works
4-11. Setting a Conditional Breakpoint
Problem
Solution
How It works
4-12. Using the Output Window
Problem
Solution
How It Works
4-13. Using the Extension Manager to Find and Install Add-ons for Visual Studio
Problem
Solution
How It Works
4-14. Visual Studio Keyboard Shortcuts
Problem
Solution
How It Works
Chapter 5: Getting the Most from the Built-in Templates
5-1. Choosing an ASP.NET MVC 4 Project Template
Problem
Solution
How It Works
5-2. Creating a Simple Web Site Using the ASP.NET MVC 4 Empty Template
Problem
Solution
How It Works
5-3. Creating a Simple Form with Validation Using the ASP.NET MVC 4 Basic Template
Problem
Solution
How It Works
5-4. Creating an Intranet Site That Uses Windows Authentication Using the ASP.NET MVC 4 Intranet Template
Problem
Solution
How It Works
5-5. Configuring Windows Authentication Using the Web.config File
Problem
Solution
How It Works
5-6. Creating an Internet Site That Uses Forms Authentication Using the Internet Application Template
Problem
Solution
How It Works
5-7. Modifying an Internet Site to Use a Custom SQL Server Database
Problem
Solution
How It Works
5-8. Customizing the Registration Page on an Internet Site Created with the ASP.NET MVC 4 Internet Template
Problem
Solution
How It Works
Chapter 6: Architecting Applications with ASP.NET MVC
6-1. Understanding the Role of the Architect
Problem
Solution
How It Works
6-2. Understanding the Buy or Build Decision
Problem
Solution
How It Works
6-3. Deciding Between a Public Cloud and a Private Data Center
Problem
Solution
How It Works
6-4. Determining the Size of Your Application’s Local Network
Problem
Solution
How It Works
6-5. Determining Which Operating System to Deploy
Problem
Solution
How It Works
6-6. Documenting Your Architecture
Problem
Solution
How It Works
6-7. Architecting an ASP.NET MVC Application for the Internet
Problem
Solution
How It Works
6-8. Architecting a Large-Scale Internet Application
Problem
Solution
How It Works
6-9. Architecting a Line-of-Business Application with ASP.NET MVC
Problem
Solution
How It Works
6-10. Configuring SQL Server to Use a Custom Port
Problem
Solution
How It Works
Chapter 7: Solution Design
7-1. Designing a View That Requires Data from Multiple Models
Problem
Solution
How It Works
7-2. Using Partial Views to Construct a Composite User Interface
Problem
Solution
How It Works
7-3. Creating a Model Using Entity Framework Database First
Problem
Solution
How It Works
7-4. Creating a Model Using Entity Framework Database First with Oracle
Problem
Solution
How It Works
7-5. Creating a Model Using Entity Framework Model First
Problem
Solution
How It Works
7-6. Creating a Model Using Entity Framework Code First
Problem
Solution
How It Works
7-7. Improving Application Startup Performance
Problem
Solution
How It Works
7-8. Encrypting the Connection Strings in Your Web.config File
Problem
Solution
How It Works
7-9. Using Areas to Organize a Large ASP.MVC Project
Problem
Solution
How It Works
7-10. Disabling Automatic Table Creation with the Simple Membership Provider
Problem
Solution
How It Works
Chapter 8: Asynchronous Programming with ASP.NET MVC
8-1. Using Async Actions
Problem
Solution
How It Works
8-2. Running Several Asynchronous Calls in Parallel Inside an Action Method
Problem
Solution
How It Works
8-3. Consuming WCF Service from an MVC 4 Project
Problem
Solution
How It Works
8-4. Boosting the Performance of Task-Based Asynchronous Communications Using Caching
Problem
Solution
How It Works
8-5. Using IL Disassembler to See Code Generated by the C# Compiler
Problem
Solution
How It Works
8-6. Understanding Threading in IIS
Problem
Solution
How It Works
8-7. Using Internet Information Services (IIS) Request Monitoring and Tracing
Problem
Solution
How It Works
Chapter 9: Test-Driven Development with ASP.NET MVC 4
9-1. Using Testing to Improve the Quality of Your ASP.NET MVC Application
Problem
Solution
How It Works
9-2. Creating Unit Tests for a Controller Action Using MS Test
Problem
Solution
How It Works
9-3. Understanding Test-Driven Development Strategies
Problem
Solution
How It Works
9-4. Defining a Naming Convention for Your Unit Tests
Problem
Solution
How It Works
9-5. Selecting a Unit Test Framework
Problem
Solution
How It Works
9-6. Downloading and Installing NUnit
Problem
Solution
How It Works
9-7. Creating Unit Tests for Controller Actions Using NUnit
Problem
Solution
How It Works
9-8. Mocking a Repository with Moq
Problem
Solution
How It Works
Chapter 10: Moving From Web Forms to ASP.NET MVC
10-1. Creating a Simple Data List Using ASP.NET MVC
Problem
Solution
How It Works
10-2. Creating a Multiple Column Data List Using a Custom HTML Helper Extension
Problem
Solution
How It Works
10-3. Creating a Data Grid with Paging, Sorting, and Filtering Support
Problem
Solution
How It Works
10-4. Creating a Data Grid That Allows Inline Editing
Problem
Solution
How It Works
10-5. Creating a Master/Details View in ASP.NET MVC
Problem
Solution
How It Works
10-6. Custom Validators in ASP.NET MVC
Problem
Solution
How It Works
10-7. Moving from Master Pages in ASP.NET Web Forms to Layout Pages in Razor
Problem
Solution
How It Works
10-8. Creating a Multipage Wizard Using ASP.NET MVC
Problem
Solution
How It Works
10-9. Adding MVC to a Web Forms Project
Problem
Solution
How It Works
Chapter 11: Creating Modern User Experiences Using jQuery, Knockout.js, and Web API
11-1. Creating an Adaptive Multicolumn Layout Using CSS Media Queries
Problem
Solution
How It Works
11-2. Creating a Data Grid That Can Page and Sort Without Full-Page Postbacks
Problem
Solution
How It Works
11-3. Implementing Two-Way Data Binding Using Web API and Knockout
Problem
Solution
How It Works
11-4. Creating a Custom Route for an API Controller
Problem
Solution
How It Works
11-5. Using Fiddler to Debug a Web API
Problem
Solution
How It Works
Chapter 12: Mobile, Social, and Cloud Technologies
12-1. Using Facebook As Your MVC Web Site’s Identity Provider
Problem
Solution
How It Works
12-2. Creating a Facebook Canvas Page Application with ASP.NET MVC
Problem
Solution
How It Works
12-3. Setting Up Your Development for Working with Windows Azure
Problem
Solution
How It Works
12-4. Storing and Retrieving Files on Windows Azure from an ASP.NET MVC 4 Application
Problem
Solution
How It Works
12-5. Using Fiddler 2 to Help Debug Azure Calls to the Storage Emulator
Problem
Solution
How It Works
12-6. Which Is Better: a Mobile Web Application or a Native Device Application?
Problem
Solution
How It Works
12-7. Creating a Mobile Web Application Using jQuery Mobile and ASP.NET MVC 4
Problem
Solution
How It Works
12-8. Testing Your Mobile Web Application
Problem
Solution
How It Works
Index
← Prev
Back
Next →
← Prev
Back
Next →