Description
You will learn to design and develop enterprise applications around the .NET 4.6 framework and the most common Design Patterns, each of the patterns being implemented with a flagship framework of the .NET ecosystem.
Who is this training for ?
For whom ?
This course is aimed at developers.
Prerequisites
Good knowledge of C# programming and the .NET framework. Experience in .NET application development required.
Training objectives
Training program
- Introduction
- Presentation and comparison of 2-tier, 3-tier, n-tier architectures.
- Reminder about anonymous delegates and methods, events, generic types, nullable types.
- The new features of version 5 of the C# language (Reminders of some concepts from the latest versions).
- Practical work Getting started with the development environment (Visual Studio 2015 ).
- Unit tests
- Organization of development in C#, concept of ?'test project'.
- Writing unit tests.
- Using mocks.
- Weak coupling in an n-tier architecture
- Definition of a loosely coupled architecture using factory and strategy patterns.
- Instance lifecycle management with singleton and prototype patterns.
- Update implementation of this architecture with the lightweight Unity container.
- Theoretical presentation of the differences of Spring.
- NET 2 and Unity.
- Practical work Management of the creation and lifecycle of instances in a Unity context.
- Persistence
- Presentation of the dao pattern and the benefits provided by object/relational mapping frameworks.
- Presentation of the Hibernate project as an object/relational mapping framework.
- Creation of a mapping with nHibernate.
- Manipulation of persistent data, application of the proxy pattern to isolate our application from nHibernate.
- Reminder of errors to avoid.
- Introduction to other available solutions, notably Microsoft Entity Framework.
- Practical work Creating a mapping, writing HQL queries.
- Exposing a business component in a distributed architecture
- Presentation of the challenges of a distributed architecture and Windows Communication Foundation.
- Presentation of the advantages of the Command pattern, implementation of the Facade pattern to receive commands.
- Implementation of chain of responsibility patterns and observation to orchestrate the processing of orders.
- Practical work Creation of a WCF endpoint to expose the facade and make it available to other applications .