professional asp.net mvc 3

433 919 0
professional  asp.net  mvc  3

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... The MvcScaffolding NuGet Package Updated Add Controller Dialog Options Using the Repository Template Adding Scaffolders Additional Resources 31 5 31 6 31 6 31 6 31 7 32 2 32 4 32 8 32 8 33 0 33 1 33 2 33 2 33 2 33 2 33 3 33 4 33 4 33 5 33 5 33 7 33 9 33 9 33 9 34 1 34 2 34 3 34 3 34 4 34 4 34 7 34 7 Advanced Routing 34 7 RouteMagic Editable Routes 34 7 34 8 Templates The Default Templates MVC Futures and Template Definitions 35 3 35 3 35 4... Asynchronous Pipelines Writing Asynchronous Action Methods The MVC Pattern for Asynchronous Actions Performing Multiple Parallel Operations Using Filters with Asynchronous Controller Actions Timeouts Additional Considerations for Asynchronous Methods Summary INDEX 35 9 36 1 36 1 36 3 36 7 36 8 36 9 37 3 37 5 37 5 37 8 37 9 38 0 38 1 38 2 38 2 38 4 38 4 38 5 38 7 38 9 xxi ftoc.indd xxi 7/4/2011 4:28:05 PM flast.indd xxii 7/5/2011... Action Filters MVC 3 Feature Summary: Easier at All Levels Creating an MVC 3 Application Software Requirements for ASP.NET MVC 3 Installing ASP.NET MVC 3 Installing the MVC 3 Development Components Installing MVC 3 on a Server Creating an ASP.NET MVC 3 Application The New ASP.NET MVC 3 Dialog Application Templates View Engines Testing Understanding the MVC Application Structure ASP.NET MVC and Conventions... IgnoreRoute Testing Calls to MapRoute Testing Unmatched Routes Testing Validators Summary 280 281 2 83 284 287 288 289 290 291 292 292 292 292 2 93 2 93 2 93 294 294 295 295 296 296 297 30 0 30 1 30 1 30 2 30 2 30 3 30 5 30 6 30 6 30 7 30 8 30 9 30 9 31 3 xix ftoc.indd xix 7/4/2011 4:28:05 PM CONTENTS CHAPTER 13: EXTENDING MVC Extending Models Turning Request Data into Models Exposing Request Data with Value Providers... Understanding ASP.NET MVC ‰ An ASP.NET MVC 3 overview ‰ How to create MVC 3 applications ‰ How MVC applications are structured This chapter gives you a quick introduction to ASP.NET MVC, explains how ASP.NET MVC 3 fits into the ASP.NET MVC release history, summarizes what’s new in ASP.NET MVC 3, and shows you how to set up your development environment to build ASP.NET MVC 3 applications This is a Professional. .. Summary 131 131 132 132 133 133 133 133 134 135 137 138 1 43 144 145 145 146 147 147 147 147 150 151 157 157 xv ftoc.indd xv 7/4/2011 4:28:04 PM CONTENTS Preventing CSRF Attacks Threat: Cookie Stealing Threat Summary Preventing Cookie Theft with HttpOnly Threat: Over-Posting Threat Summary Preventing Over-Posting with the Bind Attribute Threat: Open Redirection Threat Summary Protecting Your ASP.NET MVC. .. x 7/4/2011 4:27:44 PM CONTENTS FOREWORD xxiii INTRODUCTION xxv CHAPTER 1: GETTING STARTED A Quick Introduction to ASP.NET MVC How ASP.NET MVC Fits in with ASP.NET The MVC Pattern MVC as Applied to Web Frameworks The Road to MVC 3 ASP.NET MVC 1 Overview ASP.NET MVC 2 Overview ASP.NET MVC 3 Overview Razor View Engine Validation Improvements NET 4 Data Annotation Support Streamlined Validation with Improved... book is concerned with introducing the MVC pattern and how ASP.NET MVC implements that pattern Chapter 1 helps you get started with ASP.NET MVC 3 development It explains what ASP.NET MVC is and explains how ASP.NET MVC 3 fits in with the previous two releases Then, after making sure you have the correct software installed, you’ll begin creating a new ASP.NET MVC 3 application Chapter 2 then explains... with the Route Class Under the Hood: How Routes Tie Your URL to an Action The High-Level Request Routing Pipeline 198 198 200 200 201 2 03 204 204 206 207 208 208 208 209 211 212 2 13 2 13 2 13 214 215 217 220 221 2 23 2 23 224 225 225 226 227 228 229 230 232 233 234 235 235 xvii ftoc.indd xvii 7/4/2011 4:28:04 PM CONTENTS RouteData Custom Route Constraints Using Routing with Web Forms Summary CHAPTER 10:... Text and Markup Mixing Code and Plain Text Escaping the Code Delimiter Server Side Comment Calling a Generic Method Layouts 21 22 22 23 23 24 25 29 29 32 32 33 35 35 37 39 40 42 43 45 46 46 49 50 50 52 53 54 55 55 56 56 56 56 57 57 58 58 58 xii ftoc.indd xii 7/4/2011 4:28: 03 PM CONTENTS ViewStart Specifying a Partial View The View Engine Configuring a View Engine Finding a View The View Itself Alternative . to ASP. NET MVC 1 How ASP. NET MVC Fits in with ASP. NET 2 The MVC Pattern 2 MVC as Applied to Web Frameworks 3 The Road to MVC 3 3 ASP. NET MVC 1 Overview 4 ASP. NET MVC 2 Overview 4 ASP. NET MVC 3. 130 Display and Edit Annotations 131 Display 131 Sca oldColumn 132 DisplayFormat 132 ReadOnly 133 DataType 133 UIHint 133 HiddenInput 133 Summary 134 CHAPTER 7: SECURING YOUR APPLICATION 135 Using. Filters 10 MVC 3 Feature Summary: Easier at All Levels 10 Creating an MVC 3 Application 11 Software Requirements for ASP. NET MVC 3 11 Installing ASP. NET MVC 3 11 Installing the MVC 3 Development

Ngày đăng: 05/05/2014, 16:26

Từ khóa liên quan

Mục lục

  • PROFESSIONAL ASP.NET MVC 3

    • CONTENTS

    • FOREWORD

    • INTRODUCTION

    • CHAPTER 1: GETTING STARTED

      • A Quick Introduction to ASP.NET MVC

        • How ASP.NET MVC Fits in with ASP.NET

        • The MVC Pattern

        • MVC as Applied to Web Frameworks

        • The Road to MVC 3

          • ASP.NET MVC 1 Overview

          • ASP.NET MVC 2 Overview

          • ASP.NET MVC 3 Overview

          • Razor View Engine

          • Validation Improvements

            • .NET 4 Data Annotation Support

            • Streamlined Validation with Improved Model Validation

            • Rich JavaScript Support

              • Unobtrusive JavaScript

              • jQuery Validation

              • JSON Binding

              • Advanced Features

                • Dependency Resolution

                • Global Action Filters

                • MVC 3 Feature Summary: Easier at All Levels

                • Creating an MVC 3 Application

                  • Software Requirements for ASP.NET MVC 3

                  • Installing ASP.NET MVC 3

                    • Installing the MVC 3 Development Components

Tài liệu cùng người dùng

Tài liệu liên quan