E-Book, Englisch, 954 Seiten
MacDonald Beginning ASP.NET 3.5 in C# 2008
2. ed
ISBN: 978-1-4302-0430-5
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
From Novice to Professional
E-Book, Englisch, 954 Seiten
ISBN: 978-1-4302-0430-5
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
This book will follow the proven pattern of its previous .NET 2.0 and .NET 1.1 editions, teaching novice users how to use ASP.NET by gradually building their knowledge of the technology up in a pyramidal fashion chapter by chapter. Comprehensively revised for both ASP.NET 3.5 and the new C# 3.0 language this book presents the easiest path to ASP.NET 3.5 mastery. This is one of the first books introducing novices to this important new technology area, and is written specifically in their coding language of preference. The book is written by a proven and award winning .NET author that has been following the technology release cycle since its inception.
Matthew MacDonald is an author,educator, and MCSD developer who has a passion for emerging technologies. He isthe author of more than a dozen books about .NET programming. In a dimly-remembered past life, he studied English literature and theoretical physics.
Autoren/Hrsg.
Weitere Infos & Material
1;Contents at a Glance;5
2;Contents;7
3;About the Author;24
4;About the Technical Reviewer;25
5;Acknowledgments;26
6;Introduction;27
6.1;About This Book;27
6.2;Code Samples;29
6.3;Chapter Overview;30
6.4;Feedback;31
7;Introducing .NET;32
7.1;The .NET Framework;33
7.1.1;The Evolution of Web Development;33
7.1.2;The . NET Framework;39
7.1.3;The Last Word;47
7.2;The C# Language;48
7.2.1;The . NET Languages;48
7.2.2;C# Language Basics;49
7.2.3;Variables and Data Types;51
7.2.4;Variable Operations;59
7.2.5;Object- Based Manipulation;63
7.2.6;Conditional Logic;69
7.2.7;Loops;71
7.2.8;Methods;75
7.2.9;The Last Word;80
7.3;Types, Objects, and Namespaces;81
7.3.1;The Basics About Classes;81
7.3.2;Building a Basic Class;84
7.3.3;Value Types and Reference Types;94
7.3.4;Understanding Namespaces and Assemblies;99
7.3.5;Advanced Class Programming;103
7.3.6;The Last Word;110
8;Developing ASP.NET Applications;112
8.1;Visual Studio;113
8.1.1;The Promise of Visual Studio;113
8.1.2;Creating Websites;114
8.1.3;Designing a Web Page;123
8.1.4;The Anatomy of a Web Form;128
8.1.5;Writing Code;138
8.1.6;Visual Studio Debugging;146
8.1.7;The Last Word;153
8.2;Web Form Fundamentals;154
8.2.1;The Anatomy of an ASP. NET Application;154
8.2.2;Introducing Server Controls;157
8.2.3;Improving the Currency Converter;172
8.2.4;A Deeper Look at HTML Control Classes;178
8.2.5;The Page Class;183
8.2.6;Application Events;186
8.2.7;ASP. NET Configuration;188
8.2.8;The Last Word;195
8.3;Web Controls;196
8.3.1;Stepping Up to Web Controls;196
8.3.2;Web Control Classes;199
8.3.3;List Controls;207
8.3.4;Table Controls;211
8.3.5;Web Control Events and AutoPostBack;216
8.3.6;A Simple Web Page;224
8.3.7;The Last Word;234
8.4;State Management;235
8.4.1;The Problem of State;235
8.4.2;View State;236
8.4.3;Transferring Information Between Pages;242
8.4.4;Cookies;252
8.4.5;Session State;255
8.4.6;Session State Configuration;260
8.4.7;Application State;269
8.4.8;An Overview of State Management Choices;271
8.4.9;The Last Word;272
8.5;Error Handling, Logging, and Tracing;273
8.5.1;Common Errors;273
8.5.2;Exception Handling;275
8.5.3;Handling Exceptions;278
8.5.4;Throwing Your Own Exceptions;284
8.5.5;Logging Exceptions;288
8.5.6;Error Pages;299
8.5.7;Page Tracing;304
8.5.8;The Last Word;317
8.6;Deploying ASP.NET Applications;318
8.6.1;ASP. NET Applications and the Web Server;318
8.6.2;Internet Information Services ( IIS);323
8.6.3;Managing Websites with IIS Manager;331
8.6.4;Deploying a Simple Site;339
8.6.5;Deploying with Visual Studio;346
8.6.6;The Last Word;353
9;Building Better Web Forms;354
9.1;Validation;355
9.1.1;Understanding Validation;355
9.1.2;The Validation Controls;358
9.1.3;The Last Word;376
9.2;Rich Controls;377
9.2.1;The Calendar;377
9.2.2;The AdRotator;385
9.2.3;Pages with Multiple Views;388
9.2.4;The Last Word;401
9.3;User Controls and Graphics;403
9.3.1;User Controls;403
9.3.2;Dynamic Graphics;416
9.3.3;The Last Word;425
9.4;Styles, Themes, and Master Pages;426
9.4.1;Styles;426
9.4.2;Themes;440
9.4.3;Master Page Basics;448
9.4.4;Advanced Master Pages;459
9.4.5;The Last Word;465
9.5;Website Navigation;466
9.5.1;Site Maps;466
9.5.2;The SiteMapPath Control;483
9.5.3;The TreeView Control;488
9.5.4;The Menu Control;495
9.5.5;The Last Word;501
10;Working with Data;502
10.1;ADO.NET Fundamentals;503
10.1.1;Understanding Data Management;503
10.1.2;Configuring Your Database;506
10.1.3;SQL Basics;510
10.1.4;ADO. NET Basics;518
10.1.5;Direct Data Access;523
10.1.6;Disconnected Data Access;547
10.1.7;The Last Word;556
10.2;Data Binding;557
10.2.1;Introducing Data Binding;557
10.2.2;Single- Value Data Binding;559
10.2.3;Repeated- Value Data Binding;564
10.2.4;Data Source Controls;579
10.2.5;The Last Word;596
10.3;The Data Controls;597
10.3.1;The GridView;597
10.3.2;Formatting the GridView;603
10.3.3;Selecting a GridView Row;609
10.3.4;Editing with the GridView;613
10.3.5;Sorting and Paging the GridView;616
10.3.6;Using GridView Templates;621
10.3.7;The DetailsView and FormView;630
10.3.8;The Last Word;635
10.4;Files and Streams;636
10.4.1;Files and Web Applications;636
10.4.2;File System Information;637
10.4.3;Reading and Writing with Streams;651
10.4.4;Allowing File Uploads;661
10.4.5;The Last Word;665
10.5;XML;666
10.5.1;XML’s Hidden Role in . NET;666
10.5.2;XML Explained;667
10.5.3;The XML Classes;673
10.5.4;XML Validation;690
10.5.5;XML Display and Transforms;697
10.5.6;XML Data Binding;701
10.5.7;The Last Word;707
11;Website Security;708
11.1;Security Fundamentals;709
11.1.1;Determining Security Requirements;709
11.1.2;The ASP. NET Security Model;710
11.1.3;Forms Authentication;715
11.1.4;Windows Authentication;728
11.1.5;Impersonation;735
11.1.6;Confidentiality with SSL;737
11.1.7;The Last Word;741
11.2;Membership;742
11.2.1;The Membership Data Store;742
11.2.2;The Security Controls;759
11.2.3;Role- Based Security;772
11.2.4;The Last Word;778
11.3;Profiles;779
11.3.1;Understanding Profiles;779
11.3.2;Using the SqlProfileProvider;782
11.3.3;The Last Word;801
12;Advanced ASP.NET;802
12.1;Component-Based Programming;803
12.1.1;Why Use Components?;803
12.1.2;Component Jargon;804
12.1.3;Creating a Component;807
12.1.4;Properties and State;815
12.1.5;Data- Access Components;818
12.1.6;The ObjectDataSource;828
12.1.7;The Last Word;834
12.2;Caching;835
12.2.1;Understanding Caching;835
12.2.2;Output Caching;838
12.2.3;Data Caching;846
12.2.4;Caching with Dependencies;857
12.2.5;The Last Word;867
12.3;ASP.NET AJAX;868
12.3.1;Understanding Ajax;869
12.3.2;Partial Refreshes;872
12.3.3;Progress Notification;884
12.3.4;Timed Refreshes;889
12.3.5;The ASP. NET AJAX Control Toolkit;891
12.3.6;The Last Word;901
13;Index;903




