Customised
Visual Studio 2012

Programming in C Sharp
(Microsoft Training Course: 20483) - 5 days - £1995 exc VAT

Save up to 50% of the cost of some courses: check our Certification Packages or buy F1 Training Vouchers
 May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr 
at Nexus Open Systems (Exeter)    21         
Birmingham Centre   10  03 16       
Bristol Centre    07 12  14      
Edinburgh Centre 29      14      
Extended Classroom  20   12        
Glasgow Centre     12    08    
Leeds (City Exchange) Centre     26        
London (Tabernacle St) Centre EC2       07      
London International House Centre E1W  20 17  12 09
09
23
      
London Middlesex Street Centre E1    14         
Manchester (Portland St) Centre 06  17  05  14  01  04  


> Target Audience
This course teaches developers the programming skills required to create Windows apps using the C# language. It is intended for experienced developers who already have programming experience in C, C++, JavaScript, Objective-C, Microsoft VB, or Java and understand the concepts of object-oriented programming
> Course outline
  1. Review of C# Syntax
  2. Creating Methods, Handling Exceptions, and Monitoring Applications
  3. Developing the Code for a Graphical Application
  4. Creating Classes and Implementing Type-safe Collections
  5. Creating a Class Hierarchy by Using Inheritance
  6. Reading and Writing Local Data
  7. Accessing a Database
  8. Accessing Remote Data
  9. Designing the User Interface for a Graphical Application
  10. Improving Application Performance and Responsiveness
  11. Integrating with Unmanaged Code
  12. Creating Reusable Types and Assemblies
  13. Encrypting and Decrypting Data


Module 1: Review of C# Syntax
  • Overview of Writing Applications using C#
  • Datatypes, Operators, and Expressions
  • C# Programming Language Constructs
  • Lab: Developing the Class Enrolment Application
  • Implementing Edit / Insert / Delete Functionality for the Students List
  • Displaying the Student Age
Skills
  • Describe the architecture of .NET Framework applications and use the features that Visual Studio 2012 and C# provide to support .NET Framework development
  • Use the basic data types, operators, and expressions provided by C#
  • Use standard C# programming constructs
top
Module 2: Creating Methods, Handling Exceptions, and Monitoring Applications
  • Creating and Invoking Methods
  • Creating Overloaded Methods and Using Optional and Output Parameters
  • Handling Exceptions, Monitoring Applications
  • Lab: Extending the Class Enrolment Application Functionality
  • Refactoring the Enrolment Code
  • Validating Student Information
  • Saving Changes to the Class List
Skills
  • Create and invoke methods, pass parameters to methods, and return values from methods
  • Create overloaded methods, and use optional parameters and output parameters.
  • Catch and handle exceptions and write information to the event log
  • Explain the requirement for implementing logging, tracing, and profiling when building large-scale applications
top
Module 3: Developing the Code for a Graphical Application
  • Implementing Structs and Enums
  • Organizing Data into Collections
  • Handling Events
  • Lab: Writing the Code for the Grades Prototype Application
  • Adding Navigation Logic to the Application
  • Creating Data Types to Store User and Grade Information
  • Displaying User and Grade Information
Skills
  • Define and use structures and enumerations
  • Create and use simple collections for storing data in-memory
  • Create, subscribe to, and raise events
top
Module 4: Creating Classes and Implementing Type-safe Collections
  • Creating Classes
  • Defining and Implementing Interfaces
  • Implementing Type-safe Collections
  • Lab: Adding Data Validation and Type-safety to the Grades Application
  • Implementing the Teacher, Student, and Grade Types as Classes
  • Adding Data Validation to the Grade Class
  • Displaying Students in Name Order
  • Enabling Teachers to Modify Class and Grade Data
Skills
  • Create and use custom classes
  • Define and implement custom interfaces
  • Use generics to implement type-safe collections
top
Module 5: Creating a Class Hierarchy by Using Inheritance
  • Creating a Class Hierarchy by Using Inheritance
  • Creating Class Hierarchies
  • Extending .NET Framework Classes
  • Creating Generic Types
  • Lab: Refactoring Common Functionality into the User Class
  • Creating and Inheriting from the User Base Class
  • Implementing Password Complexity by Using an Abstract Method
  • Creating the ClassFullException Class
  • Skills:
  • Define abstract classes and inherit from base classes to create a class hierarchy
  • Inherit from .NET Framework classes and use extension methods to add custom functionality to the inherited class
  • Create generic classes and methods
  • Creating Class Hierarchies
  • Extending .NET Framework Classes
  • Creating Generic Types
  • Lab: Refactoring Common Functionality into the User Class
  • Creating and Inheriting from the User Base Class
  • Implementing Password Complexity by Using an Abstract Method
  • Creating the ClassFullException Class
Skills
  • Define abstract classes and inherit from base classes to create a class hierarchy
  • Inherit from .NET Framework classes and use extension methods to add custom functionality to the inherited class
  • Create generic classes and methods
top
Module 6: Reading and Writing Local Data
  • Reading and Writing Files
  • Serializing and Deserializing Data
  • Performing I/O Using Streams
  • Lab: Generating the Grades Report
  • Serializing the Data for the Grades Report as XML
  • Previewing the Grades Report
  • Persisting the Serialized Grades Data to a File
