Pro ASP.NET MVC 5 Platform

Book description

The power of ASP.NET MVC 5 stems from the underlying ASP.NET platform. To make your ASP.NET MVC applications the best they can be, you need to fully understand the platform features and know how they can be used to build effective and elegant MVC framework applications.

The ASP.NET platform provides ASP.NET MVC applications with a rich suite of services including vital every-day features like extensible request handling, state management, and user authentication. Understanding how these features work is the difference between creating an average web application and the best-in-class.

MVC applications that are architected with a thorough knowledge of the underlying platforms are faster to write, faster to run, and more readily adaptable to change. In Pro ASP.NET MVC 5 Platform, best-selling author Adam Freeman explains how to get the most from the entire ASP.NET platform, beginning with a nuts-and-bolts description of the patterns and tools you need through to the most advanced features. He goes in-depth at every stage to give you the practical knowledge that you need to apply these concepts to your own code.

What you'll learn

  • Understand how ASP.NET MVC 5 is built on the ASP.NET platform.

  • Create scalable MVC framework web applications that work in harmony with the underlying platform

  • Understand the ASP.NET Lifecycle and how it affects the whole ASP.NET stack

  • Extend and Customize the ASP.NET platform to suit your MVC5 web application

  • Who this book is for

    The book is ideal for anyone wanting to use ASP.NET MVC 5 in a professional context. It works particularly well as a compliment to Adam Freeman's other ASP.NET MVC titles Pro ASP.NET MVC 5, Pro ASP.NET MVC 5 Client, and Expert ASP.NET Web API 2 for MVC Developers.

    Table of contents

    1. Title Page
    2. Dedication
    3. Contents at a Glance
    4. Contents
    5. About the Author
    6. About the Technical Reviewer
    7. PART 1: Getting Ready
      1. CHAPTER 1: Putting the ASP.NET Platform in Context
        1. What Is the ASP.NET Platform?
        2. What Do You Need to Know?
        3. What’s the Structure of This Book?
        4. Are There Lots of Examples?
        5. Where Can You Get the Example Code?
        6. What Software Do You Need for This Book?
        7. Summary
      2. CHAPTER 2: Pattern and Tools Primer
        1. Understanding the MVC Pattern
        2. Creating the Example Project
        3. Adding Packages to the Project
        4. Using Bootstrap
        5. Summary
    8. PART 2: The ASP.NET Platform Foundation
      1. CHAPTER 3: The ASP.NET Life Cycles
        1. Preparing the Example Project
        2. The ASP.NET Application Life Cycle
        3. The ASP.NET Request Life Cycle
        4. The ASP.NET Context Objects
        5. Summary
      2. CHAPTER 4: Modules
        1. Preparing the Example Project
        2. ASP.NET Modules
        3. Creating Self-registering Modules
        4. Using Module Events
        5. Understanding the Built-in Modules
        6. Summary
      3. CHAPTER 5: Handlers
        1. Preparing the Example Project
        2. ASP.NET Handlers
        3. Creating a Handler
        4. Creating Asynchronous Handlers
        5. Creating Modules That Provide Services to Handlers
        6. Custom Handler Factories
        7. Summary
      4. CHAPTER 6: Disrupting the Request Life Cycle
        1. Preparing the Example Project
        2. Using URL Redirection
        3. Managing Handler Selection
        4. Terminating Requests
        5. Handling Error Notifications
        6. Summary
      5. CHAPTER 7: Detecting Device Capabilities
        1. Preparing the Example Project
        2. Detecting Device Capabilities
        3. Improving Capability Data
        4. Adapting to Capabilities
        5. Summary
      6. CHAPTER 8: Tracing Requests
        1. Preparing the Example Project
        2. Logging Requests
        3. Responding to the Logging Events
        4. Tracing Requests
        5. Using Glimpse
        6. Summary
    9. PART 3: The ASP.NET Platform Services
      1. CHAPTER 9: Configuration
        1. Preparing the Example Project
        2. ASP.NET Configuration
        3. Working with Basic Configuration Data
        4. Grouping Settings Together
        5. Overriding Configuration Settings
        6. Navigating the ASP.NET Configuration Elements
        7. Summary
      2. CHAPTER 10: State Data
        1. Preparing the Example Project
        2. Application State Data
        3. Sessions and Session State Data
        4. Configuring Sessions and Session State
        5. Summary
      3. CHAPTER 11: Caching Data
        1. Preparing the Example Project
        2. Caching Data
        3. Using Advanced Caching
        4. Receiving Dependency Notifications
        5. Summary
      4. CHAPTER 12: Caching Content
        1. Preparing the Example Project
        2. Using the Content Caching Attribute
        3. Controlling Caching with Code
        4. Summary
      5. CHAPTER 13: Getting Started with Identity
        1. Preparing the Example Project
        2. Setting Up ASP.NET Identity
        3. Using ASP.NET Identity
        4. Completing the Administration Features
        5. Summary
      6. CHAPTER 14: Applying ASP.NET Identity
        1. Preparing the Example Project
        2. Authenticating Users
        3. Authorizing Users with Roles
        4. Seeding the Database
        5. Summary
      7. CHAPTER 15: Advanced ASP.NET Identity
        1. Preparing the Example Project
        2. Adding Custom User Properties
        3. Working with Claims
        4. Using Third-Party Authentication
        5. Summary
    10. Index

    Product information

    • Title: Pro ASP.NET MVC 5 Platform
    • Author(s):
    • Release date: April 2014
    • Publisher(s): Apress
    • ISBN: 9781430265412