O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days

Book Description

Sams Teach Yourself Visual Studio .NET in 21 Days will help developers that are new to application development and experienced developers understand how to use the .NET Framework and Visual Studio .NET to rapidly develop any type of computer application. The Visual Studio .NET development environment is the most comprehensive developer tool ever created, putting that together with the .NET Frameworks' Class Libraries, the developer has everything he or she needs to get up-to-speed on Microsoft's latest revolution in application development. This book will guide the developer through using the VS .NET IDE, the Visual Basic .NET and C# language, and the supporting tools available from Microsoft to create Windows and Web-based applications. The market is full of books that pretty much say the same thing, which is already available in the help files, the author of this book has written and deployed over a dozen successful applications using Visual Studio .NET and the .NET Framework. All of his expertise and experience is used to give you the most comprehensive title on using Visual Studio .NET.

Table of Contents

  1. Copyright
  2. About the Author
  3. About the Technical Editor
  4. Acknowledgments
  5. We Want to Hear from You!
  6. Introduction
  7. At a Glance
    1. Introduction to the Microsoft .NET Framework
      1. What Is .NET?
      2. Windows of the Past
      3. The Common Language Runtime
      4. Understanding the Common Language Specification
      5. Understanding the Common Type System
      6. Handling Memory and Garbage
      7. The .NET Framework Class Library
      8. What about C++?
      9. .NET Servers and the Future of .NET
      10. Summary
      11. Q&A
      12. Quiz
      13. Exercises
    2. Introduction to Visual Studio .NET
      1. Introducing the Start Page
      2. Using Dynamic Help
      3. The New Projects Dialog
      4. Exploring the Visual Studio .NET IDE
      5. Using the Project Menu
      6. Using the Build Menu
      7. Managing Code Windows and Designers
      8. Getting the Right Toolbars
      9. Customizing Your Environment
      10. Summary
      11. Q&A
      12. Quiz
      13. Exercises
    3. Writing Windows Forms Applications
      1. Hello .NET!
      2. Understanding Windows Forms
      3. Working with Controls Dynamically in Code
      4. Using Menus and MDI Forms
      5. Using Inheritance in Windows Forms
      6. Using Common Dialog Controls
      7. More About Controls
      8. Making Your Forms Look Pretty
      9. Advanced Windows Forms
      10. Summary
      11. Q&A
      12. Quiz
      13. Exercises
    4. Deploying Windows Forms Applications
      1. Introduction to Application Deployment
      2. Introduction to the Microsoft Windows Installer Service
      3. Understanding the Deployment Projects Templates
      4. Creating a Windows Installer Package
      5. Adding Merge Modules to Your Setup
      6. Summary
      7. Q&A
      8. Quiz
      9. Exercises
    5. Writing ASP.NET Applications
      1. Introduction to ASP.NET
      2. Hello ASP.NET!
      3. Using Validation Controls
      4. Managing State in ASP.NET Web Applications
      5. Understanding the Web.Config File
      6. Summary
      7. Q&A
      8. Quiz
      9. Exercises
    6. Deploying ASP.NET Applications
      1. Introduction to ASP.NET Deployment
      2. Creating an ASP.NET Application for Deployment
      3. Deploying ASP.NET Applications Using Copy Project
      4. Deploying ASP.NET Applications Using Copy
      5. Deploying ASP.NET Applications with Windows Installer
      6. Summary
      7. Q&A
      8. Quiz
      9. Exercises
    7. Exceptions, Debugging, and Tracing
      1. Why Errors Happen
      2. Understanding Exceptions in .NET
      3. Using Structured Exception Handling
      4. Using Visual Studio .NET to Debug Applications
      5. Summary
      6. Q&A
      7. Quiz
      8. Exercises
    8. In Review
  8. At a Glance
    1. Core Language Concepts in Visual Basic .NET and C#
      1. Languages in the .NET Framework
      2. Understanding CLS Data Types in Visual Basic .NET and C#
      3. Declaring Variables in Visual Basic .NET and C#
      4. Understanding Operators
      5. Using Decision Structures
      6. Summary
      7. Q&A
      8. Quiz
      9. Exercises
    2. Using Namespaces in .NET
      1. What Are Namespaces?
      2. Finding the Information You Need About Namespaces
      3. Using Namespaces in Your Applications
      4. Working with Your Environment
      5. Working with Files and Directories
      6. Summary
      7. Q&A
      8. Quiz
      9. Exercises
    3. Accessing Data with ADO.NET
      1. Looking Inside ADO.NET
      2. Connecting to a Database
      3. Using the Command Object and DataReaders
      4. Using Windows Controls with DataReaders and Command Objects
      5. Using DataAdapters and DataSets
      6. Using Databinding with DataSets
      7. Binding to a DataGrid Control
      8. Summary
      9. Q&A
      10. Quiz
      11. Exercises
    4. Understanding Visual Database Tools
      1. Managing Databases with the Server Explorer
      2. Building Data-Driven Forms with the Server Explorer
      3. Using the DataForm Wizard to Create Data Entry Forms
      4. Understanding Databinding
      5. Summary
      6. Q&A
      7. Quiz
      8. Exercises
    5. Accessing XML in .NET
      1. What Is XML?
      2. XML in .NET
      3. Using the XML and Schema Designers
      4. Reading and Writing XML Files
      5. Summary
      6. Q&A
      7. Quiz
      8. Exercises
    6. XML Web Services in .NET
      1. What Are XML Web Services?
      2. Creating Your First Web Service
      3. Consuming XML Web Services
      4. Summary
      5. Q&A
      6. Quiz
      7. Exercises
    7. Components and .NET
      1. Introduction to Components
      2. Understanding the Component Types
      3. Creating a Class Library Application
      4. Interoperating with Unmanaged Code
      5. Summary
      6. Q&A
      7. Quiz
      8. Exercises
    8. In Review
  9. At a Glance
    1. Writing International Applications
      1. Introduction to Globalization
      2. Using the CultureInfo Class
      3. Writing the Culture Info Browser Application
      4. Managing Resource Files with Visual Studio .NET
      5. Summary
      6. Q&A
      7. Quiz
      8. Exercises
    2. Using Macros in Visual Studio .NET
      1. Introducing Extensibility
      2. Introducing Macros in Visual Studio .NET
      3. Using the Macro Explorer
      4. Recording a Macro
      5. Using the Macros IDE
      6. Examining the Macro Recorder Code
      7. Creating a Macros Toolbar
      8. More Cool Macro Ideas
      9. Summary
      10. Q&A
      11. Quiz
      12. Exercise
    3. Automating Visual Studio .NET
      1. Introducing Add-ins
      2. Creating Your First Add-in
      3. Understanding the Life Cycle of an Add-in
      4. Writing Your First Add-in
      5. Taking the Next Step with Add-ins
      6. Summary
      7. Q&A
      8. Quiz
      9. Exercise
    4. Using Crystal Reports
      1. Why Use Crystal Reports?
      2. Creating a Windows Forms Report
      3. Using the Windows Forms Report Viewer
      4. How to Programmatically Load a Report
      5. Printing a Report Without the Viewer Control
      6. Exporting a Report Programmatically
      7. Viewing Reports in Web Forms
      8. Summary
      9. Q&A
      10. Quiz
      11. Exercises
    5. Understanding Microsoft Application Center Test
      1. Introduction to Application Center Test
      2. Understanding ACT Projects, Users, Tests, and Connections
      3. Using the ACT Standalone Application
      4. Walking Through the ACT Script
      5. Understanding the ACT Test Results
      6. Summary
      7. Q&A
      8. Quiz
      9. Exercises
    6. Using Visual SourceSafe
      1. Introducing Visual SourceSafe
      2. Installing VSS
      3. Using the Visual SourceSafe Administrator
      4. Using the Visual SourceSafe Explorer
      5. Creating Your First VSS Project
      6. Using the Integrated SourceSafe Tools in Visual Studio .NET
      7. Viewing the History of a File in SourceSafe
      8. Opening an Existing SourceSafe Project
      9. Adding New Project Items or Projects
      10. Renaming Projects or Project Items
      11. Summary
      12. Q&A
      13. Quiz
      14. Exercises
    7. Object Role Modeling with Visio
      1. Introducing Object Role Modeling
      2. Using Visio to Create an ORM Model
      3. Adding ORM Facts to the Data Model
      4. Creating a Database Diagram from the Conceptual Model
      5. Summary
      6. Q&A
      7. Quiz
      8. Exercises
    8. In Review
  10. Index