Object-Oriented Programming with C# (findes på GitHub her)
Razor pages: PART 1: Razor Pages
Razor pages: PART 2: Razor Pages
Emne | Materialer |
---|---|
Pensum fra 1. semester | |
Variables, operators, and expressions | C#-note: p.6-36 |
Using classes and objects |
|
Decisions (If-statements) |
C#-note: p.76-84 |
Iterations (Loops) | C#-note: p.84-90 |
Arrays foreach-loop |
C#-note: p.94-98 |
List/Dictionary | C#-note: p.99-107 |
ASP.Net Core / Razor Pages Build your first application
Server side Validation Singleton Design pattern Routing with Razor Pages |
Razor Pages
Videoer (Mohammad El Allali): Validation-Singleton-Dependency injection: Routing:
|
Pensum fra 2. semester | |
Inheritance Polymorphism Interface |
Inheritance (Arv), Interface + Abstract class:
|
Error/Exception Unit Test |
Exceptions: C# Note s. 262-276 (Unit Test) |
Stack ADT (Abstract Data Type) |
Generics: |
IComparable / IComparer Equals( ) / GetHashCode( ) |
Collections: Noter: s.223-227 Collections-Overview An Overview Of System.Collections.Generic MSDN: IComparable MSDN: IComparer Microsoft docs: Use the IComparable and IComparer ... Basic Sorting Algorithms In C# |
Predicate Deligates Anonymous functions Lambda-expressions IEnumerable / IEnumerator |
Functions as parameters (Delegates, Predicates and Lambda): CodeProject: Understanding Predicate Delegates |
LINQ | LINQ: Noter: s.232-241 WizIQ : LINQ - Language INtegrated Query (slides) MSDN: Introduction to LINQ Videos: LINQ Part 1 What is LINQ Part 2 Writing LINQ queries Part 3 Extensions Methods in C# Part 4 LINQ Aggregate Functions |
Razor Pages Entity Framework Code First |
Razor Pages Entity Framework Code First Razor Pages (fortsat) Entity Framework Code First - Using Generics https://www.c-sharpcorner.com/article/navigation-property-with-code-first-navigation-property-in-ef/
Adding Asynchronous Processing to ASP.NET Core 3.1 Razor Pages |
Task, Thread, Asynchron | Microsoft: Task-based Asynchronous Programming
Async/Await - Best Practices in Asynchronous Programming Joseph Albahari Threading in C#, part 1 |
Design Patterns
|
Design patterns explained |
Dokumentation | Code Documentation with Doxygen |