Apress

Applied ASP.NET 4 in Context

By Adam Freeman

Applied ASP.NET 4 in Context Cover Image

Applied ASP.NET 4 in Context answers the commonly asked question, "Yes, but how does it work in reality?" Through a series of carefully constructed examples, the book shows how ASP.NET works in a real-world context, showing how technologies and best practices can be drawn together to create well-crafted web applications.





Full Description

  • ISBN13: 978-1-4302-3467-8
  • 952 Pages
  • User Level: Intermediate
  • Publication Date: September 11, 2011
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $59.99
  • eBook Price: $41.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

ASP.NET 4 is the latest version of Microsoft's revolutionary web technology. It is the principal technology for creating dynamic web pages on the Windows platform.

Applied ASP.NET 4¬†In Context sets the standard for clear, simple, hands-on advice for learning and deploying Microsoft’s dynamic web solutions. Seasoned .NET author Adam Freeman explains how to get the most from ASP.NET by focusing on the features you need for your project. He starts with the nuts and bolts and shows you everything through to advanced features, going in-depth to give you the knowledge you need to use ASP.NET in a real-world context.

Effective and powerful ASP.NET programming is easier than ever before with this informed and practical guide.

What you’ll learn

  • Understand the capabilities of ASP.NET 4¬†and why it is special
  • Learn how to build client applications using MVC, Web Forms and Silverlight
  • Build data-driven web applications using ADO.NET and LINQ
  • Rapidly prototype data applications using dynamic data¬†¬†
  • Enhance user interactions with JavaScript and jQuery
  • Create and consume web services using WCF
  • Customize web applications with advanced ASP.NET features
  • Deploy and secure your web applications on IIS 7
Each topic is covered clearly and concisely, each chapter packed with the details you need to be truly effective with ASP.NET 4. The most important features are given no-nonsense in-depth treatment, and chapters include common problems and details on how to avoid them.

Who this book is for

This book is for web developers who want to understand the context in which ASP.NET sits and the standards and best practices that can be employed to improve the efficiency and maintainability of their projects.

Table of Contents

Table of Contents

  1. Introduction
  2. Getting Ready
  3. Understanding ASP.NET
  4. Working with Pages
  5. Working with Context & Events
  6. Working with Forms & State
  7. Handling Errors
  8. Working with Data
  9. Styling Content
  10. Adding Client Interactivity
  11. Working with AJAX
  12. Working with Routes & Handlers
  13. Putting Web Forms in Context
  14. Using the Web Forms Designer
  15. Working with Web Forms Controls
  16. Customizing Web Forms Controls
  17. Validating Form Data
  18. Using Web Forms Data Sources
  19. Using Web Forms Data-Binding
  20. Using the Rich Data Controls
  21. The Triathlon Application with Web Forms
  22. Putting MVC In Context
  23. Understanding Razor
  24. Routing URLs with MVC
  25. Using Controllers and Actions
  26. Understanding Views
  27. Creating and Using Code-First Models
  28. Using JavaScript with MVC
  29. Charting and Portals
  30. Security & Defensive ASP.NET Programming
  31. Authentication & Authorization
  32. Deploying ASP.NET Web Applications
  33. Caching Data
  34. Useful tools and Libraries
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

On page 53:

Listing contains a h3 element with id="placeHolderH3".
The text after the listing mentions a H3 element with the id "placeHolderH2"

On page 62:

the function WriteContextValue is missing an opening p-Tag:
contextDiv.InnerHtml += string.Format("<p><b>{0}:</b> {1}</p>", nameParam, valParam);

On page 69:

The listing 5-12 don't change the Response.Redirect for the Server.Transfer.

protected void Page_Load(object sender, EventArgs e) {
switch (Request.Browser.Browser) {
case "Chrome":
Response.Redirect("ChromePage.aspx", true); <-- Should be "Server.Transfer("ChromePage.aspx", true);
break;
case "IE":
Server.Transfer("IEPage.aspx", true);
break;
default:
Response.Redirect("UnsupportedPage.aspx", true);
break;
}

On page 262:
Problem: $('#eventTemplate').tmpl(data.d).appendTo('#resultsTable'); It didn't work!
Solution:
template = $("#eventTemplate").tmpl(data.d);
$("#<%=resultsTable.ClientID%>").append(template);

On page 354:

The first paragraph on page 354 begins "If I were using Web Forms or WPF...". This should be "If I were using Windows Forms or WPF...".