Synopses & Reviews
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. The following list tells you something about the content of each chapter.
Chapter 1, ″Application and Page Frameworks.″ The first chapter covers the frameworks of ASP.NET applications as well as the structure and frameworks provided for single ASP.NET pages. This chapter shows you how to build ASP.NET applications using IIS or the built-in Web server that comes with Visual Studio 2010. This chapter also shows you the folders and files that are part of ASP.NET. It discusses ways to compile code and shows you how to perform cross-page posting. This chapter ends by showing you easy ways to deal with your classes from within Visual Studio 2010.
Chapters 2, 3, and 4. These three chapters are grouped together because they all deal with server controls. This batch of chapters starts by examining the idea of the server control and its pivotal role in ASP.NET development. In addition to looking at the server control framework, these chapters delve into the plethora of server controls that are at your disposal for ASP.NET development projects. Chapter 2, ″ASP.NET Server Controls and Client-Side Scripts,″ looks at the basics of working with server controls. Chapter 3, ″ASP.NET Web Server Controls,″ covers the controls that have been part of the ASP.NET technology since its initial release and the controls that have been added in each of the ASP.NET releases. Chapter 4, ″Validation Server Controls,″ describes a special group of server controls: those for validation.
Chapter 5, ″Working with Master Pages.″ Master pages provide a means of creating templated pages that enable you to work with the entire application, as opposed to single pages. This chapter examines the creation of these templates and how to apply them to your content pages throughout an ASP.NET application.
Chapter 6, ″Themes and Skins.″ The Cascading Style Sheet files you are allowed to use in ASP.NET 1.0/1.1 are simply not adequate in many regards, especially in the area of server controls. This chapter looks at how to deal with the styles that your applications require and shows you how to create a centrally managed look-and-feel for all the pages of your application by using themes and the skin files that are part of a theme.
Chapter 7, ″Data Binding.″ One of the more important tasks of ASP.NET is presenting data, and this chapter looks at the underlying capabilities that enable you to work with the data programmatically before issuing the data to a control.
Chapter 8, ″Data Management with ADO.NET.″ This chapter presents the ADO.NET data model provided by ASP.NET, which allows you to handle the retrieval, updating, and deleting of data quickly and logically.
Chapter 9, ″Querying with LINQ.″ The.NET Framework 4 includes a nice access model language called LINQ. LINQ is a set of extensions to the .NET Framework that encompass language-integrated query, set, and transform operations. This chapter introduces you to LINQ and how to effectively use this feature in your Web applications today.
Chapter 10, ″Working with XML and LINQ to XML.″ The .NET Framework and ASP.NET 4 have many capabilities built into their frameworks that enable you to easily extract, create, manipulate, and store XML. This chapter takes a close look at the XML technologies built into ASP.NET and the underlying .NET Framework.
Chapter 11, ″Introduction to the Provider Model.″ The provider model is built into ASP.NET to make the lives of developers so much easier and more productive than ever before. This chapter gives an overview of this provider model and how it is used throughout ASP.NET 4.
Chapter 12, ″Extending the Provider Model.″ After an introduction of the provider model, this chapter looks at some of the ways to extend the provider model found in ASP.NET 4. This chapter also reviews a couple of sample extensions to the provider model.
Chapter 13, ″Site Navigation.″ Most developers do not simply develop single pages--they build applications. One of the application capabilities provided by ASP.NET 4 is the site navigation system covered in this chapter.
Chapter 14, ″Personalization.″ Developers are always looking for ways to store information pertinent to the end user. After it is stored, this personalization data has to be persisted for future visits or for grabbing other pages within the same application. The ASP.NET team developed a way to store this information--the ASP.NET personalization system. The great thing about this system is that you configure the entire behavior of the system from the web.config file.
Chapter 15, ″Membership and Role Management.″ This chapter covers the membership and role management system develope
The much-anticipated update to the bestseller, authored by three leading experts on ASP.NET
As Microsoft's technology for building dynamically generated Web pages from database content, ASP.NET 4 offers numerous improvements over earlier iterations. Written by three highly recognized and regarded ASP.NET experts, this anxiously awaited update to their previous bestseller provides all-encompassing coverage on ASP.NET 4.
Carried over in this new book is the unique approach of featuring examples in both C# and VB, as is the incomparable coverage of core ASP.NET. After a fast-paced refresher on essentials such as server controls, the book delves into expert coverage of all the latest capabilities of ASP.NET 4. ASP.NET experts and bestselling authors return with thorough coverage of the newest version of ASP.NET, the definitive technology for building Web pages from database content Shares all the newest features and capabilities of ASP.NET 4, with all examples featured in both C# and VB Discusses site navigation, personalization, membership, role management, and security Addresses debugging and error handling, modules and handlers, business objects, services, and localization Includes coverage of CSS, Ajax, the Ajax control toolkit, jQuery, Silverlight, and more
You will quickly see how Professional ASP.NET 4 continues to set the standard for ASP.NET.
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.
Take your web development to the next level using ASP.NET 4
ASP.NET is about making you as productive as possible when building fast and secure web applications. Each release of ASP.NET gets better and removes a lot of the tedious code that you previously needed to put in place, making common ASP.NET tasks easier. With this book, an unparalleled team of authors walks you through the full breadth of ASP.NET and the new and exciting capabilities of ASP.NET 4. The authors also show you how to maximize the abundance of features that ASP.NET offers to make your development process smoother and more efficient.
Professional ASP.NET 4:
Demonstrates ASP.NET built-in systems such as the membership and role management systems
Covers everything you need to know about working with and manipulating data
Discusses the plethora of server controls that are at your disposal
Explores new ways to build ASP.NET, such as working with ASP.NET MVC and ASP.NET AJAX
Examines the full life cycle of ASP.NET, including debugging and error handling, HTTP modules, the provider model, and more
Features both printed and downloadable C# and VB code examples
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters, and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
About the Author
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.
Table of Contents
CHAPTER 1 Application and Page Frameworks.
CHAPTER 2 ASP.NET Server Controls and Client-Side Scripts.
CHAPTER 3 ASP.NET Web Server Controls.
CHAPTER 4 Validation Server Controls.
CHAPTER 5 Working with Master Pages.
CHAPTER 6 Themes and Skins.
CHAPTER 7 Data Binding.
CHAPTER 8 Data Management with ADO.NET.
CHAPTER 9 Querying with LINQ.
CHAPTER 10 Working with XML and LINQ to XML.
CHAPTER 11 Introduction to the Provider Model.
CHAPTER 12 Extending the Provider Model.
CHAPTER 13 Site Navigation .
CHAPTER 14 Personalization.
CHAPTER 15 Membership and Role Management.
CHAPTER 16 Portal Frameworks and Web Parts.
CHAPTER 17 HTML and CSS Design with ASP.NET.
CHAPTER 18 ASP.NET AJAX.
CHAPTER 19 ASP.NET AJAX Control Toolkit.
CHAPTER 20 Security .
CHAPTER 21 State Management.
CHAPTER 22 Caching .
CHAPTER 23 Debugging and Error Handling.
CHAPTER 24 File I/O and Streams.
CHAPTER 25 User and Server Controls.
CHAPTER 26 Modules and Handlers.
CHAPTER 27 ASP.NET MVC.
CHAPTER 28 Using Business Objects.
CHAPTER 29 ADO.NET Entity Framework.
CHAPTER 30 ASP.NET Dynamic Data.
CHAPTER 31 Working with Services.
CHAPTER 32 Building Global Applications.
CHAPTER 33 Confi guration.
CHAPTER 34 Instrumentation.
CHAPTER 35 Administration and Management.
CHAPTER 36 Packaging and Deploying ASP.NET Applications.
APPENDIX A Migrating Older ASP.NET Projects.
APPENDIX B ASP.NET Ultimate Tools.
APPENDIX C Silverlight 3 and ASP.NET.
APPENDIX D Dynamic Types and Languages.
APPENDIX E ASP.NET Online Resources.