Course detail

The C# Programming Language

FIT-ICSAcad. year: 2018/2019

C# language syntax. Object-orientation. The object model, objects, classes. Visual Studio. Debugger and profiler. Design patterns. Graphic user interfaces, WPF. Asynchronous programming with processes, threads, tasks. Data querying LINQ, ADO.NET. ORM mapping with Entity Framework.

Learning outcomes of the course unit

Students will learn how to apply modern programming approaches in .NET platform using C# language. After class completion, students will be ready to tackle real-world programming challenges with a new perspective based on object-oriented principles and to apply design patterns to architecture design.
Working in a team simulates real work assignments, teaches students coordination and enforces the use of agile methodologies.  Main take offs are object-oriented workflows in C# and .NET platform, application of design patterns and utilization of persistence data providers.

Prerequisites

Basic knowledge of imperative programming (C language), algorithmization and source code versioning.

Co-requisites

Not applicable.

Recommended optional programme components

Not applicable.

Recommended or required reading

  • MARTIN, Robert C.; MARTIN, Micah. Agile principles, patterns, and practices in C. Pearson Education, 2006.
  • MARTIN, Robert C. Clean code: a handbook of agile software craftsmanship. Pearson Education, 2009.
  • GAMMA, Erich. Design patterns: elements of reusable object-oriented software. Pearson Education India, 1995.

  • ALBAHARI, Joseph; ALBAHARI, Ben.; C# 7.0 in a Nutshell: The Definitive Reference. O'Reilly Media, Inc., 2017.

Planned learning activities and teaching methods

Not applicable.

Assesment methods and criteria linked to learning outcomes

  • Project evaluation is divided into three parts.
  • Each part will be evaluated separately and feedback given to students for further improvements in the following phases.
  • Phases are marked by 20, 30, 50 points.
  • Final project (the third phase) evaluation is an oral defense.
  • Attendance on optional demo exercise will be awarded +2 points.

Exam prerequisites:
  • At least 1 point of each project evaluation part
  • Obtain at least 50% of the points from overall project evaluation

Language of instruction

Czech, English

Work placements

Not applicable.

Course curriculum

    Syllabus of lectures:
    1. Introduction to C# language and .NET platform, language syntax
    2. Introduction to object-oriented programming and advanced programming constructs
    3. Principles of OOP in C# and data-transfer-objects
    4. Base class library, LINQ
    5. Data persistence with ADO.NET and Entity Framework
    6. Design patterns, desktop application architecture
    7. Introduction to WPF
    8. WPF data binding, components, and styles
    9. Parallel and asynchronous programming with processes, threads, and tasks
    10. Clean Code, SOLID
    11. Advanced design patterns
    12. Testing
    13. Memory management, performance profiling

Aims

The goal of this class is to teach students' basics of object-oriented programming in C# language.

Specification of controlled education, way of implementation and compensation for absences

  • Team project 4-5 members in the Azure DevOps environment.
  • The project is implemented using CleanCode and S.O.L.I.D. principles.
  • The implementation consists of fully functional desktop application heading OOP principles with database persisted storage.
  • In the case of forewarned complications students can ask for an extension of the deadline for any part of the project.

Classification of course in study plans

  • Programme IT-BC-3 Bachelor's

    branch BIT , 2. year of study, summer semester, 4 credits, compulsory-optional

Type of course unit

 

Exercise

26 hours, optionally

Teacher / Lecturer

Syllabus

  1. Introduction to C# language and .NET platform, language syntax.
  2. Introduction to object-oriented programming and advanced programming constructs in C# - exceptions, events, delegates, lambda expressions, and generics.
  3. Base class library, and LINQ query (collections, XML, MSSQL).
  4. Database persistence with ORM Entity Framework and UnitOfWork and Repository design patterns.
  5. Clean Code, S.O.L.I.D. principles applied to C# examples.
  6. Model-View-ViewModel (MVVM) design pattern, and desktop application architecture.
  7. Introduction to Continous Integration in Visual Studio Team Services and application testing.
  8. Introduction to GUI based on Windows Presentation Foundation (WPF).
  9. Design patterns, behavioral, structural and creational - Gang of Four (GoF).
  10. WPF based on MVVM and data binding, components, and styles.
  11. Parallel and asynchronous programming with processes, threads, and tasks in C#.
  12. Multiplatform development with .NET Standard, .NET Core. Application containerization with Docker and orchestration with Kubernetes, Docker Swarm.
  13. Tools for memory management, performance profiling.

Projects

13 hours, compulsory

Teacher / Lecturer

eLearning

eLearning: opened course