Wiley.com
Print this page Share

Professional ASP.NET 4 in C# and VB

ISBN: 978-0-470-50220-4
1536 pages
March 2010
Professional ASP.NET 4 in C# and VB (0470502207) cover image

Description

This book was written to introduce you to the features and capabilities that ASP.NET 4 offers, as well as to give you an explanation of the foundation that ASP.NET provides. We assume you have a general understanding of Web technologies, such as previous versions of ASP.NET, Active Server Pages 2.0/3.0, or JavaServer Pages. If you understand the basics of Web programming, you should not have much trouble following along with this book's content.

If you are brand new to ASP.NET, be sure to check out Beginning ASP.NET 4: In C# and VB by Imar Spaanjaars (Wiley Publishing, Inc., 2010) to help you understand the basics.

In addition to working with Web technologies, we also assume that you understand basic programming constructs, such as variables, For Each loops, and object-oriented programming.

You may also be wondering whether this book is for the Visual Basic developer or the C# developer. We are happy to say that it is for both! When the code differs substantially, this book provides examples in both VB and C#.

This book explores the 4 release of ASP.NET. It covers each major new feature included in ASP.NET 4 in detail.

See More

Table of Contents

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

See More

Author Information

Bill Evjen is one of the most active proponents of .NET technologies. He is the founder of the International .NET Association (INETA), author or coauthor of more than two dozen books, and Global Head of Platform Architecture at Thomson Reuters, Lipper.

Scott Hanselman is a principal program manager lead working in the Server and Tools Online Division at Microsoft. He has a popular blog and weekly podcast at www.computerzen.com and speaks worldwide on ASP.NET.

Devin Rader works at Infragistics where he focuses on delivering great experiences to developers using their controls. He's also a former INETA board member.

See More

Downloads

Download TitleSizeDownload
Code for Professional ASP.NET 4 in C# and VB 10.96 MB Click to Download
See More

Errata

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.

ChapterPageDetailsDatePrint Run
22 Error in Text
Line No: 21;

content:
PostBackUrl="

while to be correct it should be:

PostBackUrl="~/Page2.aspx" />
9/22/2010
72-73 Error 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
75 Error 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
75 Error 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
448 Error 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
698 Error 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
9 401 Text 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
See More

Related Titles

Back to Top