Skip to main content

Professional ASP.NET 4 in C# and VB

Professional ASP.NET 4 in C# and VB

Bill Evjen, Scott Hanselman, Devin Rader

ISBN: 978-0-470-63212-3

Jun 2010

1536 pages

Select type: E-Book

$38.99

Description

This book introduces you to the features and capabilities that ASP.NET 4 offers, and explains the foundation that ASP.NET provides. It covers each major new feature included in ASP.NET 4 in detail. Retaining the unique C# and VB dual language coverage, this edition retains many great features from previous versions, including both printed and downloadable VB and C# code examples. Other expert coverage include IIS and the provider model, site navigation, design, debugging, modules and handlers, Silverlight, CSS, Ajax and the Ajax Control Toolkit, jQuery, and MVC.

Related Resources

Instructor

Request an Evaluation Copy for this title

INTRODUCTION xxxix

CHAPTER 1: APPLICATION AND PAGE FRAMEWORKS 1

CHAPTER 2: ASP.NET SERVER CONTROLS AND CLIENT-SIDE SCRIPTS 49

CHAPTER 3: ASP.NET WEB SERVER CONTROLS 85

CHAPTER 4: VALIDATION SERVER CONTROLS 157

CHAPTER 5: WORKING WITH MASTER PAGES 187

CHAPTER 6: THEMES AND SKINS 217

CHAPTER 7: DATA BINDING 237

CHAPTER 8: DATA MANAGEMENT WITH ADO.NET 309

CHAPTER 9: QUERYING WITH LINQ 371

CHAPTER 10: WORKING WITH XML AND LINQ TO XML 405

CHAPTER 11: INTRODUCTION TO THE PROVIDER MODEL 457

CHAPTER 12: EXTENDING THE PROVIDER MODEL 491

CHAPTER 13: SITE NAVIGATION 519

CHAPTER 14: PERSONALIZATION 569

CHAPTER 15: MEMBERSHIP AND ROLE MANAGEMENT 597

CHAPTER 16: PORTAL FRAMEWORKS AND WEB PARTS 643

CHAPTER 17: HTML AND CSS DESIGN WITH ASP.NET 683

CHAPTER 18: ASP.NET AJAX 709

CHAPTER 19: ASP.NET AJAX CONTROL TOOLKIT 747

CHAPTER 20: SECURITY 805

CHAPTER 21: STATE MANAGEMENT 835

CHAPTER 22: CACHING 865

CHAPTER 23: DEBUGGING AND ERROR HANDLING 895

CHAPTER 24: FILE I/O AND STREAMS 927

CHAPTER 25: USER AND SERVER CONTROLS 979

CHAPTER 26: MODULES AND HANDLERS 1045

CHAPTER 27: ASP.NET MVC 1059

CHAPTER 28: USING BUSINESS OBJECTS 1081

CHAPTER 29: ADO.NET ENTITY FRAMEWORK 1105

CHAPTER 30: ASP.NET DYNAMIC DATA 1129

CHAPTER 31: WORKING WITH SERVICES 1153

CHAPTER 32: BUILDING GLOBAL APPLICATIONS 1217

CHAPTER 33: CONFIGURATION 1239

CHAPTER 34: INSTRUMENTATION 1285

CHAPTER 35: ADMINISTRATION AND MANAGEMENT 1315

CHAPTER 36: PACKAGING AND DEPLOYING ASP.NET APPLICATIONS 1337

APPENDIX A: MIGRATING OLDER ASP.NET PROJECTS 1369

APPENDIX B: ASP.NET ULTIMATE TOOLS 1381

APPENDIX C: SILVERLIGHT 3 AND ASP.NET 1399

APPENDIX D: DYNAMIC TYPES AND LANGUAGES 1419

APPENDIX E: ASP.NET ONLINE RESOURCES 1427

INDEX 1429

Code for Professional ASP.NET 4 in C# and VB
Download
ChapterPageDetailsDatePrint Run
22Error in Text
Line No: 21;

content:
PostBackUrl="

while to be correct it should be:

PostBackUrl="~/Page2.aspx" />
9/22/2010

72-73Error in Code
Current code is:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load

But should be:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) _
Handles Me.Load

And it is the same for line 7, 19 & 25 of the RandomNumber.aspx.vb file.
03/22/2013

75Error in Text
Chapter2, Page 75, ca. fourth paragraph, sentence 2 states: "... populated to the Web page itself using the Page.ClientScript.RegisterClientScripBlock that also ...".
This should be RegisterClientScriptBlock.
11/15/2010

75Error in Text
Chapter2, Page 75, ca. fourth paragraph, sentence 2 states: "... populated to the Web page itself using the Page.ClientScript.RegisterClientScripBlock that also ...".
This should be RegisterClientScriptBlock.
11/15/2010

448Error in Text
The last paragraph mentions that the XmlWriter was retrieved from a XPathDocument when in fact it is retrieved from the XPathNavigator.
01/05/2011

698Error in Text
The first paragraph mentions that the "position" property is used to change the box behavior of the box model in CSS, but in reality it should be the "display" property.
01/04/2011

9401Text Correction
P. 401, 4th sentence in first paragraph under header Updating Data Using LINQ
Currently Reads: The scalar Single method returns a single object from the collection based on its input parameter. If more than one record matches the parameters, the Single method returns the first match.
Should read:
The scalar Single method returns a single object from the collection based on its input parameter. If there is more than one record that matches the parameters or no records that match the parameters, the Single method throws an InvalidOperationException exception.
09/19/14