Programming Microsoft ASP.NET MVC
Fully updated for ASP.NET MVC 3. Delve into the features, principles, and pillars of the ASP.NET MVC framework-deftly guided by web development luminary Dino Esposito. ASP.NET MVC forces developers to think in terms of distinct components-Model, View, Controller-that make it easier to manage applic...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sebastopol :
Microsoft Press
2011.
|
Edición: | 2nd ed |
Colección: | Developer Reference
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627994206719 |
Tabla de Contenidos:
- Cover; Copyright page; Contents at a Glance; Table of Contents; Introduction; Who Should Read This Book; Assumptions; Who Should Not Read This Book; System Requirements; Code Samples; Errata & Book Support; We Want to Hear from You; Stay in Touch; Acknowledgments; Part I:ASP.NET MVC Fundamentals; Chapter 1:ASP.NET MVC Controllers; Routing Incoming Requests; Simulating the ASP.NET MVC Runtime; The URL Routing HTTP Module; Application Routes; The Controller Class; Aspects of a Controller; Writing Controller Classes; Processing Input Data; Producing Action Results
- Special Capabilities of ControllersGrouping Controllers; Asynchronous Controllers; Chapter 2:ASP.NET MVC Views; Structure and Behavior of a View Engine; Mechanics of a View Engine; Definition of the View Template; HTML Helpers; Basic Helpers; Templated Helpers; Custom Helpers; The Web Forms View Engine; Inside the View Engine; Designing a Sample View; The Razor View Engine; Inside the View Engine; Designing a Sample View; Templated Delegates; Coding the View; Modeling the View; Advanced Features; Summary; Chapter 3:The Model-Binding Architecture; The Input Model
- Evolving from the Web Forms Input ProcessingInput Processing in ASP.NET MVC; Model Binding; Model-Binding Infrastructure; The Default Model Binder; Customizable Aspects of the Default Binder; Advanced Model Binding; Custom Type Binders; A Sample DateTime Model Binder; Summary; Chapter 4:Input Forms; General Patterns of Data Entry; A Classic Select-Edit-Post Scenario; Applying the Post-Redirect-Get Pattern; Ajax-Based Forms; Automating the Writing of Input Forms; Predefined Display and Editor Templates; Custom Templates for Model Data Types; Input Validation; Using Data Annotations
- Advanced Data AnnotationsSelf-Validation; Summary; Part II:ASP.NET MVC Software Design; Chapter 5:Aspects of ASP.NET MVC Applications; ASP.NET Intrinsic Objects; SEO and HTTP Response; Managing the Session State; Caching Data; Error Handling; Handling Program Exceptions; Global Error Handling; Dealing with Missing Content; Localization; Using Localizable Resources; Dealing with Localizable Applications; Summary; Chapter 6:Securing Your Application; Security in ASP.NET MVC; Authentication and Authorization; Extending the Authorize Attribute; Implementing a Membership System
- Defining a Membership ControllerThe Remember-Me Feature and Ajax; External Authentication Services; The OpenID Protocol; Authenticating via Twitter; Summary; Chapter 7:Design Considerations for ASP.NET MVC Controllers; Shaping Up Your Controller; Choosing the Right Stereotype; Fat-Free Controllers; Connecting the Presentation and Back End; The iPODD Pattern; Injecting Data and Services in Layers; Gaining Control of the Controller Factory; Summary; Chapter 8:Customizing ASP.NET MVC Controllers; The Extensibility Model of ASP.NET MVC; The Provider-Based Model; The Service Locator Model
- Adding Aspects to Controllers