Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
E-book details
Log in, If you're interested in the contents of the item.
ASP.NET MVC 2 Cookbook. Over 70 clear and incredibly effective recipes to get the most out of the many tools and features of ASP.NET MVC framework
Andrew Siemer, Richard Kimber, Richard J Kimber
Ebook
ASP.NET MVC, one of the latest web development platforms from Microsoft, brings the power of MVC programming to ASP.NET development. It simplifies the task of application development and maintenance for developers. However, ASP.NET MVC is filled with so many features that developers end up looking for solutions to the many problems that are encountered in their routine development tasks.ASP.NET MVC 2 Cookbook will provide solutions for the very specific problems that are encountered while developing applications with the ASP.NET MVC platform. It consists of many recipes containing step-by-step instructions that guide developers to effectively use the wide array of tools and features of ASP.NET MVC platform for web development ASP.NET MVC Cookbook is a collection of recipes that will help you to perform your routine development tasks with ease using the ASP.NET MVC platform. In this book you will be walked through the solution to several specific web application development problems. Each recipe will walk you through the creation of a web application, setting up any Visual Studio project requirements, adding in any external tools, and finally the programming steps needed to solve the problem. The focus of the book is to describe the solution from start to finish.
The book starts off with recipes that demonstrate how to work effectively with views and controllers – two of the most important ingredients of the ASP.NET MVC framework. It then gradually moves on to cover many advanced routing techniques. Considering the importance of having a consistent structure to the site, the book contains recipes to show how to build a consistent UI and control its look with master pages. It also contains a chapter that is packed with many recipes that demonstrate how to gain control of data within a view.
As the book progresses through some exciting recipes on performing complex tasks with forms, you will discover how easy it is to work with forms to jazz up the look of your web site. Building large applications with ease is one of the prime features of the MVC model. Therefore, this book also focuses on tools and features that make building large applications easier to manage. As data plays an important role in the MVC architecture, there are ample recipes dedicated to cover data validation, access, and storage techniques. Finally, the book demonstrates how to enhance the user experience of your visitors by controlling the data at the application, session, caching, and cookie level.
By the end of this book, you will have explored a wide array of tools and features available with the ASP.NET MVC platform
The book starts off with recipes that demonstrate how to work effectively with views and controllers – two of the most important ingredients of the ASP.NET MVC framework. It then gradually moves on to cover many advanced routing techniques. Considering the importance of having a consistent structure to the site, the book contains recipes to show how to build a consistent UI and control its look with master pages. It also contains a chapter that is packed with many recipes that demonstrate how to gain control of data within a view.
As the book progresses through some exciting recipes on performing complex tasks with forms, you will discover how easy it is to work with forms to jazz up the look of your web site. Building large applications with ease is one of the prime features of the MVC model. Therefore, this book also focuses on tools and features that make building large applications easier to manage. As data plays an important role in the MVC architecture, there are ample recipes dedicated to cover data validation, access, and storage techniques. Finally, the book demonstrates how to enhance the user experience of your visitors by controlling the data at the application, session, caching, and cookie level.
By the end of this book, you will have explored a wide array of tools and features available with the ASP.NET MVC platform
- ASP.NET MVC 2 Cookbook
- Table of Contents
- ASP.NET MVC 2 Cookbook
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers, and more
- Why Subscribe?
- Free Access for Packt account holders
- Support files, eBooks, discount offers, and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Errata
- Piracy
- Questions
- 1. Working with the View
- Introduction
- Using magic strings and the ViewData dictionary
- Getting ready
- How to do it...
- How it works...
- Theres more...
- See also
- Creating a strongly typed view
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Decoupling a strongly typed view with a View model
- Getting ready
- How to do it...
- How it works...
- There's more...
- Centralizing display logic with templated helpers
- Getting ready
- How to do it...
- How it works...
- There's more...
- Type-specific templated helpers
- Where to put the DisplayTemplates folder?
- DataAnnotations on your model to specify UIHints
- Using a partial view to segment view code
- How to do it...
- How it works...
- Rendering a child view with Html.RenderAction
- How to do it...
- How it works...
- There's more...
- Loading a view template from a database with NVelocity
- Getting ready
- How to do it...
- How it works...
- There's more...
- Replacing the default MVC view engine with NVelocity
- Want to load templates in other ways?
- Want to use more than one view engine?
- Consuming a JSON with jQuery
- Getting ready
- How to do it...
- How it works...
- There's more...
- See Also
- 2. Taking Action in Your Controllers
- Introduction
- Exposing JSON using a JsonResult with Json.NET
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- A custom ActionResult to return an image
- Getting ready
- How to do it...
- How it works...
- There's more...
- Specifying the size of an ImageResult
- Getting ready
- How to do it...
- How it works...
- There's more...
- Creating a CAPTCHA system
- Getting ready
- How to do it...
- How it works...
- There's more...
- Hatches and colors
- What is CAPTCHA?
- Other styles of CAPTCHA
- Generating a PDF order summary
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Implementing a controller factory for use with StructureMap
- Getting ready
- How to do it...
- How it works...
- 3. Routing
- Introduction
- Creating a route to support a reporting engine
- How to do it...
- How it works...
- Making hackable URLs for a product catalog
- Getting ready
- How to do it...
- How it works...
- There's more...
- Filter your matches with routing constraints
- Getting ready
- How to do it...
- How it works...
- Using wildcard parameters to support slug URLs
- How to do it...
- How it works...
- Creating a 404 page via routing
- How to do it...
- How it works...
- There's more...
- Moving routes out of Global.asax
- How to do it...
- How it works...
- There's more...
- Supporting pagination in your URLs
- How to do it...
- How it works...
- Supporting content hierarchies with a custom RouteHandler
- How to do it...
- How it works...
- There's more...
- Creating a blacklist route constraint
- How to do it...
- How it works...
- 4. Master Pages
- Introduction
- How to create a master page
- How to do it...
- How it works...
- Determining the master page in the ActionResult
- How to do it...
- How it works...
- Controlling which master page is used with a view base class
- How to do it...
- How it works...
- Setting the master page from a controller base class
- How to do it...
- How it works...
- Passing data to the master page
- How to do it...
- How it works...
- Rendering data in a master page from another view
- How to do it...
- How it works...
- Creating nested master pages
- How to do it...
- How it works...
- 5. Working with Data in the View
- Introduction
- Reintroducing for and foreach
- How to do it...
- Initial bits...
- foreach over ViewData collection
- foreach over strongly typed view model
- for over strongly typed view model
- How it works...
- There's more...
- How to do it...
- Handling an array of checkboxes
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Handling an array of radio buttons
- Getting ready
- How to do it...
- How it works...
- See also
- Working with a pageable set of data
- Getting ready
- How to do it...
- How it works...
- How to navigate sortable data
- Getting ready
- How to do it...
- How it works...
- There's more...
- Deleting a record with an intermediary "Are you sure?" page
- Getting ready
- How to do it...
- How it works...
- Adding a jQuery delete link with confirmation
- Getting ready
- How to do it...
- How it works...
- There's more...
- Master/detail page with inline details via jQuery and a partial view
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Creating a master/detail page with modal pop-up and JSON
- Getting ready
- How to do it...
- How it works...
- See also
- 6. Working with Forms
- Introduction
- Using HTML helpers to create forms
- How to do it...
- How it works...
- Building a custom HTML helper to display a WYSIWYG
- Getting started
- How to do it...
- How it works...
- There's more...
- Centralizing create and edit forms for reuse
- How to do it...
- How it works...
- Adding custom attributes to form elements
- How to do it...
- How it works...
- How to do it...
- Defining a default button with jQuery
- How to do it...
- How it works...
- Hijaxing a form with jQuery
- Getting started
- How to do it...
- How it works...
- Performing an auto post-back with a select list
- How to do it...
- How it works...
- Autocomplete with jQuery UI
- Getting ready
- How to do it...
- How it works...
- There's more...
- 7. Simplifying Complex Applications
- Introduction
- Centralized formatting of common types with templated helpers
- Getting ready
- How to do it...
- How it works...
- Making templated helpers for custom types
- How to do it...
- How it works...
- There's more...
- Using areas to separate application components
- How to do it...
- How it works...
- There's more...
- How to do it...
- Creating a "portable area" to use across multiple applications
- How to do it...
- How it works...
- There's more...
- Using input builders of MvcContrib
- How to do it...
- How it works...
- Generating forms with Html.InputForm()
- How to do it...
- How it works...
- There's more...
- Leaving breadcrumbs for your users with MvcSiteMap
- Getting ready
- How to do it...
- How it works...
- There's more...
- Displaying tabular data in a grid
- How to do it...
- How it works...
- 8. Validating MVC
- Introduction
- Basic input validation
- How to do it...
- How it works...
- Data annotations
- How to do it...
- How it works...
- Client-side validation with jQuery
- Getting ready
- How to do it...
- How it works...
- Custom validators
- How to do it...
- How it works...
- Remote validation with jQuery
- Getting ready
- How to do it...
- How it works...
- 9. Data Access and Storage
- Introduction
- Mocking your data layer with NBuilder
- Getting ready
- How to do it...
- How it works...
- There's more...
- Adding support for LINQ to SQL
- Getting ready
- How to do it...
- How it works...
- Going old school with ADO.NET
- Getting ready
- How to do it...
- How it works...
- XML documents as a data store
- Getting ready
- How to do it...
- How it works...
- 10. Application, Session, Cookies, and Caching
- Introduction
- Keeping track of anonymous visitors versus logged-in users
- How to do it...
- How it works...
- Maintaining a user's information while at your site
- How to do it...
- How it works...
- Remembering a previous visitor
- How to do it...
- How it works...
- Caching your product catalog for faster response times
- How to do it...
- How it works...
- Using output caching to cache an entire page
- How to do it...
- How it works...
- There's more...
- Using partial views to cache pieces of a page individually
- How to do it...
- How it works...
- Exposing an application API to your presentation layer
- How to do it...
- How it works...
- Index
- Title: ASP.NET MVC 2 Cookbook. Over 70 clear and incredibly effective recipes to get the most out of the many tools and features of ASP.NET MVC framework
- Author: Andrew Siemer, Richard Kimber, Richard J Kimber
- Original title: ASP.NET MVC 2 Cookbook. Over 70 clear and incredibly effective recipes to get the most out of the many tools and features of ASP.NET MVC framework
- ISBN: 9781849690317, 9781849690317
- Date of issue: 2011-01-17
- Format: Ebook
- Item ID: e_3clx
- Publisher: Packt Publishing