Professional ASP.NET MVC 4
An outstanding author team presents the ultimate Wrox guide to ASP.NET MVC 4 Microsoft insiders join giants of the software development community to offer this in-depth guide to ASP.NET MVC, an essential web development technology. Experienced .NET and ASP.NET developers will find all the important...
Autor principal: | |
---|---|
Otros Autores: | |
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Indianapolis, Ind. :
Wiley Pub. Inc
2012.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628848406719 |
Tabla de Contenidos:
- Professional ASP.Net MVC 4; 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 4; ASP.NET MVC 1 Overview; ASP.NET MVC 2 Overview; ASP.NET MVC 3 Overview; MVC 4 Overview; ASP.NET Web API; Enhancements to Default Project Templates; Mobile Project Template using jQuery Mobile; Display Modes; Bundling and Minification; Included Open Source Libraries; Miscellaneous Features; Open Source Release; Creating an MVC 4 Application; Software Requirements for ASP.NET MVC 4
- Installing ASP.NET MVC 4Installing the MVC 4 Development Components; Installing MVC 4 on a Server; Creating an ASP.NET MVC 4 Application; The New ASP.NET MVC 4 Dialog; Application Templates; View Engines; Testing; The MVC Application Structure; ASP.NET MVC and Conventions; Convention over Configuration; Conventions Simplify Communication; Summary; Chapter 2: Controllers; The Controller's Role; A Sample Application: The MVC Music Store; Controller Basics; A Simple Example: The Home Controller; Writing Your First Controller; Creating the New Controller; Writing Your Action Methods
- A Few Quick Observations Parameters in Controller Actions; Summary; Chapter 3: Views; The Purpose of Views; Specifying a View; ViewData and ViewBag; Strongly Typed Views; View Models; Adding a View; Understanding the Add View Dialog Options; The 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 Summary; Chapter 4: Models; Modeling the Music Store; Scaffolding a Store Manager; What Is Scaffolding?; Empty Controller; Controller with Empty Read/Write Actions; API 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 Class; 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; Explicit Model Binding; Summary; Chapter 5: Forms and HTML Helpers; Using Forms; The Action and the Method; To GET or to POST?; Searching for Music with a Search Form; Searching for Music by Calculating the Action Attribute Value; HTML Helpers; Automatic Encoding; Making Helpers Do Your Bidding; Inside HTML Helpers; Setting Up the Album Edit Form; Html.BeginForm
- Html.Validation Summary