.NET Course
Synopsis
This five day 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 lambda expressions; connecting to data with the entity framework; building secure web applications with ASP.NET web forms and MVC; 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, the room is air conditioned and lunch and refreshments are included.
Course Dates and Fee
These courses take place in central London. We can also provide
customised and in-house training.
Two Languages
During day one, the syntax of both C# and VB.NET is
covered; subsequently delegates can complete the exercises using
their preferred language.
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 ten 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
- Arrays and generic collections
- Enumerations
- Exception handling
- Catching and throwing exceptions
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
Data part 1 – Connecting to a Database
- Using SQL to create tables and insert, update and delete data
- SQL functions, groups, joins, views and stored procedures
- Reading from and writing to a database using an ADO.NET data provider
- Garbage collection, finalizers and using blocks
- Pessimistic concurrency control
Data part 2 – The Entity Framework
- Mapping classes to database tables with the Entity Framework, concentrating
on code first development with Entity Framework 4.2
- Conventions and configuration of the entity data model
- Writing methods to retrieve, insert, update and delete entities
- Using delegates and lambda functions
- Configuring a rowversion column and handling concurrency conflicts
|
|
ASP.NET Web Forms
- Understanding web applications and the role of HTTP and HTML
- Building a simple ASP.NET page and separating presentation from logic
- Components and validation
- Binding to data sources
- The life cycle of an ASP.NET page
- Cascading Style Sheets and Master Pages
- The role of the Web.config file
- State management including Session, Application and View State properties
- Web application security
- Partial page updates with Ajax
- Localising the application
ASP.NET MVC
- Introduction to MVC3
- Understanding controllers, actions and routing
- Views and the Razor View Engine
- Data annotations and validation
- Building an ecommerce type application, connecting to the Entity Framework data model built previously
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
- Displaying data bound lists
- Reading from an XML feed into a Flow document
- Delegates, events and concurrent programming
- Deployment options
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 client application
|