Beginning ASP.NET 2.0 in C# 2005 -  Matthew MacDonald

Beginning ASP.NET 2.0 in C# 2005 (eBook)

From Novice to Professional
eBook Download: PDF
2006 | 2nd ed.
XXXIV, 1184 Seiten
Apress (Verlag)
978-1-4302-0121-2 (ISBN)
Systemvoraussetzungen
42,79 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
* 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.
Beginning ASP.NET 2.0 in C# 2005: From Novice to Professional steers you through the maze of ASP.NET web programming concepts. You will learn language and theory simultaneously, mastering the core techniques necessary to develop good coding practices and enhance your skill set.This book provides thorough coverage of ASP.NET, guiding you from beginning to advanced techniques, such as querying databases from within a web page and performance-tuning your site. You'll find tips for best practices and comprehensive discussions of key database and XML principles.The book also emphasizes the invaluable coding techniques of object orientation and code-behind, which will enable you to build real-world websites instead of just scraping by with simplified coding practices. By the time you finish this book, you will have mastered the core techniques essential to professional ASP.NET developers.

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.

Contents at a Glance 5
Contents 8
About the Author 27
About the Technical Reviewer 28
Acknowledgments 29
Introduction 30
PART 1 Introducing .NET 35
CHAPTER 1 Introducing the .NET Framework 37
The Evolution of Web Development 37
The .NET Framework 44
C#, VB .NET, and the .NET Languages 46
The Common Language Runtime 48
The .NET Class Library 50
Visual Studio 51
.NET 2.0 52
The Last Word 55
CHAPTER 2 Learning the C# Language 57
The .NET Languages 57
C# Language Basics 58
Variables and Data Types 61
Variable Operations 69
Object-Based Manipulation 73
Conditional Structures 78
Loop Structures 81
Methods 85
The Last Word 91
CHAPTER 3 Types, Objects, and Namespaces 93
The Basics About Classes 93
Building a Basic Class 96
Value Types and Reference Types 107
Understanding Namespaces and Assemblies 112
Advanced Class Programming 116
The Last Word 124
CHAPTER 4 Introducing Visual Studio 2005 125
The Promise of Visual Studio 125
Creating a Website 127
Designing a Web Page 132
Writing Code 139
Visual Studio Debugging 149
The Last Word 155
PART 2 Developing ASP.NET Applications 157
CHAPTER 5 Web Form Fundamentals 159
The Anatomy of an ASP.NET Application 159
A Simple One-Page Applet 164
Improving the Currency Converter 180
A Deeper Look at HTML Control Classes 186
The Page Class 192
ASP.NET Configuration 199
The Last Word 208
CHAPTER 6 Web Controls 209
Stepping Up to Web Controls 209
Web Control Classes 213
List Controls 220
Table Controls 225
AutoPostBack and Web Control Events 231
A Simple Web Page Applet 240
The Last Word 251
CHAPTER 7 Tracing, Logging, and Error Handling 253
Common Errors 253
Exception Handling 255
Handling Exceptions 259
Throwing Your Own Exceptions 266
Logging Exceptions 270
Error Pages 280
Page Tracing 286
The Last Word 300
CHAPTER 8 Validation and Rich Controls 301
Validation 301
A Simple Validation Example 305
Understanding Regular Expressions 312
Rich Controls 324
Pages with Multiple Views 336
The Last Word 350
CHAPTER 9 State Management 351
The Problem of State 351
View State 352
Transferring Information 359
Custom Cookies 368
Session State 371
Session State Configuration 378
Application State 386
An Overview of State Management Choices 388
The Global.asax Application File 390
The Last Word 392
CHAPTER 10 Master Pages and Themes 393
Master Page Basics 393
Advanced Master Pages 405
Themes 411
The Last Word 421
CHAPTER 11 Website Navigation 423
Site Maps 423
The SiteMapPath Control 443
The TreeView Control 447
The Menu Control 454
The Last Word 459
CHAPTER 12 Deploying ASP.NET Applications 461
ASP.NET Applications and the Web Server 461
IIS (Internet Information Services) 467
Managing Websites with IIS Manager 473
Deploying a Simple Site 487
Deploying with Visual Studio 2005 494
The Last Word 502
PART 3 Working with Data 503
CHAPTER 13 ADO.NET Fundamentals 505
ADO.NET and Data Management 505
SQL Basics 512
ADO.NET Basics 521
Direct Data Access 526
Creating a Connection 527
Defining a Select Command 534
Updating Data 541
Disconnected Data Access 552
Updating Disconnected Data 562
The Last Word 572
CHAPTER 14 Data Binding 573
Introducing Data Binding 573
Single-Value Data Binding 575
Repeated-Value Data Binding 581
Data Source Controls 598
The Last Word 612
CHAPTER 15 The Data Controls 615
The GridView 615
Formatting the GridView 622
Selecting a GridView Row 629
Editing with the GridView 634
Sorting and Paging the GridView 637
Using GridView Templates 642
The DetailsView and FormView 652
The Last Word 657
CHAPTER 16 Files and Streams 659
Files and Web Applications 659
File System Information 660
Reading and Writing with Streams 674
Allowing File Uploads 684
The Last Word 688
CHAPTER 17 XML 689
XML’s Hidden Role in .NET 689
XML Explained 690
The XML Classes 697
XML Validation 715
XML Display and Transforms 721
XML Data Binding 726
XML in ADO.NET 732
The Last Word 736
PART 4 Website Security 739
CHAPTER 18 Security Fundamentals 741
Determining Security Requirements 741
The ASP.NET Security Model 743
Forms Authentication 750
Windows Authentication 763
Impersonation 769
The Last Word 772
CHAPTER 19 Membership 773
The Membership Data Store 774
The Security Controls 793
Role-Based Security 807
The Last Word 814
CHAPTER 20 Profiles 815
Understanding Profiles 816
Using the SqlProfileProvider 819
The Last Word 843
PART 5 Web Services 845
CHAPTER 21 Web Services Architecture 847
Internet Programming Then and Now 847
Web Services Description Language 851
SOAP 858
Communicating with a Web Service 859
Web Service Discovery 861
WS-Interoperability 863
The Last Word 864
CHAPTER 22 Creating Web Services 865
Web Service Basics 865
The StockQuote Web Service 868
Documenting Your Web Service 872
Testing Your Web Service 876
Web Service Data Types 881
Consuming a Web Service 887
Using the Proxy Class 897
The Last Word 901
CHAPTER 23 Enhancing Web Services 903
State Management 903
Web Service Security 911
Web Service Transactions 922
An Example with TerraService 925
Windows Clients 932
The Last Word 934
PART 6 Advanced ASP.NET 935
CHAPTER 24 Component-Based Programming 937
Why Use Components? 937
Component Jargon 939
Creating a Simple Component 942
The Component Class 942
Properties and State 950
Database Components 953
The ObjectDataSource 964
The Last Word 970
CHAPTER 25 Custom Controls 971
User Controls 971
Derived Custom Controls 987
Dynamic Graphics 1011
The Last Word 1017
CHAPTER 26 Caching and Performance Tuning 1019
Designing for Performance 1020
Profiling 1023
Caching 1028
Output Caching 1029
Data Caching 1038
Caching with Dependencies 1050
The Last Word 1061
CHAPTER 27 Web Parts 1063
Introducing Web Part Basics 1064
Using Web Parts 1066
The Last Word 1095
Index 1097

Erscheint lt. Verlag 22.11.2006
Zusatzinfo XXXIV, 1184 p.
Verlagsort Berkeley
Sprache englisch
Themenwelt Informatik Programmiersprachen / -werkzeuge C / C++
Mathematik / Informatik Informatik Software Entwicklung
Mathematik / Informatik Informatik Web / Internet
Schlagworte ADO.NET • ASP • ASP.NET • C# • Framework • language • Navigation • .NET • .NET Framework • programming • Validation • Visual Studio • Web Programming • Web Services • XML
ISBN-10 1-4302-0121-5 / 1430201215
ISBN-13 978-1-4302-0121-2 / 9781430201212
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 16,6 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Torsten T. Will

eBook Download (2024)
Rheinwerk Computing (Verlag)
49,90
Das umfassende Handbuch

von Jürgen Wolf; René Krooß

eBook Download (2023)
Rheinwerk Computing (Verlag)
49,90
C++ lernen - professionell anwenden - Lösungen nutzen

von Ulrich Breymann

eBook Download (2023)
Carl Hanser Fachbuchverlag
49,99