C♯ Web development with ASP.NET /
C# was developed from the ground up to serve as the main language for Microsoft's new .NET framework--and to compete with Java. C# Web Development for ASP.NET: Visual QuickStart Guide is aimed at beginning developers who may have experience with scripting languages but are not necessarily exper...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Peachpit,
©2003.
|
Colección: | Visual quickstart guide.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Machine derived contents note: Introduction ix
- Chapter 1: Getting Started 1
- Getting C# 2
- Installing Internet Information Services (IIS) 4
- Creating a Web Project with VS .NET 6
- Debugging Web Projects with VS .NET 9
- Writing a Simple ASP .NET Page 11
- Debugging ASP .NET Applications 13
- Running the Compiler Manually 16
- Compiling C# Programs without VS .NET 17
- Debugging Applications Outside VS .NET 19
- Chapter 2: C# Building Blocks 21
- Working with C# Building Blocks 22
- Writing C# Code 26
- Declaring Variables 28
- Defining Constants 31
- Grouping Constants into Enumerated Types 32
- Declaring Functions 34
- Declaring Functions with Parameters 36
- Returning Function Values 40
- Defining a Class 42
- Adding Classes to the Sample Application 45
- Creating and Using Objects 46
- Creating Objects in the Sample Application 48
- Class Definitions from Outside Sources 49
- Grouping Classes into Namespaces 52
- Adding Fields to Classes 56
- Initializing Fields in Place 57
- Adding Properties to Classes 58
- Adding Methods to Classes 64
- Adding Members to the Classes 67
- Completing the Sample Application 68
- Adding Comments 73
- Parameter Direction for Reference Types 75
- Chapter 3: Conditionals and Loops n
- Working with Loops and Conditionals 78
- Comparing Numeric Types 82
- Comparing Reference Types 83
- Combining Test Clauses 87
- Writing if-else Statements 88
- Testing Multiple Conditions with switch 90
- Conditional Operator 92
- Adding Conditional Statements 93
- Using while Loops 100
- Using do Loops 101
- Using for Loops 102
- Exiting and Continuing Loops 104
- Adding Loops to the Sample Program 107
- Chapter 4: Strings 111
- Preparing your Machine to Work with Strings 113
- Working with Strings 115
- Initializing Strings 118
- Comparing Strings 120
- Concatenating Strings 123
- Finding the String Length 125
- Comparing and Concatenating Strings 126
- Creating Strings from Characters 129
- Using Escape Characters 132
- Using Literal Strings 134
- Accessing the String's Characters 136
- Finding a Substring within a String 137
- Extracting Part of the String 138
- Splitting a String 139
- Joining a String 141
- Uppercasing and Lowercasing 142
- Formatting Strings 143
- Finishing the Sample Application 144
- Representing Objects as Strings 149
- Allocating Strings with StringBuilder 150
- Chapter 5: Class Inheritance 151
- Working with Class Inheritance 152
- Inheriting a Class from Another 155
- Exposing and Restricting Access to Members . 158
- Enhancing the Sample Application 161
- Hiding Methods from the Base Class 166
- Overriding Functions in a Derived Class 168
- Adding a Generic Button 172
- Using the Generic Button 175
- Adding Functions that Must be Overridden 178
- Requiring Inheritance 179
- Blocking Inheritance 180
- Chapter 6: Special Members 181
- Adding Functions with the Same Name 182
- Variable Number of Parameters 185
- Adding Constructors 187
- Invoking Base Constructors 188
- Adding Finalizers 190
- Building Code Libraries with Static Members. 191
- Redefining the Meaning of Operators 194
- Redefining Equality by Overriding == 198
- Redefining Equality by Overriding Equals 200
- Working with Special Members 202
- Chapter 7: Types 207
- Working with Types 208
- Obtaining a Class's Type 212
- Testing for Type Compatibility 214
- Converting From One Type to Another 215
- Extending the Sample Application 218
- Defining Casting Rules 223
- Chapter 8: Interfaces 227
- Working with Interfaces 229
- Defining Interfaces 233
- Implementing Interface Members Implicitly 235
- Implementing Interface Members Explicitly 238
- Enhancing the Sample Application 239
- Using Objects through Interfaces 246
- Interface Discovery 247
- Using Interfaces for Polymorphism 249
- Deriving One Interface from Another 250
- Refactoring 252
- Re-Implementing Interfaces in a Derived Class 253
- Finishing the Sample Application 255
- Chapter 9: Arrays and Collections 257
- Working with Arrays and Collections 259
- Creating Arrays of Valuetypes 263
- Creating Arrays of Reference Types 265
- Navigating through the Array 269
- Initializing Array Elements in Place 272
- Creating Multi-Dimensional Arrays 274
- Enhancing the Sample Application 276
- Finding Array Elements Using Linear Searches 279
- Sorting Arrays 282
- Finding Array Elements Using Binary Searches . 285
- Making Classes Behave Like Arrays 287
- Adding Indexers to the Sample Application 290
- Copying an Array 291
- Creating Dynamic Lists 292
- Creating Queues 294
- Creating Stacks 295
- Creating Hashtables 296
- Navigating through Hashtables 298
- Finishing the Sample Application 299
- Testing the CodeGridWebControl 301
- Chapter 10: Delegates and Events 303
- Working with Delegates and Events 305
- Declaring a Delegate 308
- Creating and Invoking Delegates 309
- Combining Delegates 311
- Removing Delegates 312
- Declaring and Firing Events 314
- Adding Events that are Web Friendly 316
- Subscribing to Events 318
- Firing Delegates Asynchronously 320
- Waiting for Asynchronous Delegates 324
- Asynchronous Delegates Results 326
- Finishing the Sample Application 328
- Chapter 11: Error Handling 331
- Working with Exceptions 332
- Catching Exceptions 338
- Catching Specific Exceptions 341
- Obtaining Exception Information 344
- Working with Exception Chains 346
- Declaring Your Own Exceptions 350
- Setting the Error Message 352
- Generating an Exception 353
- Catching and Re-throwing Exceptions 354
- Building an Exception Chain 355
- Adding Code That Executes Before 356
- Using using 358
- Adding Form Security 360
- Handling Unhandled Errors 363
- Chapter 12: Reflection and Attributes 367
- Working with Reflection and Attributes 368
- Identifying an Assembly 372
- Working with Display Names 373
- Working with Path Strings 376
- Loading a Program with a Display String 377
- Loading a Program with a Path String 378
- Instantiating a Class in the Assembly 379
- Enumerating Through the Classes 381
- Listing the Members of a Class 382
- Setting or Getting a Field Dynamically 384
- Invoking a Method Dynamically 387
- Completing Task One 389
- Applying Attributes to Code 391
- Defining Attributes 392
- Searching Code for Attributes 395
- Completing Task Two 398
- Chapter 13: C# Web Projects 401
- Creating a DLL Project with Visual Studio .NET 402
- Referencing and Executing DLL Code 406
- Making DLLs Globally Available 407
- Creating Web Services 410
- Consuming Web Services 414
- Index 417.