Application Development Using C# and .NETApplication Development Using C# and .NET gives experienced developers unprecedented insight for building .NET enterprise applications with C#. A running case study covers the entire process: creating a monolithic C# console application; adding a Windows Forms interface; isolating functionality inside components, providing database access and security; and delivering functionality through ASP.NET and Web Services. Includes self-contained language overview for new C# users. |
Contents
CHAPTER 1 What is Microsoft NET? | 2 |
CHAPTER 2 NET Fundamentals 11 | 11 |
Applications of the Future | 12 |
CHAPTER 3 C Overview for Sophisticated Programmers | 26 |
Console Input in C | 36 |
C Type System | 52 |
Arrays and Indexers | 66 |
More about Methods | 72 |
Garbage Collection and Finalization | 321 |
Summary | 331 |
Data Readers | 337 |
Parameters Collection | 344 |
Optimistic vs Pessimistic Locking and the DataSet | 354 |
Acme Travel Agency Case Study | 371 |
Schema with Relationships | 380 |
Web Forms Architecture | 393 |
Exceptions | 79 |
UserDefined Exception Classes | 85 |
Unsafe Code | 90 |
Summary | 96 |
Designing the Encapsulation | 108 |
HotelBroker | 115 |
Summary | 131 |
Collections | 138 |
Step 2 | 154 |
Events | 179 |
Summary | 189 |
Windows Forms Event Handling | 197 |
Controls | 205 |
Dialog Boxes | 218 |
ListBox Control | 225 |
CHAPTER 7 Assemblies and Deployment | 231 |
Private Assembly Deployment | 246 |
Setup and Deployment Projects | 258 |
CHAPTER 8 NET Framework Classes | 266 |
Input and Output in NET | 272 |
NET Application Model | 283 |
Context | 297 |
Asynchronous Programming | 305 |
Remoting | 311 |
RequestResponse Programming | 405 |
Web Applications Using Visual Studio NET | 413 |
Acme Travel Agency Case Study | 427 |
ASP NET Applications | 435 |
ASP NET Configuration | 443 |
Database Access in ASP NET | 456 |
CHAPTER 11 Web Services | 464 |
SOAP Differences | 478 |
Hotel Broker Web Service | 488 |
Security | 494 |
Specifying Users and Groups for Access in Web Config | 520 |
Code Access Permissions | 523 |
Code Identity | 536 |
Summary | 549 |
Enabling or Disabling Switches | 555 |
Calling COM Components from Managed Code | 560 |
Calling Managed Components from COM Client | 572 |
Platform Invocation Services Plnvoke | 579 |
Creating a Console Application | 589 |
Debugging | 595 |
601 | |
621 | |
Common terms and phrases
Acme Travel AppDomain application domain array ArrayList ASP.NET attribute authentication base class Broker browser button bytes chapter Common Language Runtime compiler component configuration file Console.WriteLine constructor create CustomerId data type database DataSet Debug decimal default defined delegate derived class dialog box discuss EmailAddress event event handlers example Figure File Edit View Framework global assembly cache handler Hotel Hotel class HotelBroker identity illustrates implement inheritance instance interface Internet Explorer language login managed managed code menu metadata method Microsoft namespace NET Framework null object reference output parameters password permission set provides public class public int public key public string public void request reservation runtime schema Serializable server controls Services SOAP specify SqlDataAdapter string name synchronization System thread Tools variable Visual Studio Visual Studio.NET Web Service Windows Forms XML Schema