Skills
  • Read and write data to and from the file system by using file I/O
  • Convert data into a format that can be written to or read from a file or other data source
  • Use streams to send and receive data to or from a file or other data source
top
Module 7: Accessing a Database
  • Creating and Using Entity Data Models
  • Querying Data by Using LINQ
  • Updating Data by Using LINQ
  • Lab: Retrieving and Modifying Grade Data
  • Creating an Entity Model from the The School of Fine Arts Database
  • Updating Student and Grade Data Using the Entity Framework
  • Extending the Entity Model to Validate Data
Skills
  • Create an entity data model, describe the key classes contained in the model, and customize the generated code
  • Use LINQ to query and work with data
  • Use LINQ to insert, update, and delete data
top
Module 8: Accessing Remote Data
  • Accessing Data Across the Web
  • Accessing Data in the Cloud
  • Lab: Retrieving and Modifying Grade Data in the Cloud
  • Creating a WCF Data Service for the SchoolGrades Database
  • Integrating the WCF Data Service into the Application
  • Retrieving Student Photographs Over the Web
Skills
  • Use the classes in the System.Net namespace to send and receive data across the Web
  • Create and use a WCF Data Service to access data in the cloud
top
Module 9: Designing the User Interface for a Graphical Application
  • Using XAML to Design a User Interface
  • Binding Controls to Data
  • Styling a User Interface
  • Lab: Customizing Student Photographs and Styling the Application
  • Customizing the Appearance of Student Photographs
  • Styling the Logon View and the StudentPhoto Control
Skills
  • Define XAML views and controls to design a simple graphical user interface
  • Use XAML data binding techniques to bind XAML elements to a data source and display data
  • Add styling and dynamic transformations to a XAML user interface
top
Module 10: Improving Application Performance and Responsiveness
  • Implementing Multitasking by using Tasks and Lambda Expressions
  • Performing Operations Asynchronously
  • Synchronizing Concurrent Access to Data
  • Lab: Improving the Responsiveness and Performance of the Application
  • Ensuring that the User Interface Remains Responsive When Retrieving Data for Teachers
  • Providing Visual Feedback During Long-Running Operations
Skills
  • Create tasks and lambda expressions to implement multitasking
  • Define and use asynchronous methods to improve application responsiveness
  • Coordinate concurrent access to data shared across multiple tasks by using synchronous primitives and concurrent collections
top
Module 11: Integrating with Unmanaged Code
  • Creating and Using Dynamic Objects
  • Managing the Lifetime of Objects and Controlling Unmanaged Resources
  • Lab: Upgrading the Grades Report
  • Generating the Grades Report by Using Microsoft Office Word
  • Controlling the Lifetime of Word Objects by Implementing the Dispose Pattern
Skills
  • Integrate unmanaged code into a C# application by using the Dynamic Language Runtime
  • Control the lifetime of unmanaged resources and ensure that they are disposed properly
top
Module 12: Creating Reusable Types and Assemblies
  • Examining Object Metadata
  • Creating and Using Custom Attributes
  • Generating Managed Code
  • Versioning, Signing and Deploying Assemblies
  • Lab: Specifying the Data to Include in the Grades Report
  • Creating the IncludeInReport Attribute
  • Generating the Report
  • Storing the Grades.Utilities Assembly Centrally
Skills
  • Examine the metadata of objects at runtime by using reflection
  • Create and use custom attribute class
  • Generate managed code at runtime by using CodeDOM
  • Manage different versions of an assembly and deploy an assembly to the Global Assembly Cache
top
Module 13: Encrypting and Decrypting Data
  • Implementing Symmetric Encryption
  • Implementing Asymmetric Encryption
  • Lab: Encrypting and Decrypting Grades Reports
  • Encrypting the Grades Report
  • Decrypting the Grades Report
Skills
  • Perform symmetric encryption by using the classes in the System.Security namespace
  • Perform asymmetric encryption by using the classes in the System.Security namespace
top
> Pre-Requisites
Before attending this course, students must have the following pre-requisites:
  • Completed Course F1051: Intro to Programming C # with Microsoft Visual Studio 2010 or possess equivalent knowledge of basic C# functions, classes and methods.
> Purpose
After completing this course, students will be able to describe the core syntax & features of C#; create & call methods, catch & handle exceptions, & describe the monitoring requirements of large-scale apps; implement essential elements of a typical desktop app; create classes, define & implement interfaces, & create & use generic collections; use inheritance to create a class hierarchy, extend a .NET Framework class, & create generic classes & methods; read & write data by using file input/output & streams, & serialize & deserialize data in different formats; create & use an entity data model for accessing a database & use LINQ to query & update data; use types in the System .Net namespace & WCF Data Services to access & query remote data; build a graphical UI by using XAML; improve the throughput & response time of apps by using tasks & asynchronous operations; integrate unmanaged libraries & dynamic components into a C# app; examine the metadata of types by using reflection, create custom attributes, generate code at runtime, manage assembly versions; encrypt / decrypt data by using symmetric & asymmetric encryption.