Microsoft Visual C# 2005 Enterprise Development

course benefits

Users increasingly demand faster and easier access to information. The .NET Framework rises to this challenge by offering unprecedented flexibility. Through an object-oriented approach to building multitier systems, C# .NET allows developers to more fully exploit Web connectivity. This course provides the knowledge and skills to build distributed C# .NET applications. You learn to take advantage of C# .NET's combination of components and object-oriented syntax to offer increased reusability.

During this course, you work with advanced C# .NET functions and features to gain in-depth hands-on experience. Exercises include:

  • Designing object-oriented software in C# .NET
  • Building a multitier application that accesses data with ADO.NET
  • Running and synchronizing multiple threads in a C# .NET application
  • Invoking COM components from C# .NET
  • Disassembling VB programs to the .NET Intermediate Language (IL)
  • Persisting XML data from ADO.NET DataSets

    Course Content

    The .NET Framework

    Overview
    • Windows Forms and controls
    • Web Forms and Web services with ASP.NET
    • The Common Language Runtime architecture and services
    • The .NET Intermediate Language (IL)
    • Just-in-time (JIT) compilation

    Object-Oriented Programming

    Encapsulation
    • Designing classes with the Class Designer
    • Reference types vs. value types
    • Writing constructors
    • Protecting private data with property procedures
    • Sharing and overloading methods
    Inheritance
    • "Is a" vs. "has a" relationships
    • Implementing inheritance hierarchies
    • Overriding base class methods
    Polymorphism
    • Types of polymorphism
    • Interface-based programming
    • Writing polymorphic classes
    Garbage collection
    • Defining finalisers
    • The IDisposable interface
    • Suppressing finalisation
    • Automating disposal with the Using block

    Collections, iteration and exceptions

    Generics
    • The Collections classes and generics
    • Iteration
    Structured exception handling
    • Strategies for error handling
    • Exception-handling syntax
    • Catching and throwing custom exceptions

    Windows Applications

    Programming forms and controls
    • Creating and displaying forms
    • Manipulating controls with code
    • Responding to input with event handlers
    • Multiple Document Interface applications
    Office-style menus and toolbars
    • MenuStrip, ToolStrip, StatusStrip and ContextMenuStrip

    Databases and ADO.NET 2.0

    The ADO.NET model
    • Working with SQL Server 2005
    • Connected vs. disconnected approaches
    • The System.Data namespace
    Programming the ADO.NET objects
    • Establishing a connection
    • Getting data with the DataReader
    • Executing queries with parameters
    • Filling a DataSet using a DataAdapter
    Data binding with Windows Forms
    • Binding to arrays, classes and XML
    • TableAdapter, BindingSource and BindingNavigator controls
    • Using the DataGridView control
    • Navigating relational data with master-detail forms

    ASP.NET 2.0 Web Applications

    Overview
    • Building WebForms with ASP.NET 2.0 controls
    Site navigation
    • Implementing ASP.NET 2.0 Menu, TreeView and SiteMapPath controls
    • Defining site structure using XML
    Standardising the UI
    • Ensuring uniform page layout with Master Pages
    • Styling controls with Skins
    • Building Themes from Skins and CSS
    Retrieving and Updating Data with Web Applications
    • Connecting to data with ASP.NET 2.0 DataSource controls
    • Binding data to WebForm controls
    • Automating data access with GridView, FormView and DetailView
    • Sorting and paging in GridView
    • Updating, deleting and inserting records with two-way data binding
    • Dealing with concurrency
    Security
    • Configuring WebForms authentication and authorisation
    • Administering users and roles
    • Establishing user profiles
    • login controls
    State management
    • Client-side and server-side state management
    • Adding data to the ViewState
    • Binding objects to Session and Application scope
    Deployment
    • The ASP.NET 2.0 compilation model
    • Publishing the Web site

    XML

    Web Services
    • Building and connecting to a web service