.NET Course

Synopsis

This five-day .NET course covers application development for the Microsoft .NET framework using the VB or C# programming languages.

The theory is reinforced by building web and desktop applications that connect to data sources including a SQL Server database and an XML feed. Topics covered in the lectures and exercises include the concepts of object-oriented programming; collections and iteration; connecting to data with ADO.NET; Language-Integrated Query (LINQ); building secure web applications with ASP.NET; building desktop applications with Windows Presentation Foundation and deploying and consuming web services with the Windows Communication Foundation.

Each delegate has the use of a computer; course hours are 9:00 to 5:00. Lunch and refreshments are included.

Course Dates and Fee

4 - 8 Oct, £990
22 - 26 Nov, £990

In addition to the above public courses, we can provide customised and in-house training

Prerequisites

No existing knowledge of .NET is assumed, but to succeed fully in the course, previous use a programming or scripting language is recommended.

Course instructor

The course instructor is Simon Dineen, a freelance software developer with eight years experience in .NET training.

Course Content

The course instructor is Simon Dineen, a freelance software developer
with eight years experience in .NET development and training.
When not sitting in front of a computer, he can sometimes be found in the skies above Oxfordshire.

Course Content

Introduction to the .NET Framework
  • The Common Language Specification and compliant languages
  • Overview of the Framework Class Library
  • Description of the Common Language Runtime
  • The Visual Studio 2010 development environment
  • Using the built in documentation
Language Primer
  • Building a simple Console application
  • Declaring and importing namespaces
  • Introduction to object orientated programming and classes
  • Variables and built-in data types
  • Operators
  • Conditions and loops
  • Strings
  • Arrays and generic collections
  • Enumerations
  • Errors and Exception Handling
  • Catching and throwing exceptions
  • Building code documentation from XML documentation comments
Inheritance, Interfaces and Polymorphism
  • Class hierarchies and the Object class
  • Visual Studio class diagrams
  • Overriding methods
  • Reflection and the Type class
  • Forwarding constructor calls
  • Understanding and using polymorphism
  • Understanding interfaces
  • Defining and implementing custom interfaces
ADO.NET - The Connected Layer
  • Running SQL scripts and viewing data with SqlServer Management Studio
  • Understanding ADO.NET data providers
  • Storing connection strings in the application configuration file
  • Reading from and writing to a database using Connection, Command and DataReader objects
  • Garbage collection and finalizers
  • Calling stored procedures
  • Beginning, committing and rolling back transactions
ADO.NET - The Disconnected Layer
  • The structure of a Data Set
  • Using a Data Adapter to read from a database into a Data Set
  • Interrogating and updating a Data Set
  • Writing changes to the Data Set back to the database
  • Handing concurrency conflicts
  • Using Lambda expressions (predicates and projections)
      The Entity Framework
  • Outline of the Entity Framework
  • Creating an Entity Data Model from an existing database schema
  • Understanding the generated entities and associations
  • Language Integrated Query (LINQ)
  • Querying and updating entities using LINQ
  • Handling optimistic concurrency conflicts
ASP.NET
  • Understanding web applications and the role of HTTP and HTML
  • Building a simple ASP.NET page and separating presentation from logic
  • The life cycle of an ASP.NET page
  • Cascading Style Sheets and Master Pages
  • The role of the Web.config file
  • Binding web controls to a variety of data sources including an object, a database, an XML feed and a Site Map
  • Client-side validation and regular expressions
  • Web application security including authentication and authorisation
  • The role of the Global.asax file
  • Understanding the ASP.NET View State
  • State management techniques including the use of Session variables and the Application cache
  • Using ASP.NET profiles
  • Asynchronous page updates with AJAX
  • Publishing the Website
Windows Presentation Foundation (WPF)
  • Building a user interface using XAML mark-up
  • Handling application logic in a code-behind class
  • Overview of XAML controls and panels
  • Writing to the file system, including isolated storage
  • Building composite components and understanding routed events
  • Data binding between a data source and a WPF control
  • Type conversion and the IValueConverter interface
  • Displaying data bound lists
  • Navigation and hyperlink columns
  • Reading from an XML feed into a Flow document
  • Delegates, events and concurrent programming
  • Windows and Click-once deployment
  • Partial trust and XAML browser applications
Windows Communication Foundation (WCF)
  • The role of WCF
  • Specifying the transport protocol and message encoding
  • Building and hosting a WCF web service
  • Connecting to the service from a  desktop client application