Where to go next

This course is the language and the base class library: the SDK, the type system, objects, LINQ, memory, files, async, metadata, interop, performance and three capstones. The applications a C# developer builds next are not in it, because each of them is a framework with a course of its own. This lesson names the five directions, links the course that will cover each one and says in one sentence what this Linux container can and cannot run.

Web and data

A reader who wants to build a service today has the pieces already: the minimal API of lesson 097 for the HTTP end, System.Text.Json for the payload from lessons 071 and 072, the dependency injection of lesson 096, and the pool of capstone C for background work.

Windows desktop

The language of a WPF application is the language of this course. What changes is the framework: an event handler is a delegate (lesson 033), a binding is a property with a notification (lesson 044), and a background load is a task (lesson 080). That is why these courses can come after this one and not before it.

Mobile and cross-platform UI

The workloads are installed with dotnet workload install maui, which is a download: the same reason the course is not written here. A reader on a desktop machine with the workloads can follow it with the same SDK version this course names.

What to build next

The three capstones are the practice this course offers, and each one is a program a reader can extend: the log report of capstone A has a command line and a JSON form, the calculator of capstone B has a REPL and a test table, and the pool of capstone C has a queue, workers, a shutdown and a benchmark. An extension of one of them is a better next step than a new topic, because the program is already built and run.

Three groups of pages on this site take the course further and are written separately: testing C# code without a framework, C# and Java side by side with the same task built in both, and a C# core called from a modern layer. They are named here and not linked, because a link to a page that does not exist yet is worse than a name.

The last lesson is the map of the base class library: the namespaces this course used, what each one is for, and where to read next.

Exercises

  1. Take the minimal API of lesson 097 and add a second route that answers the report of capstone A as JSON.
  2. List three features of a WPF application that are the same in a console application of this course, and three that are new.
  3. Find out which workloads this container has with dotnet workload list and explain the answer.
  4. Write down one extension of each capstone that you would build, and the lesson that gives you the pieces for it.

Questions

A new set of questions in a new order every time. Choose one answer for each, then check.

  1. Which of the five directions can this Linux container run a page of?

    Answer

    ASP.NET Core, which ran the minimal API of lesson 097 on a port of the container

    The three UI stacks are Windows-only or need mobile workloads and an emulator.

  2. Why does Entity Framework Core need something this container lacks?

    Answer

    A database server or a provider package from NuGet

    There is no database server in the image and no network for a package.

  3. Which part of this course is the delegate that a WPF event handler is?

    Answer

    Lesson 033, lambdas and delegates

    An event handler has the shape of a delegate, which that lesson builds.

  4. Why is an extension of a capstone a better next step than a new topic?

    Answer

    The program is already built and run, so the new work is the only unknown

    The output and the commands are already known, which makes the change measurable.

  5. Which lesson carries the dependency injection a web service needs?

    Answer

    Lesson 096

    It builds ServiceCollection from the shared framework.

  6. Why are the three article groups named here and not linked?

    Answer

    A link to a page that does not exist yet is a broken link

    The round that writes them adds the links.

  7. What does the MAUI course need that the SDK alone does not give?

    Answer

    The mobile workloads and an emulator or a device

    The workloads are a download and an emulator is not in the image.

  8. Which two lessons give the JSON payload of a web service?

    Answer

    Lessons 071 and 072

    Writing and reading with System.Text.Json.

  9. Which capstone has a command line and a JSON form?

    Answer

    Capstone A, the log report

    Lessons 117 and 118 add them to the report.

  10. What is the subject of the last lesson of the course?

    Answer

    The map of the base class library, namespace by namespace

    Lesson 135 collects the namespaces this course used.

This page has no program of its own: every command it mentions was run in the lessons it links, and the versions of the machine are in the note of each of them. The container is Alpine Linux 3.24.3 (x86_64) with the .NET SDK 10.0.303, in a Docker container.

Article author: Arthur Isaev

Banner image