Beginning ASP.NET 4.5: in C# and VB
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.
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
Imar Spaanjaars, a Microsoft ASP.NET MVP, is the technical director of Dynamicweb North America. He is a bestselling author and one of the top contributors to the Wrox Community Forum at p2p.wrox.com, with more than 15,000 answers to programmer questions.
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.
|ReadMe File||654 bytes||Click to Download|
|Full Code Download (VB)||11.97 MB||Click to Download|
|Full Code Download (C#)||12.04 MB||Click to Download|
Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.
|140||Error in Text
Note that when you turn of View State
Note that when you turn off View State
|154||Error in Text
Text currently reads:
Note that (0) and  refer to the first element in the array and (0) and  refer to the second.
Note that (0) and  refer to the first element in the array and (1) and  refer to the second.
|10||372||Text 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"
Step 6 on Page 432
Notice how Visual Studio added an N before your search term (see Figure 12-12).
Notice how SSMS added an N before your search term (see Figure 12-12).
|15||573||Text Correction: Error in Code
Middle of page, in code:
using myRowView("NumberOfReviews") in VB.NET and
myRowView["NumberOfReviews"] in C#
using myRowView("NumberOfReviews") in VB.NET and
myDataRowView["NumberOfReviews"] in C#
|15||596||Text correction: Error under "Using the Cache API"
Step 7 should read:
Repeater1.DataSource = authorizedReviews
Repeater1.DataSource = authorizedReviews;
|604||Error in Text
|18||723||Text Correction: Error in Code
Result.Text = string.Empty;
ResultLabel.Text = string.Empty;
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.
|3||80||Errata in Text
In step 4 (currently reads):