E-Book, Englisch, 1184 Seiten
MacDonald Beginning ASP.NET 2.0 in C# 2005
2. ed
ISBN: 978-1-4302-0121-2
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
From Novice to Professional
E-Book, Englisch, 1184 Seiten
ISBN: 978-1-4302-0121-2
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
* Steers reader through the spectrum of ASP.NET web programming concepts. * Developers and programmers can learn language and theory simultaneously. * Professional ASP.NET developers and wannabes can master the core techniques to develop good coding practices to enhance their long-term skill set.
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;8
3;About the Author;27
4;About the Technical Reviewer;28
5;Acknowledgments;29
6;Introduction;30
7;PART 1 Introducing .NET;35
7.1;CHAPTER 1 Introducing the .NET Framework;37
7.1.1;The Evolution of Web Development;37
7.1.2;The .NET Framework;44
7.1.3;C#, VB .NET, and the .NET Languages;46
7.1.4;The Common Language Runtime;48
7.1.5;The .NET Class Library;50
7.1.6;Visual Studio;51
7.1.7;.NET 2.0;52
7.1.8;The Last Word;55
7.2;CHAPTER 2 Learning the C# Language;57
7.2.1;The .NET Languages;57
7.2.2;C# Language Basics;58
7.2.3;Variables and Data Types;61
7.2.4;Variable Operations;69
7.2.5;Object-Based Manipulation;73
7.2.6;Conditional Structures;78
7.2.7;Loop Structures;81
7.2.8;Methods;85
7.2.9;The Last Word;91
7.3;CHAPTER 3 Types, Objects, and Namespaces;93
7.3.1;The Basics About Classes;93
7.3.2;Building a Basic Class;96
7.3.3;Value Types and Reference Types;107
7.3.4;Understanding Namespaces and Assemblies;112
7.3.5;Advanced Class Programming;116
7.3.6;The Last Word;124
7.4;CHAPTER 4 Introducing Visual Studio 2005;125
7.4.1;The Promise of Visual Studio;125
7.4.2;Creating a Website;127
7.4.3;Designing a Web Page;132
7.4.4;Writing Code;139
7.4.5;Visual Studio Debugging;149
7.4.6;The Last Word;155
8;PART 2 Developing ASP.NET Applications;157
8.1;CHAPTER 5 Web Form Fundamentals;159
8.1.1;The Anatomy of an ASP.NET Application;159
8.1.2;A Simple One-Page Applet;164
8.1.3;Improving the Currency Converter;180
8.1.4;A Deeper Look at HTML Control Classes;186
8.1.5;The Page Class;192
8.1.6;ASP.NET Configuration;199
8.1.7;The Last Word;208
8.2;CHAPTER 6 Web Controls;209
8.2.1;Stepping Up to Web Controls;209
8.2.2;Web Control Classes;213
8.2.3;List Controls;220
8.2.4;Table Controls;225
8.2.5;AutoPostBack and Web Control Events;231
8.2.6;A Simple Web Page Applet;240
8.2.7;The Last Word;251
8.3;CHAPTER 7 Tracing, Logging, and Error Handling;253
8.3.1;Common Errors;253
8.3.2;Exception Handling;255
8.3.3;Handling Exceptions;259
8.3.4;Throwing Your Own Exceptions;266
8.3.5;Logging Exceptions;270
8.3.6;Error Pages;280
8.3.7;Page Tracing;286
8.3.8;The Last Word;300
8.4;CHAPTER 8 Validation and Rich Controls;301
8.4.1;Validation;301
8.4.2;A Simple Validation Example;305
8.4.3;Understanding Regular Expressions;312
8.4.4;Rich Controls;324
8.4.5;Pages with Multiple Views;336
8.4.6;The Last Word;350
8.5;CHAPTER 9 State Management;351
8.5.1;The Problem of State;351
8.5.2;View State;352
8.5.3;Transferring Information;359
8.5.4;Custom Cookies;368
8.5.5;Session State;371
8.5.6;Session State Configuration;378
8.5.7;Application State;386
8.5.8;An Overview of State Management Choices;388
8.5.9;The Global.asax Application File;390
8.5.10;The Last Word;392
8.6;CHAPTER 10 Master Pages and Themes;393
8.6.1;Master Page Basics;393
8.6.2;Advanced Master Pages;405
8.6.3;Themes;411
8.6.4;The Last Word;421
8.7;CHAPTER 11 Website Navigation;423
8.7.1;Site Maps;423
8.7.2;The SiteMapPath Control;443
8.7.3;The TreeView Control;447
8.7.4;The Menu Control;454
8.7.5;The Last Word;459
8.8;CHAPTER 12 Deploying ASP.NET Applications;461
8.8.1;ASP.NET Applications and the Web Server;461
8.8.2;IIS (Internet Information Services);467
8.8.3;Managing Websites with IIS Manager;473
8.8.4;Deploying a Simple Site;487
8.8.5;Deploying with Visual Studio 2005;494
8.8.6;The Last Word;502
9;PART 3 Working with Data;503
9.1;CHAPTER 13 ADO.NET Fundamentals;505
9.1.1;ADO.NET and Data Management;505
9.1.2;SQL Basics;512
9.1.3;ADO.NET Basics;521
9.1.4;Direct Data Access;526
9.1.5;Creating a Connection;527
9.1.6;Defining a Select Command;534
9.1.7;Updating Data;541
9.1.8;Disconnected Data Access;552
9.1.9;Updating Disconnected Data;562
9.1.10;The Last Word;572
9.2;CHAPTER 14 Data Binding;573
9.2.1;Introducing Data Binding;573
9.2.2;Single-Value Data Binding;575
9.2.3;Repeated-Value Data Binding;581
9.2.4;Data Source Controls;598
9.2.5;The Last Word;612
9.3;CHAPTER 15 The Data Controls;615
9.3.1;The GridView;615
9.3.2;Formatting the GridView;622
9.3.3;Selecting a GridView Row;629
9.3.4;Editing with the GridView;634
9.3.5;Sorting and Paging the GridView;637
9.3.6;Using GridView Templates;642
9.3.7;The DetailsView and FormView;652
9.3.8;The Last Word;657
9.4;CHAPTER 16 Files and Streams;659
9.4.1;Files and Web Applications;659
9.4.2;File System Information;660
9.4.3;Reading and Writing with Streams;674
9.4.4;Allowing File Uploads;684
9.4.5;The Last Word;688
9.5;CHAPTER 17 XML;689
9.5.1;XML’s Hidden Role in .NET;689
9.5.2;XML Explained;690
9.5.3;The XML Classes;697
9.5.4;XML Validation;715
9.5.5;XML Display and Transforms;721
9.5.6;XML Data Binding;726
9.5.7;XML in ADO.NET;732
9.5.8;The Last Word;736
10;PART 4 Website Security;739
10.1;CHAPTER 18 Security Fundamentals;741
10.1.1;Determining Security Requirements;741
10.1.2;The ASP.NET Security Model;743
10.1.3;Forms Authentication;750
10.1.4;Windows Authentication;763
10.1.5;Impersonation;769
10.1.6;The Last Word;772
10.2;CHAPTER 19 Membership;773
10.2.1;The Membership Data Store;774
10.2.2;The Security Controls;793
10.2.3;Role-Based Security;807
10.2.4;The Last Word;814
10.3;CHAPTER 20 Profiles;815
10.3.1;Understanding Profiles;816
10.3.2;Using the SqlProfileProvider;819
10.3.3;The Last Word;843
11;PART 5 Web Services;845
11.1;CHAPTER 21 Web Services Architecture;847
11.1.1;Internet Programming Then and Now;847
11.1.2;Web Services Description Language;851
11.1.3;SOAP;858
11.1.4;Communicating with a Web Service;859
11.1.5;Web Service Discovery;861
11.1.6;WS-Interoperability;863
11.1.7;The Last Word;864
11.2;CHAPTER 22 Creating Web Services;865
11.2.1;Web Service Basics;865
11.2.2;The StockQuote Web Service;868
11.2.3;Documenting Your Web Service;872
11.2.4;Testing Your Web Service;876
11.2.5;Web Service Data Types;881
11.2.6;Consuming a Web Service;887
11.2.7;Using the Proxy Class;897
11.2.8;The Last Word;901
11.3;CHAPTER 23 Enhancing Web Services;903
11.3.1;State Management;903
11.3.2;Web Service Security;911
11.3.3;Web Service Transactions;922
11.3.4;An Example with TerraService;925
11.3.5;Windows Clients;932
11.3.6;The Last Word;934
12;PART 6 Advanced ASP.NET;935
12.1;CHAPTER 24 Component-Based Programming;937
12.1.1;Why Use Components?;937
12.1.2;Component Jargon;939
12.1.3;Creating a Simple Component;942
12.1.4;The Component Class;942
12.1.5;Properties and State;950
12.1.6;Database Components;953
12.1.7;The ObjectDataSource;964
12.1.8;The Last Word;970
12.2;CHAPTER 25 Custom Controls;971
12.2.1;User Controls;971
12.2.2;Derived Custom Controls;987
12.2.3;Dynamic Graphics;1011
12.2.4;The Last Word;1017
12.3;CHAPTER 26 Caching and Performance Tuning;1019
12.3.1;Designing for Performance;1020
12.3.2;Profiling;1023
12.3.3;Caching;1028
12.3.4;Output Caching;1029
12.3.5;Data Caching;1038
12.3.6;Caching with Dependencies;1050
12.3.7;The Last Word;1061
12.4;CHAPTER 27 Web Parts;1063
12.4.1;Introducing Web Part Basics;1064
12.4.2;Using Web Parts;1066
12.4.3;The Last Word;1095
13;Index;1097




