E-Book, Englisch, 1100 Seiten
MacDonald Beginning ASP.NET 2.0 in VB 2005
1. Auflage 2006
ISBN: 978-1-4302-0155-7
Verlag: Apress
Format: PDF
Kopierschutz: Adobe DRM (»Systemvoraussetzungen)
From Novice to Professional
E-Book, Englisch, 1100 Seiten
ISBN: 978-1-4302-0155-7
Verlag: Apress
Format: PDF
Kopierschutz: Adobe DRM (»Systemvoraussetzungen)
One of the first books to show new the new VB 2005 and ASP.NET 2.0 technologies and features Provides a complete tutorial that walks you through building web-enabled solutions using Microsoft's new .NET 2.0 coding technology Entire generation of developers-both those familiar with .NET and those using other technologies-looking for authoritative information on .NET 2.0 and its capabilities and changes. This book has been created to appeal directly to the widest possible market
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;6
2;Contents;8
3;About the Author;28
4;About the Technical Reviewer;30
5;Acknowledgments;32
6;Introduction;34
7;PART 1 Introducing .NET;39
7.1;CHAPTER 1 Introducing the .NET Framework;41
7.1.1;The Evolution of Web Development;41
7.1.2;The .NET Framework;48
7.1.3;VB 2005, C#, and the .NET Languages;50
7.1.4;The Common Language Runtime;52
7.1.5;The .NET Class Library;54
7.1.6;Visual Studio 2005;55
7.1.7;.NET 2.0;56
7.1.8;The Last Word;58
7.2;CHAPTER 2 Learning the VB 2005 Language;59
7.2.1;The .NET Languages;59
7.2.2;The Evolution of Visual Basic;60
7.2.3;Variables and Data Types;61
7.2.4;Variable Operations;68
7.2.5;Object-Based Manipulation;72
7.2.6;Conditional Structures;77
7.2.7;Loop Structures;79
7.2.8;Methods;83
7.2.9;The Last Word;88
7.3;CHAPTER 3 Types, Objects, and Namespaces;89
7.3.1;The Basics of Classes;89
7.3.2;Building a Basic Class;92
7.3.3;Value Types and Reference Types;105
7.3.4;Understanding Namespaces and Assemblies;109
7.3.5;Advanced Class Programming;113
7.3.6;The Last Word;122
7.4;CHAPTER 4 Introducing Visual Studio 2005;123
7.4.1;The Promise of Visual Studio;123
7.4.2;Creating a Website;125
7.4.3;Designing a Web Page;130
7.4.4;Writing Code;138
7.4.5;Visual Studio Debugging;148
7.4.6;The Last Word;153
8;PART 2 Developing ASP.NET Applications;155
8.1;CHAPTER 5 Web Form Fundamentals;157
8.1.1;The Anatomy of an ASP.NET Application;157
8.1.2;A Simple One-Page Web Application;162
8.1.3;Improving the Currency Converter;177
8.1.4;A Deeper Look at HTML Control Classes;183
8.1.5;The Page Class;189
8.1.6;ASP.NET Configuration;195
8.1.7;The Last Word;204
8.2;CHAPTER 6 Web Controls;205
8.2.1;Stepping Up to Web Controls;205
8.2.2;Web Control Classes;209
8.2.3;List Controls;216
8.2.4;Table Controls;222
8.2.5;Web Control Events and AutoPostBack;227
8.2.6;A Simple Web Page;235
8.2.7;The Last Word;245
8.3;CHAPTER 7 Tracing, Logging, and Error Handling;247
8.3.1;Common Errors;247
8.3.2;Exception Handling;249
8.3.3;Handling Exceptions;252
8.3.4;Throwing Your Own Exceptions;258
8.3.5;Logging Exceptions;263
8.3.6;Error Pages;272
8.3.7;Page Tracing;277
8.3.8;The Last Word;291
8.4;CHAPTER 8 Validation and Rich Controls;293
8.4.1;Validation;293
8.4.2;A Simple Validation Example;297
8.4.3;Understanding Regular Expressions;304
8.4.4;Rich Controls;315
8.4.5;Pages with Multiple Views;327
8.4.6;The Last Word;340
8.5;CHAPTER 9 State Management;341
8.5.1;The Problem of State;341
8.5.2;View State;342
8.5.3;Transferring Information;349
8.5.4;Custom Cookies;358
8.5.5;Session State;361
8.5.6;Session State Configuration;367
8.5.7;Application State;375
8.5.8;An Overview of State Management Choices;377
8.5.9;The Global.asax Application File;378
8.5.10;The Last Word;380
8.6;CHAPTER 10 Master Pages and Themes;381
8.6.1;Master Page Basics;381
8.6.2;Advanced Master Pages;393
8.6.3;Themes;400
8.6.4;The Last Word;410
8.7;CHAPTER 11 Website Navigation;411
8.7.1;Site Maps;411
8.7.2;The SiteMapPath Control;431
8.7.3;The TreeView Control;435
8.7.4;The Menu Control;442
8.7.5;The Last Word;448
8.8;CHAPTER 12 Deploying ASP.NET Applications;449
8.8.1;ASP.NET Applications and the Web Server;449
8.8.2;IIS (Internet Information Services);454
8.8.3;Managing Websites with IIS Manager;460
8.8.4;Deploying a Simple Site;474
8.8.5;Deploying with Visual Studio 2005;480
8.8.6;The Last Word;488
9;PART 3 Working with Data;489
9.1;CHAPTER 13 ADO.NET Fundamentals;491
9.1.1;ADO.NET and Data Management;491
9.1.2;SQL Basics;498
9.1.3;ADO.NET Basics;507
9.1.4;Direct Data Access;511
9.1.5;Creating a Connection;512
9.1.6;Defining a Select Command;518
9.1.7;Updating Data;524
9.1.8;Disconnected Data Access;535
9.1.9;Updating Disconnected Data;545
9.1.10;The Last Word;554
9.2;CHAPTER 14 Data Binding;555
9.2.1;Introducing Data Binding;555
9.2.2;Single-Value Data Binding;557
9.2.3;Repeated-Value Data Binding;564
9.2.4;Data Source Controls;581
9.2.5;The Last Word;595
9.3;CHAPTER 15 The Data Controls;597
9.3.1;The GridView;597
9.3.2;Formatting the GridView;604
9.3.3;Selecting a GridView Row;611
9.3.4;Editing with the GridView;616
9.3.5;Sorting and Paging the GridView;619
9.3.6;Using GridView Templates;625
9.3.7;The DetailsView and FormView;635
9.3.8;The Last Word;640
9.4;CHAPTER 16 Files and Streams;641
9.4.1;Files and Web Applications;641
9.4.2;File System Information;642
9.4.3;Reading and Writing with Streams;655
9.4.4;Allowing File Uploads;665
9.4.5;The Last Word;669
9.5;CHAPTER 17 XML;671
9.5.1;XML’s Hidden Role in .NET;671
9.5.2;XML Explained;672
9.5.3;The XML Classes;679
9.5.4;XML Validation;697
9.5.5;XML Display and Transforms;703
9.5.6;XML Data Binding;707
9.5.7;XML in ADO.NET;713
9.5.8;The Last Word;718
10;PART 4 Website Security;719
10.1;CHAPTER 18 Security Fundamentals;721
10.1.1;Determining Security Requirements;721
10.1.2;The ASP.NET Security Model;723
10.1.3;Forms Authentication;729
10.1.4;Windows Authentication;743
10.1.5;Impersonation;749
10.1.6;The Last Word;751
10.2;CHAPTER 19 Membership;753
10.2.1;The Membership Data Store;754
10.2.2;The Security Controls;773
10.2.3;Role-Based Security;786
10.2.4;The Last Word;793
10.3;CHAPTER 20 Profiles;795
10.3.1;Understanding Profiles;796
10.3.2;Using the SqlProfileProvider;799
10.3.3;The Last Word;822
11;PART 5 Web Services;823
11.1;CHAPTER 21 Web Services Architecture;825
11.1.1;Internet Programming Then and Now;825
11.1.2;The Open-Standards Plumbing;828
11.1.3;Communicating with a Web Service;831
11.1.4;Web Service Discovery;832
11.1.5;WS-Interoperability;834
11.1.6;The Last Word;835
11.2;CHAPTER 22 Creating Web Services;837
11.2.1;Web Service Basics;837
11.2.2;The StockQuote Web Service;840
11.2.3;Documenting Your Web Service;844
11.2.4;Testing Your Web Service;847
11.2.5;Web Service Data Types;853
11.2.6;Consuming a Web Service;858
11.2.7;Using the Proxy Class;868
11.2.8;The Last Word;871
11.3;CHAPTER 23 Enhancing Web Services;873
11.3.1;State Management;873
11.3.2;Web Service Security;880
11.3.3;Web Service Transactions;891
11.3.4;An Example with TerraService;893
11.3.5;Windows Clients;900
11.3.6;The Last Word;902
12;PART 6 Advanced ASP.NET;903
12.1;CHAPTER 24 Component-Based Programming;905
12.1.1;Why Use Components?;905
12.1.2;Component Jargon;907
12.1.3;Creating a Component;910
12.1.4;Properties and State;918
12.1.5;Data-Access Components;921
12.1.6;The ObjectDataSource;931
12.1.7;The Last Word;937
12.2;CHAPTER 25 Custom Controls;939
12.2.1;User Controls;939
12.2.2;Custom Controls;954
12.2.3;Dynamic Graphics;981
12.2.4;The Last Word;987
12.3;CHAPTER 26 Caching and Performance Tuning;989
12.3.1;Designing for Performance;990
12.3.2;Profiling;993
12.3.3;Caching;998
12.3.4;Output Caching;999
12.3.5;Data Caching;1008
12.3.6;Caching with Dependencies;1020
12.3.7;The Last Word;1030
13;Index;1031




