Visual C# 2005: Developing Applications

Course

In Bath

Price on request

Description

  • Type

    Course

  • Location

    Bath

  • Duration

    5 Days

In this course you will learn how to use Visual Studio 2005 and Visual C# 2005 to build Windows applications to run on the .NET 2.0 platform. You will become familiar with the Windows Forms and Windows Forms controls, focusing on new Visual Studio 2005 features. Access data using ADO.NET and its DataTable, DataReader, DataAdapter, and DataSet classes. Take advantage of new Visual. Suitable for: Developers wishing to learn how to use the .Net Framework to build Windows applications.

Facilities

Location

Start date

Bath (Somerset)
See map
11 Kingsmead Square, BA1 2AB

Start date

On request

About this course

This course assumes that students have some programming background. No specific experience with Visual Studio, the .NET Framework, or Visual C# is assumed.

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

Course programme

AUDIENCE: Developers wishing to learn how to use the .Net Framework to build Windows applications.
PREREQUISITES: This course assumes that students have some programming background. No specific experience with Visual Studio, the .NET Framework, or Visual C# is assumed.
DURATION: 5 days. Hands on.
OBJECTIVES: In this course you will learn how to use Visual Studio 2005 and Visual C# 2005 to build Windows applications to run on the .NET 2.0 platform. You will become familiar with the Windows Forms and Windows Forms controls, focusing on new Visual Studio 2005 features. Access data using ADO.NET and its DataTable, DataReader, DataAdapter, and DataSet classes. Take advantage of new Visual Studio 2005 data binding features, and explore the range of controls and components provided by Visual Studio 2005. Build solid applications using structured exception handling, and debug your applications using new Visual Studio 2005 debugging features. Access legacy code in COM components, Win32 APIs using P/Invoke, and remote code in Web Services. Add professional-looking menus and toolbars using the new ToolStrip controls, and add unprecedented flexibility to your user interfaces using the new container controls. Deploy and maintain your application easier than ever before, taking advantage of Click-Once deployment.
At the end of this course, delegates will be able to:
- Learn about the new Windows Forms
- Understand how to trap Windows Forms events
- Investigate the latest Windows Forms controls
- Become familiar with intrinsic .NET data types
- Learn how to access data using ADO.NET
- Bind controls to data effortlessly using new data binding features
- Work with the new debugging features
- Learn how to work with the Windows file system
- Learn the role of DataSets and DataTables in ADO.NET
- Understand error handling using Exception objects
- Learn how to create data-bound applications
- Create flexible user interfaces using new container controls
- See how Visual C# can access COM components
- Access remote functionality through Web Services
- Learn to create MDI applications
- See how to effectively deploy your Visual C# applications
COURSE CONTENT:
Introduction to Windows Forms
· .NET Does Windows
· Adding Controls to a Form
· A Peek behind the Scenes
· Adding Event Handling Code
· Adding a Menu to the Form
· Adding Non-Graphical Components
Taking Advantage of the Form Event Model
· How Visual C# Handles Events
· Exploring Form and Control Events
Common Windows Forms Controls
· Label, TextBox, and Button
· CheckBox and RadioButton
· ComboBox, ListBox, and CheckedListBox
· LinkLabel, NumericUpdown, PictureBox and ProgressBar
Exception Handling
· Perspectives on Exception Handling
· Getting Started with Exception Handling
· Catching Specific Exceptions
· Raising Errors
· Running Code Unconditionally
· Handling Unhandled Exceptions
· Creating Exception Classes
Working with Strings and Dates
· Basic .NET Data Types
· Working with Text: The String Class
· Working with Dates and Times
Accessing Data
· Overview of ADO.NET
· Connecting to Data
· Executing Commands
· Working with Data
· Choosing an ADO.NET Provider
Data Binding Techniques
· Data Binding Basics
· Creating a Data Source
· Creating Data-Bound Forms
· Data Binding Components and Controls
· Displaying Data from Related Tables
· Displaying Data from Lookup Tables
· Adding Search Capabilities to a Form
· Filtering by Values from a Lookup Table
· Working with Local Data
· Data Validation
· Working with Local Data
Using the Data Controls
· Data Controls
· The BindingNavigator Control
· The BindingSource Control
· The DataGridView Control
· The ReportViewer Control
Handling Input/Output Tasks
· Introducing the System.IO Namespace
· Selecting Files
· Browsing for Folders
· Handling Path Information
· Working with Directories and Files
· Using Stream-Based Objects to Read and Write File Contents
Project Settings in Visual Studio 2005
· The Project Designer
· Application Properties
· Compilation Properties
· Debugging Properties
· Project References
· Project Resources
· Project Settings
Debugging Your Applications
· Debugging Applications
· Setting Breakpoints and Stepping through Code
· Evaluating Variables and Objects
· Edit and Continue
· Debugging Code in Assemblies
· Tracing and Instrumenting Applications
Container Controls
· Introducing Container Controls
· Grouping Controls with the GroupBox Control
· Introducing the Panel Control
· Displaying Multiple Panels with the SplitContainer Control
· Laying Out Panels with the TabControl Control
· Simple Layout Using the FlowLayoutPanel Control
· Advanced Layout Using the TableLayoutPanel Control
Menus and Toolbars
· Introducing the ToolStrips
· Working with the ToolStrips
Creating MDI Applications
· MDI Applications
· MDI Parent and Child Forms
· Managing Open Windows
· Managing Menus
· Working with Open Forms
Complex Windows Forms Controls
· Introducing Complex Controls
· NotifyIcon Control
· WebBrowser Control
· MaskedTextBox Control
· RichTextBox Control
· TreeView and ListView Controls
· MonthCalendar and DateTimePicker Controls
Creating Custom Controls
· Control Creation in Windows Forms
· Inheriting from an Existing Control
· Drawing Your Own Custom Controls
· Creating Composite Controls
Working with ToolBox Components
· Introducing Components
· FileSystemWatcher Component
· Process Component
· EventLog Component
More ToolBox Components
· Timer Component
· BackgroundWorker Component
· PerformanceCounter Component
· ServiceController Component
Interoperability
· COM and .NET
· Calling COM Objects from .NET
· Calling .NET Assemblies from COM
· Using Platform Invoke
· Web Services
Deploying Applications using Click-Once
· ClickOnce Deployment
· Publishing an Application
· Setting Publish Options
· Updating a Deployed Application
· What Happens When You Publish an Application?
· What Happens When You Publish an Update to an Application?
· ClickOnce and Security
· Using the Deployment API to Manage Updates
Creating a Remoting Client and Server
· Implement a Simple Remoting Server and Client
· Remoting Objects and Hosts
· Programmatic Configuration of a Remoting Application
· Using Configuration Files for Remoting Applications
· Debugging and Deployment
Creating and Serializing Remotable Types
· Version Tolerant Serialization
· Serialization Formatters and Communication Channels
· Marshalling by Reference and by Value
· Version Compatibility in Remoting
· Generic Classes and Remoting
Performing Remoting Operations Asynchronously
· Asynchronous Operations
· Events
· One-Way Method
Managing the Lifetime of Remote Objects
· Remote Lifetime Management
· Initializing the Lifetime
· Lease Renewal Properties
· Expiration Exceptions
· The Life Cycle of Remote Objects
· Lifetime Sponsors
Using Message Queuing
· Message Queuing
· Creating a Queue
· Sending Messages
· Receiving Messages
· Security
· IIS and MSMQ
Creating and Consuming Serviced Components
· Why Use Serviced Components?
· Creating a Serviced Component
· Serviced Component Attributes
· Interfaces and COM+
· Consuming Serviced Components
Remoting Security
· IIS as Activation Agent
· IIS Integration
· .NET Framework 2.0 Security

TB08/01

Visual C# 2005: Developing Applications

Price on request