Vai al contenuto principale della pagina
Autore: |
Galloway Jon
![]() |
Titolo: |
Professional ASP.NET MVC 3 / / Jon Galloway ... [et al.]
![]() |
Pubblicazione: | Indianapolis, Ind., : John Wiley & Sons, Inc., 2011 |
Edizione: | 1st edition |
Descrizione fisica: | 1 online resource (433 p.) |
Disciplina: | 006.7882 |
Soggetto topico: | Microsoft .NET Framework |
Internet programming | |
Note generali: | Includes index. |
Nota di contenuto: | Professional Asp.Net Mvc 3; Contents; 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; 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; Convention over Configuration; Conventions Simplify Communication; Summary; Chapter 2: Controllers; The Controller's Role; A Brief History of Controllers | |
A Sample Application: The MVC Music Store Controller Basics; A Simple Example: The Home Controller; Writing Your First (Outrageously Simple) Controller; Creating the New Controller; Writing Your Action Methods; A Few Quick Observations; Parameters in Controller Actions; Summary; Chapter 3: Views; What a View Does; Specifying a View; Strongly Typed Views; View Models; Adding a View; Understanding the Add View Dialog Options; Customizing the T4 View Templates; Razor View Engine; What is Razor?; Code Expressions; Html Encoding; Code Blocks; Razor Syntax Samples; Implicit Code Expression | |
Explicit Code Expression Unencoded Code Expression; Code Block; Combining Text and Markup; Mixing Code and Plain Text; Escaping the Code Delimiter; Server Side Comment; Calling a Generic Method; Layouts; ViewStart; Specifying a Partial View; The View Engine; Configuring a View Engine; Finding a View; The View Itself; Alternative View Engines; New View Engine or New Action Result?; Summary; Chapter 4: Models; Modeling the Music Store; Scaffolding a Store Manager; What Is Scaffolding?; Empty Controller; Controller with Empty Read/Write Actions | |
Controller with Read/Write Actions and Views, Using Entity Framework Scaffolding and the Entity Framework; Code First Conventions; The DbContext; Executing the Scaffolding Template; The Data Context; The StoreManagerController; The Views; Executing the Scaffolded Code; Creating Databases with the Entity Framework; Using Database Initializers; Seeding a Database; Editing an Album; Building a Resource to Edit an Album; Models and View Models Redux; The Edit View; Responding to the Edit POST Request; The Edit Happy Path; The Edit Sad Path; Model Binding; The DefaultModelBinder | |
A Word on Model Binding Security | |
Sommario/riassunto: | New edition of the top book on MVC from the top ASP.NET experts at Microsoft! MVC 3.0 is the latest update to Microsoft's Model-View-Controller technology, which enables developers to build dynamic, data-driven web sites. This in-depth book shows you step by step how to use MVC 3.0. Written by top ASP.NET MVC experts at Microsoft, the latest edition of this popular book covers new and updated features such as the new View engine, Razor, NuGet, and much more. The book's practical tutorials reinforce concepts and allow you create real-world applications. Topics include controllers and a |
Altri titoli varianti: | Professional ASP.NET MVC Three |
Titolo autorizzato: | Professional ASP.NET MVC 3 ![]() |
ISBN: | 1-283-20436-3 |
9786613204363 | |
1-118-15535-1 | |
Formato: | Materiale a stampa ![]() |
Livello bibliografico | Monografia |
Lingua di pubblicazione: | Inglese |
Record Nr.: | 9910822171603321 |
Lo trovi qui: | Univ. Federico II |
Opac: | Controlla la disponibilità qui |