Ot3

.NET Development with C++ .NET


Course Outline

This course will be run as an in-house course only. Find out about having this course delivered by one of our qualified trainers at your organisation here. To register your interest in this course, or to find out about pricing or delivery options please email info@objecttraining.com.au

C++.NET is the latest Microsoft release of C++. This release updates the C++ libraries and but more importantly allows C++ applications to be used in .NET. C++ applications run in a 'managed' execution space giving improved stability, isolation, memory management and integration of other .NET software components. This new release of C++ imposes some restrictions on C++ applications and involves new keywords that developers need to know about. This course is for C++ developers who want to take advantage of managed execution of .NET and the features of Visual Studio.NET. Moving to .NET is presented along with ‘hands-on’ exercises on how to best implement C++.NET applications that utilise core .NET technologies. This course will empower you to build, debug and deploy .NET applications with C++.NET. Your newly learnt C++.NET skills and knowledge will enable you to use the core features of .NET for 'real-world' applications - more than simply language just syntax and tool instruction.



Outcomes

At the end of this course, you will be able to:

  • Build, execute and debug C++.NET applications using Visual Studio.NET
  • Target managed and unmanaged execution for a C++ application
  • Integrate existing COM/COM+ code into a C++.NET project

Book Course Now

Please Note: Special prices are available for an In House delivery of this course. Read about the benefits and choices of our 'In House' course delivery option here.

Contact an Object Training Account Manager to enquire about alternative delivery options (such as In House or Customisation).

*All Australian prices are exclusive of GST

*If the course status is FULL or no date is scheduled in your state please contact object training on 1300 360 203

Topics Covered

.NET Framework Overview
What is .NET?
How does a .NET program work?
Garbage Collection?
C++ in the .NET
How to use Standard C++ in .NET
Compile a C++ code into a MSIL code
Why use C++.NET?
How to use managed extension in C++.NET
Migrate VC++ 6.0 projects into C++.NET
__gc and __nogc classes
How to define a __gc class
How to define a __nogc class
How to create and destroy a __gc and __nogc objects
Members of the __gc class
Attributes
Predefined Attributes in .NET
How to use attributes in C++.NET
Pointers & reference types
Casting pointers
Casting pointers
How to use __gc and __nogc pointers and references
Delegates and Events
Delegate
Event
Create Value types in C++.NET
Create value types
Boxing and Unboxing
Collection classes and arrays in C++.NET
What is __gc array?
.NET Collection classes (Hashtable, SortedList)
Reflection
Runtime type information (RTTI)
Obtain the Type Object
Inheritance in C++.NET
Managed Inheritance
Inherit a VB.NET class
Inherit a C# class
Properties
Read-only properties
Write-only properties
Operator overloading in C++.NET
What operators are supported in C++.NET?
Conversion operators
Exception Handling in C++.NET
How to throw an exception
How to try and catch an exception
How to create a user defined exception class in C++.NET
nteroperability between managed and unmanaged code
How to call a native API
How to marshall data in native API call
Reasons why we migrate unmanaged with managed code
COM Interoperability
How to create RCW (runtime callable wrapper)

Prerequisites

The course caters for a broad audience but students are assumed to have previous experience with C++ but not necessarily with Microsoft Visual C++. Students need to understand key concepts of the .NET framework and object oriented technology.

Audience

Developers & Programmers

Course Fee

Please check with us for course cost, special rates may apply

Duration

3.0 Days

Structure

Presentations, Demonstrations & Exercises (50% practical). PC-based

Material

Deliverable material for this course includes:

  • Certificate of Accomplishment
  • Professionally printed student notes and exercises
  • CD containing original exercises and source code (For PC-based courses only)

For all courses, but particularly PC-based courses, students are encouraged bring their own USB drive to save worked solutions and/or additional reference material.

Terms and Conditions

Please click here to review our terms and conditions before booking on your course