Skip to main content

Beginning ASP.NET 4.5: in C# and VB

Beginning ASP.NET 4.5: in C# and VB

Imar Spaanjaars

ISBN: 978-1-118-31180-6

Nov 2012

888 pages

In Stock

$44.99

Description

The ultimate programming guide to ASP.NET 4.5, by popular author and Microsoft MVP Imar Spaanjaars

Updated for ASP.NET 4.5, this introductory book is filled with helpful examples and contains a user-friendly, step-by-step format. Written by popular author and Microsoft ASP.NET MVP Imar Spaanjaars, this book walks you through ASP.NET, Microsoft's technology for building dynamically generated web pages. This edition retains the highly accessible approach to building the Planet Wrox website example, an online community site featuring product reviews, picture sharing, bonus content for registered users, and more.

  • Contains the comprehensive guide to the latest technology additions to ASP.NET 4.5
  • Shows how to build basic ASP.NET web pages and configure their server
  • Includes information on how to add features with pre-built server controls
  • Reveals how to design pages and make them consistent
  • Contains the information needed for getting user input and displaying data

Beginning ASP.NET 4.5 in C# and VB uses Spaanjaars's distinct writing style to put you at ease with learning ASP.NET 4.5.

Related Resources

FOREWORD xxxi

INTRODUCTION xxxiii

CHAPTER 1: GETTING STARTED WITH ASP.NET 4.5 1

CHAPTER 2: BUILDING AN ASP.NET WEBSITE 33

CHAPTER 3: DESIGNING YOUR WEB PAGES 65

CHAPTER 4: WORKING WITH ASP.NET SERVER CONTROLS 107

CHAPTER 5: PROGRAMMING YOUR ASP.NET WEB PAGES 145

CHAPTER 6: CREATING CONSISTENT LOOKING WEBSITES 207

CHAPTER 7: NAVIGATION 253

CHAPTER 8: USER CONTROLS 285

CHAPTER 9: VALIDATING USER INPUT 311

CHAPTER 10: ASP.NET AJAX 349

CHAPTER 11: JQUERY 385

CHAPTER 12: INTRODUCTION TO DATABASES 421

CHAPTER 13: DISPLAYING AND UPDATING DATA 453

CHAPTER 14: LINQ AND THE ADO.NET ENTITY FRAMEWORK 497

CHAPTER 15: WORKING WITH DATA — ADVANCED TOPICS 553

CHAPTER 16: SECURITY IN YOUR ASP.NET 4.5 WEBSITE 603

CHAPTER 17: PERSONALIZING WEBSITES 643

CHAPTER 18: EXCEPTION HANDLING, DEBUGGING, AND TRACING 679

CHAPTER 19: DEPLOYING YOUR WEBSITE 729

APPENDIX A: EXERCISE ANSWERS 767

APPENDIX B: CONFIGURING SQL SERVER 2012 793

Configuring SQL Server 2012 793

Terminology and Concepts 793

SQL Server Authentication 794

Windows Authentication 794

Choosing between Windows and Server Authentication 795

Using SQL Server Management Studio 795

Enabling Remote Connections in SQL Server 795

Attaching Databases to SQL Server 796

Connecting Your Application to SQL Server 2012 798

Scenario 1 — Using SQL Server Authentication 799

Scenario 2 — Using Windows Authentication with IIS and the Database on the Same Machine 803

Configuring Application Services 805

INDEX 807

ReadMe File Download
Full Code Download (C#) Download
Full Code Download (VB) Download
140Error in Text,Currently reads:

Note that when you turn of View State

Should read:

Note that when you turn off View State
12/19/2012
154Error in Text,Text currently reads:

Note that (0) and [0] refer to the first element in the array and (0) and [1] refer to the second.

Should read:

Note that (0) and [0] refer to the first element in the array and (1) and [1] refer to the second.
12/19/2012
10372Text correction: Incorrectly named attribute under ""Creating Web Services"",In the second sentence, OperationMethod should read OperationContract

In the first line of code under VB.NET OperationMethod should read OperationContract

In the first line of code under C# OperationMethod should read OperationContract
4/18/14
432Text Correction,Step 6 on Page 432
Currently reads:
Notice how Visual Studio added an N before your search term (see Figure 12-12).
Should read:
Notice how SSMS added an N before your search term (see Figure 12-12).
09/19/14
15573Text Correction: Error in Code,Middle of page, in code:
Currently reads:
using myRowView( NumberOfReviews ) in VB.NET and
myRowView[ NumberOfReviews ] in C#
Should read:
using myRowView( NumberOfReviews ) in VB.NET and
myDataRowView[ NumberOfReviews ] in C#
09/19/14
15596Text correction: Error under ""Using the Cache API"",Step 7 should read:

VB.NET
Repeater1.DataSource = authorizedReviews
Repeater1.DataBind()


C#
Repeater1.DataSource = authorizedReviews;
Repeater1.DataBind();
2/7/14
604Error in Text,Currently reads:

identity

Should read:

identify
03/22/2013
18723Text Correction: Error in Code,Step 3:
Currently reads:
else
{
Result.Text = string.Empty;
Should Read:
else
{
ResultLabel.Text = string.Empty;
09/19/14
607Text Correction,Depending on the version of Visual Studio you are using, the menu item �Library Package Manager � could be called �NuGet Package Manager� on your machine.04/02/15
380Errata in Text,In step 4 (currently reads):
ID Selector

Should Read
Type selector
11-Dec-15