ASP.NET MVC 2 cookbook [[electronic resource] ] : over 70 clear and incredibly effective recipes to get the most out of the many tools and features of the ASP.NET MVC framework / / Andrew Siemer [and] Richard Kimber |
Autore | Siemer Andrew |
Pubbl/distr/stampa | Birmingham, U.K., : Packt Pub., 2011 |
Descrizione fisica | 1 online resource (332 p.) |
Disciplina | 006.78 |
Altri autori (Persone) | KimberRichard |
Soggetto topico |
Microsoft .NET
Web site development |
Soggetto genere / forma | Electronic books. |
ISBN |
1-282-97563-3
9786612975639 1-84969-031-6 |
Formato | Materiale a stampa ![]() |
Livello bibliografico | Monografia |
Lingua di pubblicazione | eng |
Nota di contenuto |
Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Working with the View; Introduction; Using magic strings and the ViewData dictionary; Creating a strongly typed view; Decoupling a strongly typed view with a View model; Centralizing display logic with templated helpers; Using a partial view to segment view code; Rendering a child view with Html.RenderAction; Loading a view template from a database with NVelocity; Consuming a JSON with jQuery; Chapter 2: Taking Action in Your Controllers; Introduction
Exposing JSON using a JsonResult with Json.NETA custom ActionResult to return an image; Specifying the size of an ImageResult; Creating a CAPTCHA system; Generating a PDF order summary; Implementing a controller factory for use with StructureMap; Chapter 3: Routing; Introduction; Creating a route to support a reporting engine; Making hackable URLs for a product catalog; Filter your matches with routing constraints; Using wildcard parameters to support slug URLs; Creating a 404 page via routing; Moving routes out of Global.asax; Supporting pagination in your URLs Supporting content hierarchies with a custom RouteHandlerCreating a blacklist route constraint; Chapter 4: Master Pages; Introduction; How to create a master page; Determining the master page in the ActionResult; Controlling which master page is used with a view base class; Setting the master page from a controller base class; Passing data to the master page; Rendering data in a master page from another view; Creating nested master pages; Chapter 5: Working with Data in the View; Introduction; Reintroducing for and foreach; Handling an array of checkboxes; Handling an array of radio buttons Working with a pageable set of dataHow to navigate sortable data; Deleting a record with an intermediary ""Are you sure?"" page; Adding a jQuery delete link with confirmation; Master/detail page with inline details via jQuery and a partial view; Creating a master/detail page with modal pop-up and JSON; Chapter 6: Working with Forms; Introduction; Using HTML helpers to create forms; Building a custom HTML helper to display a WYSIWYG; Centralizing create and edit forms for reuse; Adding custom attributes to form elements; Defining a default button with jQuery; Hijaxing a form with jQuery Performing an auto post-back with a select listAutocomplete with jQuery UI; Chapter 7: Simplifying Complex Applications; Introduction; Centralized formatting of common types with templated helpers; Making templated helpers for custom types; Using areas to separate application components; Creating a ""portable area"" to use across multiple applications; Using input builders of MvcContrib; Generating forms with Html.InputForm(); Leaving breadcrumbs for your users with MvcSiteMap; Displaying tabular data in a grid; Chapter 8: Validating MVC; Introduction; Basic input validation; Data annotations Client-side validation with jQuery |
Record Nr. | UNINA-9910460427603321 |
Siemer Andrew
![]() |
||
Birmingham, U.K., : Packt Pub., 2011 | ||
![]() | ||
Lo trovi qui: Univ. Federico II | ||
|
ASP.NET MVC 2 cookbook [[electronic resource] ] : over 70 clear and incredibly effective recipes to get the most out of the many tools and features of the ASP.NET MVC framework / / Andrew Siemer [and] Richard Kimber |
Autore | Siemer Andrew |
Pubbl/distr/stampa | Birmingham, U.K., : Packt Pub., 2011 |
Descrizione fisica | 1 online resource (332 p.) |
Disciplina | 006.78 |
Altri autori (Persone) | KimberRichard |
Soggetto topico |
Microsoft .NET
Web site development |
ISBN |
1-282-97563-3
9786612975639 1-84969-031-6 |
Formato | Materiale a stampa ![]() |
Livello bibliografico | Monografia |
Lingua di pubblicazione | eng |
Nota di contenuto |
Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Working with the View; Introduction; Using magic strings and the ViewData dictionary; Creating a strongly typed view; Decoupling a strongly typed view with a View model; Centralizing display logic with templated helpers; Using a partial view to segment view code; Rendering a child view with Html.RenderAction; Loading a view template from a database with NVelocity; Consuming a JSON with jQuery; Chapter 2: Taking Action in Your Controllers; Introduction
Exposing JSON using a JsonResult with Json.NETA custom ActionResult to return an image; Specifying the size of an ImageResult; Creating a CAPTCHA system; Generating a PDF order summary; Implementing a controller factory for use with StructureMap; Chapter 3: Routing; Introduction; Creating a route to support a reporting engine; Making hackable URLs for a product catalog; Filter your matches with routing constraints; Using wildcard parameters to support slug URLs; Creating a 404 page via routing; Moving routes out of Global.asax; Supporting pagination in your URLs Supporting content hierarchies with a custom RouteHandlerCreating a blacklist route constraint; Chapter 4: Master Pages; Introduction; How to create a master page; Determining the master page in the ActionResult; Controlling which master page is used with a view base class; Setting the master page from a controller base class; Passing data to the master page; Rendering data in a master page from another view; Creating nested master pages; Chapter 5: Working with Data in the View; Introduction; Reintroducing for and foreach; Handling an array of checkboxes; Handling an array of radio buttons Working with a pageable set of dataHow to navigate sortable data; Deleting a record with an intermediary ""Are you sure?"" page; Adding a jQuery delete link with confirmation; Master/detail page with inline details via jQuery and a partial view; Creating a master/detail page with modal pop-up and JSON; Chapter 6: Working with Forms; Introduction; Using HTML helpers to create forms; Building a custom HTML helper to display a WYSIWYG; Centralizing create and edit forms for reuse; Adding custom attributes to form elements; Defining a default button with jQuery; Hijaxing a form with jQuery Performing an auto post-back with a select listAutocomplete with jQuery UI; Chapter 7: Simplifying Complex Applications; Introduction; Centralized formatting of common types with templated helpers; Making templated helpers for custom types; Using areas to separate application components; Creating a ""portable area"" to use across multiple applications; Using input builders of MvcContrib; Generating forms with Html.InputForm(); Leaving breadcrumbs for your users with MvcSiteMap; Displaying tabular data in a grid; Chapter 8: Validating MVC; Introduction; Basic input validation; Data annotations Client-side validation with jQuery |
Record Nr. | UNINA-9910785407903321 |
Siemer Andrew
![]() |
||
Birmingham, U.K., : Packt Pub., 2011 | ||
![]() | ||
Lo trovi qui: Univ. Federico II | ||
|
ASP.NET MVC 2 cookbook : over 70 clear and incredibly effective recipes to get the most out of the many tools and features of the ASP.NET MVC framework / / Andrew Siemer [and] Richard Kimber |
Autore | Siemer Andrew |
Edizione | [1st ed.] |
Pubbl/distr/stampa | Birmingham, U.K., : Packt Pub., 2011 |
Descrizione fisica | 1 online resource (332 p.) |
Disciplina | 006.78 |
Altri autori (Persone) | KimberRichard |
Soggetto topico | Web site development |
ISBN |
1-282-97563-3
9786612975639 1-84969-031-6 |
Formato | Materiale a stampa ![]() |
Livello bibliografico | Monografia |
Lingua di pubblicazione | eng |
Nota di contenuto |
Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Working with the View; Introduction; Using magic strings and the ViewData dictionary; Creating a strongly typed view; Decoupling a strongly typed view with a View model; Centralizing display logic with templated helpers; Using a partial view to segment view code; Rendering a child view with Html.RenderAction; Loading a view template from a database with NVelocity; Consuming a JSON with jQuery; Chapter 2: Taking Action in Your Controllers; Introduction
Exposing JSON using a JsonResult with Json.NETA custom ActionResult to return an image; Specifying the size of an ImageResult; Creating a CAPTCHA system; Generating a PDF order summary; Implementing a controller factory for use with StructureMap; Chapter 3: Routing; Introduction; Creating a route to support a reporting engine; Making hackable URLs for a product catalog; Filter your matches with routing constraints; Using wildcard parameters to support slug URLs; Creating a 404 page via routing; Moving routes out of Global.asax; Supporting pagination in your URLs Supporting content hierarchies with a custom RouteHandlerCreating a blacklist route constraint; Chapter 4: Master Pages; Introduction; How to create a master page; Determining the master page in the ActionResult; Controlling which master page is used with a view base class; Setting the master page from a controller base class; Passing data to the master page; Rendering data in a master page from another view; Creating nested master pages; Chapter 5: Working with Data in the View; Introduction; Reintroducing for and foreach; Handling an array of checkboxes; Handling an array of radio buttons Working with a pageable set of dataHow to navigate sortable data; Deleting a record with an intermediary ""Are you sure?"" page; Adding a jQuery delete link with confirmation; Master/detail page with inline details via jQuery and a partial view; Creating a master/detail page with modal pop-up and JSON; Chapter 6: Working with Forms; Introduction; Using HTML helpers to create forms; Building a custom HTML helper to display a WYSIWYG; Centralizing create and edit forms for reuse; Adding custom attributes to form elements; Defining a default button with jQuery; Hijaxing a form with jQuery Performing an auto post-back with a select listAutocomplete with jQuery UI; Chapter 7: Simplifying Complex Applications; Introduction; Centralized formatting of common types with templated helpers; Making templated helpers for custom types; Using areas to separate application components; Creating a ""portable area"" to use across multiple applications; Using input builders of MvcContrib; Generating forms with Html.InputForm(); Leaving breadcrumbs for your users with MvcSiteMap; Displaying tabular data in a grid; Chapter 8: Validating MVC; Introduction; Basic input validation; Data annotations Client-side validation with jQuery |
Record Nr. | UNINA-9910820954503321 |
Siemer Andrew
![]() |
||
Birmingham, U.K., : Packt Pub., 2011 | ||
![]() | ||
Lo trovi qui: Univ. Federico II | ||
|