E-Book, Englisch, 956 Seiten
MacDonald Beginning ASP.NET 3.5 in VB 2008
2. ed
ISBN: 978-1-4302-0431-2
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
From Novice to Professional
E-Book, Englisch, 956 Seiten
ISBN: 978-1-4302-0431-2
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 VB 9.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;23
4;About the Technical Reviewer;24
5;Acknowledgments;25
6;Introduction;26
6.1;About This Book;26
6.2;Code Samples;28
6.3;Chapter Overview;29
6.4;Feedback;30
7;Introducing .NET;31
7.1;The .NET Framework;32
7.1.1;The Evolution of Web Development;32
7.1.2;The . NET Framework;38
7.1.3;The Last Word;46
7.2;The Visual Basic Language;47
7.2.1;The . NET Languages;47
7.2.2;The Evolution of Visual Basic;48
7.2.3;Variables and Data Types;49
7.2.4;Variable Operations;56
7.2.5;Object- Based Manipulation;59
7.2.6;Conditional Logic;65
7.2.7;Loops;67
7.2.8;Methods;70
7.2.9;The Last Word;75
7.3;Types, Objects, and Namespaces;76
7.3.1;The Basics of Classes;76
7.3.2;Building a Basic Class;79
7.3.3;Value Types and Reference Types;90
7.3.4;Understanding Namespaces and Assemblies;93
7.3.5;Advanced Class Programming;97
7.3.6;The Last Word;105
8;Developing ASP.NET Applications;106
8.1;Visual Studio;107
8.1.1;The Promise of Visual Studio;107
8.1.2;Creating Websites;108
8.1.3;Designing a Web Page;117
8.1.4;The Anatomy of a Web Form;121
8.1.5;Writing Code;131
8.1.6;Visual Studio Debugging;138
8.1.7;The Last Word;145
8.2;Web Form Fundamentals;146
8.2.1;The Anatomy of an ASP. NET Application;146
8.2.2;Introducing Server Controls;149
8.2.3;Improving the Currency Converter;163
8.2.4;A Deeper Look at HTML Control Classes;168
8.2.5;The Page Class;173
8.2.6;Application Events;177
8.2.7;ASP. NET Configuration;180
8.2.8;The Last Word;186
8.3;Web Controls;187
8.3.1;Stepping Up to Web Controls;187
8.3.2;Web Control Classes;190
8.3.3;List Controls;198
8.3.4;Table Controls;202
8.3.5;Web Control Events and AutoPostBack;207
8.3.6;A Simple Web Page;215
8.3.7;The Last Word;224
8.4;State Management;225
8.4.1;The Problem of State;225
8.4.2;View State;226
8.4.3;Transferring Information Between Pages;233
8.4.4;Cookies;243
8.4.5;Session State;245
8.4.6;Session State Configuration;251
8.4.7;Application State;259
8.4.8;An Overview of State Management Choices;261
8.4.9;The Last Word;262
8.5;Error Handling, Logging, and Tracing;263
8.5.1;Common Errors;263
8.5.2;Exception Handling;265
8.5.3;Handling Exceptions;268
8.5.4;Throwing Your Own Exceptions;274
8.5.5;Logging Exceptions;278
8.5.6;Error Pages;288
8.5.7;Page Tracing;293
8.5.8;The Last Word;306
8.6;Deploying ASP.NET Applications;307
8.6.1;ASP. NET Applications and the Web Server;307
8.6.2;Internet Information Services ( IIS);312
8.6.3;Managing Websites with IIS Manager;320
8.6.4;Deploying a Simple Site;328
8.6.5;Deploying with Visual Studio;335
8.6.6;The Last Word;342
9;Building Better Web Forms;343
9.1;Validation;344
9.1.1;Understanding Validation;344
9.1.2;The Validation Controls;347
9.1.3;The Last Word;364
9.2;Rich Controls;365
9.2.1;The Calendar;365
9.2.2;The AdRotator;373
9.2.3;Pages with Multiple Views;376
9.2.4;The Last Word;390
9.3;User Controls and Graphics;391
9.3.1;User Controls;391
9.3.2;Dynamic Graphics;404
9.3.3;The Last Word;413
9.4;Styles, Themes, and Master Pages;414
9.4.1;Styles;415
9.4.2;Themes;428
9.4.3;Master Page Basics;436
9.4.4;Advanced Master Pages;447
9.4.5;The Last Word;453
9.5;Website Navigation;454
9.5.1;Site Maps;454
9.5.2;The SiteMapPath Control;472
9.5.3;The TreeView Control;476
9.5.4;The Menu Control;483
9.5.5;The Last Word;489
10;Working with Data;490
10.1;ADO.NET Fundamentals;491
10.1.1;Understanding Data Management;491
10.1.2;Configuring Your Database;494
10.1.3;SQL Basics;498
10.1.4;ADO. NET Basics;506
10.1.5;Direct Data Access;511
10.1.6;Disconnected Data Access;534
10.1.7;The Last Word;543
10.2;Data Binding;544
10.2.1;Introducing Data Binding;544
10.2.2;Single- Value Data Binding;546
10.2.3;Repeated-Value Data Binding;551
10.2.4;Data Source Controls;566
10.2.5;The Last Word;583
10.3;The Data Controls;584
10.3.1;The GridView;584
10.3.2;Formatting the GridView;590
10.3.3;Selecting a GridView Row;597
10.3.4;Editing with the GridView;601
10.3.5;Sorting and Paging the GridView;603
10.3.6;Using GridView Templates;608
10.3.7;The DetailsView and FormView;617
10.3.8;The Last Word;622
10.4;Files and Streams;623
10.4.1;Files and Web Applications;623
10.4.2;File System Information;624
10.4.3;Reading and Writing with Streams;638
10.4.4;Allowing File Uploads;649
10.4.5;The Last Word;652
10.5;XML;653
10.5.1;XML’s Hidden Role in . NET;653
10.5.2;XML Explained;654
10.5.3;The XML Classes;660
10.5.4;XML Validation;677
10.5.5;XML Display and Transforms;684
10.5.6;XML Data Binding;688
10.5.7;The Last Word;694
11;Website Security;695
11.1;Security Fundamentals;696
11.1.1;Determining Security Requirements;696
11.1.2;The ASP. NET Security Model;697
11.1.3;Forms Authentication;702
11.1.4;Windows Authentication;716
11.1.5;Impersonation;723
11.1.6;Confidentiality with SSL;725
11.1.7;The Last Word;729
11.2;Membership;730
11.2.1;The Membership Data Store;731
11.2.2;The Security Controls;748
11.2.3;Role- Based Security;762
11.2.4;The Last Word;769
11.3;Profiles;770
11.3.1;Understanding Profiles;770
11.3.2;Using the SqlProfileProvider;773
11.3.3;The Last Word;792
12;Advanced ASP.NET;793
12.1;Component-Based Programming;794
12.1.1;Why Use Components?;794
12.1.2;Component Jargon;795
12.1.3;Creating a Component;798
12.1.4;Properties and State;805
12.1.5;Data-Access Components;808
12.1.6;The ObjectDataSource;817
12.1.7;The Last Word;823
12.2;Caching;824
12.2.1;Understanding Caching;824
12.2.2;Output Caching;827
12.2.3;Data Caching;834
12.2.4;Caching with Dependencies;845
12.2.5;The Last Word;855
12.3;ASP.NET AJAX;856
12.3.1;Understanding Ajax;857
12.3.2;Partial Refreshes;860
12.3.3;Progress Notification;872
12.3.4;Timed Refreshes;876
12.3.5;The ASP. NET AJAX Control Toolkit;878
12.3.6;The Last Word;889
13;Index;890




