E-Book, Englisch, 1664 Seiten
MacDonald / Mabbutt / Freeman Pro ASP.NET 4 in VB 2010
3. Auflage 2011
ISBN: 978-1-4302-2512-6
Verlag: Apress
Format: PDF
Kopierschutz: Adobe DRM (»Systemvoraussetzungen)
E-Book, Englisch, 1664 Seiten
ISBN: 978-1-4302-2512-6
Verlag: Apress
Format: PDF
Kopierschutz: Adobe DRM (»Systemvoraussetzungen)
ASP.NET 4 is the principal standard for creating dynamic web pages on the Windows platform. raises the bar for high-quality, practical advice on learning and deploying Microsoft's dynamic web solution.
This edition is updated with everything you need to come to grips with version 4 of ASP.NET, including coverage of ASP.NET MVC, ASP.NET AJAX 4, ASP.NET Dynamic Data, and Silverlight 3.
Seasoned .NET professionals Matthew MacDonald and Mario Szpuszta explain how you can get the most from these groundbreaking new technologies. They cover ASP.NET 4 as a whole, illustrating both the brand-new features and the functionality carried over from previous versions of ASP. This book will give you the knowledge you need to code real ASP.NET 4 applications in the best possible style.
Autoren/Hrsg.
Weitere Infos & Material
1;Title Page;1
2;Copyright Page;2
3;Contents at a Glance;4
4;Table of Contents;6
5;About the Authors;31
6;About the Technical Reviewer;32
7;Introduction;33
7.1;What Does This Book Cover?;33
7.2;Who Is This Book For?;34
7.3;What Do You Need to Use This Book?;35
7.4;Customer Support;35
7.4.1;Sample Code;35
7.4.2;Errata;35
8;PART I Core Concepts;36
9;CHAPTER 1 Introducing ASP.NET;37
9.1;The Seven Pillars of ASP.NET;37
9.1.1;#1: ASP.NET Is Integrated with the .NET Framework;37
9.1.2;#2: ASP.NET Is Compiled, Not Interpreted;38
9.1.3;#3: ASP.NET Is Multilanguage;40
9.1.4;#4: ASP.NET Is Hosted by the Common Language Runtime;42
9.1.5;#5: ASP.NET Is Object-Oriented;43
9.1.6;#6: ASP.NET Supports all Browsers;45
9.1.7;#7: ASP.NET Is Easy to Deploy and Configure;45
9.2;The Evolution of ASP.NET;46
9.2.1;ASP.NET 1.0 and 1.1;46
9.2.2;ASP.NET 2.0;46
9.2.3;ASP.NET 3.5;48
9.2.3.1;LINQ;48
9.2.3.2;ASP.NET AJAX;49
9.2.4;ASP.NET 4;51
9.2.4.1;ASP.NET MVC;52
9.2.4.2;ASP.NET Dynamic Data;52
9.2.5;Silverlight;53
9.3;Summary;53
10;CHAPTER 2 Visual Studio;54
10.1;Introducing Visual Studio;54
10.1.1;Websites and Web Projects;55
10.1.2;Creating a Projectless Website;56
10.1.2.1;The Development Language;57
10.1.2.2;The Framework Version;57
10.1.2.3;The Template;58
10.1.2.4;The Location;59
10.1.3;Designing a Web Page;61
10.1.3.1;Absolute Positioning;62
10.1.3.2;Smart Tags;63
10.1.3.3;Static HTML Tags;64
10.1.3.4;HTML Tables;64
10.1.3.5;Structuring HTML Markup;65
10.2;The Visual Studio IDE;67
10.2.1;Solution Explorer;69
10.2.2;Document Window;70
10.2.3;Toolbox;70
10.2.4;Error List and Task List;71
10.2.5;Server Explorer;73
10.3;The Code Editor;74
10.3.1;Adding Assembly References;75
10.3.2;IntelliSense and Outlining;78
10.3.2.1;Outlining;78
10.3.2.2;Member List;79
10.3.2.3;Error Underlining;81
10.3.3;Visual Studio 2010 Improvements;81
10.3.3.1;IntelliSense Gets More Intelligent;82
10.3.3.2;New Tools for Search and Navigation;83
10.3.3.3;Draggable Document Windows;85
10.4;The Code Model;85
10.4.1;How Code-Behind Files Are Connected to Pages;88
10.4.2;How Control Tags Are Connected to Page Variables;89
10.4.3;How Events Are Connected to Event Handlers;90
10.5;Web Projects;91
10.5.1;Project-Based Development;92
10.5.2;Creating a Web Project;93
10.5.3;Migrating a Website from a Previous Version of Visual Studio;94
10.6;Visual Studio Debugging;96
10.6.1;Single-Step Debugging;97
10.6.2;Variable Watches;100
10.6.3;Advanced Breakpoints;101
10.7;The Web Development Helper;101
10.8;Summary;103
11;CHAPTER 3 Web Forms;104
11.1;Page Processing;105
11.1.1;HTML Forms;105
11.1.2;Dynamic User Interface;107
11.1.3;The ASP.NET Event Model;108
11.1.4;Automatic Postbacks;109
11.1.4.1;Automatic Postbacks “Under the Hood”;109
11.1.5;View State;110
11.1.5.1;View State “Under the Hood”;113
11.1.5.2;View State Chunking;114
11.1.6;XHTML Compliance;115
11.1.6.1;Document Type Definitions;116
11.1.6.2;Configuring XHTML Rendering;117
11.1.6.3;Visual Studio’s Default Doctype;119
11.1.6.4;XHTML Validation;119
11.1.7;Client-Side Control IDs;121
11.2;Web Forms Processing Stages;123
11.2.1;Page Framework Initialization;124
11.2.2;User Code Initialization;125
11.2.3;Validation;125
11.2.4;Event Handling;126
11.2.5;Automatic Data Binding;126
11.2.6;Cleanup;127
11.2.7;A Page Flow Example;127
11.3;The Page As a Control Container;130
11.3.1;Showing the Control Tree;130
11.3.2;The Page Header;134
11.3.3;Dynamic Control Creation;136
11.4;The Page Class;138
11.4.1;Session, Application, and Cache;139
11.4.2;Request;139
11.4.3;Response;141
11.4.3.1;Moving Between Pages;143
11.4.3.2;HTML and URL Encoding;145
11.4.4;User;147
11.4.5;Trace;147
11.4.5.1;Application Tracing;151
11.4.5.2;Tracing with the Web Development Helper;153
11.4.6;Accessing the HTTP Context in Another Class;153
11.5;Summary;154
12;CHAPTER 4 Server Controls;155
12.1;Types of Server Controls;155
12.1.1;The Server Control Hierarchy;156
12.2;HTML Server Controls;158
12.2.1;The HtmlControl Class;159
12.2.2;The HtmlContainerControl Class;159
12.2.3;The HtmlInputControl Class;160
12.2.4;The HTML Server Control Classes;160
12.2.5;Setting Style Attributes and Other Properties;162
12.2.6;Programmatically Creating Server Controls;163
12.2.7;Handling Server-Side Events;165
12.2.7.1;The ServerClick and ServerChange Events;166
12.3;Web Controls;168
12.3.1;The WebControl Base Class;169
12.3.2;Basic Web Control Classes;170
12.3.3;Units;173
12.3.4;Enumerations;174
12.3.5;Colors;174
12.3.6;Fonts;175
12.3.7;Focus;176
12.3.8;The Default Button;178
12.3.9;Scrollable Panels;178
12.3.10;Handling Web Control Events;179
12.3.10.1;The Click Event and the ImageButton Control;181
12.4;The List Controls;182
12.4.1;The Selectable List Controls;184
12.4.2;The BulletedList Control;187
12.5;Input Validation Controls;189
12.5.1;The Validation Controls;190
12.5.2;The Validation Process;191
12.5.3;The BaseValidator Class;192
12.5.4;The RequiredFieldValidator Control;194
12.5.5;The RangeValidator Control;194
12.5.6;The CompareValidator Control;195
12.5.7;The RegularExpressionValidator Control;195
12.5.8;The CustomValidator Control;199
12.5.9;The ValidationSummary Control;200
12.5.10;Using the Validators Programmatically;201
12.5.11;Validation Groups;202
12.6;Rich Controls;204
12.6.1;The AdRotator Control;205
12.6.2;The Calendar Control;207
12.7;Summary;209
13;CHAPTER 5 ASP.NET Applications;210
13.1;Anatomy of an ASP.NET Application;210
13.1.1;The Application Domain;210
13.1.2;Application Lifetime;212
13.1.3;Application Updates;212
13.1.4;Application Directory Structure;213
13.2;The global.asax Application File;214
13.2.1;Application Events;216
13.2.2;Demonstrating Application Events;218
13.3;ASP.NET Configuration;219
13.3.1;The machine.config File;220
13.3.1.1;




