NET book on my working bookshelf. NET is positioned to become the seminal book on the most important advancement to Web development in years. Reading his book has been a very helpful experience. NET author and consultant "Like many of the teachers who have worked with DevelopMentor, Fritz has a great ability to make complex concepts very easy to understand. It has a straightforward style and is comprehensive.
|Published (Last):||15 September 2010|
|PDF File Size:||15.69 Mb|
|ePub File Size:||17.58 Mb|
|Price:||Free* [*Free Regsitration Required]|
Don Box had come over after class and as usual, we were staying up late into the night after the students had long since gone to bed, discussing technology and hacking. Microsoft had just released their preview version of. It was that evening, that Don, in his typical succinct way, showed me my first glimpse of ASP.
He first typed into emacs a. He then wrote another file that looked like see code in book. The following week, after a couple of good nights of sleep, I came back and revisited the.
NET in more detail. After a day of reading and experimenting, I finally "got it" and I was hooked. This technology was poised to fundamentally change the way people built web applications on Windows, and it took full advantage of the new. NET runtime. I spent the next six months researching, building ASP. This book is the culmination of those activities, and I hope it helps you in your path to understanding ASP.
C Versus VB. NET Prior to. NET, Visual Basic was not just another language--it was a platform unto itself. Building applications in Visual Basic 6. NET, this distinction is gone, and Visual Basic is indeed just another. NET language that uses the same libraries, the same development tools, and the same runtime as all others. As a consequence, it is now possible to talk about technologies like ASP. NET from a language-neutral standpoint. The code samples, however, must be shown in a particular language, so this book is actually published in two versions--one with examples in C and one with examples in VB.
This site also contains any errata found after publication, as well as a supplemental set of more extended examples of the concepts presented in this book for your reference. The author welcomes your comments, errata, and feedback via the forms available on the website. Prerequisites This book focuses exclusively on ASP. NET, and does not spend time reviewing. NET programming, object-oriented programming techniques, database access, or general web application development techniques.
You will be able to get the most out of this book if you have spent some time gaining experience in each of these areas. NET from the ground up, beginning with a look at the core elements of the architecture in Chapter 1, and continuing with the server-side control model in Chapter 2. It is recommended that the reader be familiar with the contents of Chapters 1 and 2 before reading any of the subsequent chapters.
However, all chapters after 2 can be read independently and in any desired sequence. Chapter 1, Architecture, covers the fundamentals of the ASP. NET architecture, beginning with a look at the parsing of. This chapter explains the details of the Page class, demonstrates the new code-behind model, and discusses the shadow copy mechanism used to prevent file locking.
The chapter concludes with a look at the new classes in ASP. NET called web forms. This chapter looks at the details of state retention across post-backs using both POST body data as well as ViewState, and how to effectively use server-side controls to create dynamic web pages. The chapter concludes with a look at the various server-side controls available in ASP. Chapter 3, Configuration, describes the configuration model used by ASP. NET, starting with the XML format used by all configuration files and the hierarchical application of configuration settings.
This chapter inspects several configuration elements in detail, including the processModel and appSettings elements. The chapter concludes by demonstrating two techniques for adding custom configuration sections to your configuration files.
This chapter first walks through all of the elements in the HTTP pipeline used to process a request, and then discusses the three points of extensibility in the pipeline: 1 custom application classes, 2 custom handlers, and 3 custom modules. The chapter concludes with a discussion of threading and object pooling in the pipeline. NET including page and application tracing as well as the new performance monitor counters.
This chapter also discusses techniques for debugging ASP. NET applications and exception handling. The chapter concludes with a look at how to define custom error pages for your applications. Chapter 6, Validation, describes the new validation architecture built into ASP.
This chapter begins by looking at how validation is performed in web applications in general, and proceeds to show how ASP. The chapter includes a detailed look at how both client-side and server-side validation work, as well as a look at all of the available validation controls. NET page. This chapter starts by explaining how data binding works with several different data sources including collection classes, DataReaders, and DataSets, and then looks at how to bind data to several controls, including the DataGrid class.
The chapter concludes with a look at templates and how to use them effectively with the Repeater, DataList, and DataGrid classes. Chapter 8, Custom Controls, covers the fundamentals of building your own custom controls for use in ASP. NET applications. The chapter also covers the details of building composite controls, user controls, controls that support validation, and controls that support data binding. The chapter concludes with a look at how to integrate your controls with the Visual Studio.
NET designer. Chapter 9, Caching, looks at both output caching and data caching in ASP. This chapter discusses the mechanism of output caching and how to precisely control which versions of a page are placed in the cache, as well as how to cache portions of a page using page fragment caching with user controls.
The chapter explains how to use the new application-wide data cache, and includes a discussion of considerations and guidelines to observe when caching data. NET web application and how and when to use each type. This chapter begins with a look at application state, and explains why it should typically be avoided in ASP. It then looks at the improvements in session state including out of process storage and cookieless key management, as well as techniques for optimizing your use of session state.
The chapter concludes with a look at using cookies and ViewState as alternatives, or in addition, to session state. Chapter 11, Security, describes the security features of ASP. NET and how to control client authentication and authorization in your applications. This chapter starts by reviewing the concepts of security for web applications, and then shows how to build and manage applications that need to authenticate clients using the forms authentication architecture provided by ASP.
The chapter also covers the management of authentication cookies in web farms, safe password storage, building role-based authentication systems, and how to control the process identity used by ASP.
Acknowledgments I would first like to thank my wife Susan and children Zoe and Sam who supported me without hesitation during the writing of this book. Thanks also to my parents, Pat and Dan Onion for their support and direction. Thanks to all of my colleagues at DevelopMentor for the many discussions and constant feedback both for the course and for this book.
In particular, thanks to: Bob Beauchemin for his always timely and useful feedback; Keith Brown for showing me how to salt my hashes and otherwise reinforcing my security chapter; Simon Horrell for his detailed feedback; Dan Sullivan for leaving no stone unturned; Ted Pattison, for commiserating on writing, and for his always positive comments; Stu Halloway for making my writing more concise.
Thanks to the members of the ASP. NET team at Microsoft for building such an interesting product, and for fielding many questions. In particular, thanks to Rob Howard for his input on caching and to Erik Olson for explaining thread allocation and pooling in the pipeline. Thanks to my editor, Stephane Thomas, for all her hard work. Much gratitude also to the more than students that have taken the Essential ASP.
NET course--your input has shaped the stories in this book more than anything else. Thanks in particular to the students at the Essential ASP. NET course offered in Washington D. Fritz Onion.
Essential ASP.NET with Examples in C#
NET with Examples in C right now. NET book on my working bookshelf. NET is positioned to become the seminal book on the most important advancement to Web development in years. Reading his book has been a very helpful experience. It has a straightforward style and is comprehensive. The text is concise and examples are well written. The signal-to-noise ratio of this book is very high.
Essential ASP.NET With Examples in C#