CONTENTS

INTRODUCTION

CHAPTER 1: ASP.NETANDJQUERY

Understanding Web Forms

View State

web.config Transformations

Simplified web.config

New ASP.NET Web Forms Templates

ASP.NET MVC

Versions of MVC

The Pieces of MVC

Model

View

Controller

Action Methods

Model Binding

URL Routing

Accessing a Database

MVC Tooling

Creating a New Project

Referenced Assemblies

Site Structure

Adding a Controller

Adding a View

Sample Application

Sample Application Database

Departments

ASP.NET MVC Framework Summary

jQuery

Manipulating DOM Elements with jQuery

Calling Server Code with jQuery

jQuery

Summary

About the Author

CHAPTER 2: ASP.NET PERFORMANCE

Looking at How ASP.NET Handles Page Requests

State Management and Caching

Understanding State in.NET

Working with Sessions

Running Sessions In-Process

Running Sessions Out of Process

Maintaining Sessions on SQL Server

Deciding on the State of Sessions

Working with Output Caching

VaryByParam

VaryByHeader

VaryByControl

VaryByCustom

Extending <outputCache>

Partial Page (UserControl) Caching

Looking at.NET 4's New Object Caching Option

Caching Web Services

Hardware Considerations

Using Performance Counters

Viewing Performance Counters Through an Administration Tool

Tips and Tricks

Keep Requests Down to a Minimum

Make Use of Content Delivery Networks

Enable the Browser to Cache Items Longer

Enabling Content Compression

Location of Content in Your Pages

Make JavaScript and CSS External

Summary

About the Author

CHAPTER 3: ETHICAL HACKING OF ASP.NET

Ethical Hacking—Is ...

Get Real World .NET 4, C#, and Silverlight®: Indispensible Experiences from 15 MVPs now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.