Workshop: Learning C# on Linux
This repository contains the content for a workshop I am putting together on Learning C# on Linux using .NET Core. This is a work in progress so feel free to contribute but I'll probably make some major changes here before porting the content over to somewhere official like the .NET Core Docs.
A copy of the introductory slide deck accompanying this tutorial is available here.
Learning C# on Linux
C# is a modern, advanced general purpose programming language and is now fully open source and supported on Linux. In this short workshop you will learn how to be productive with the new modern C# on Linux, what it is like building high performance web workloads in ASP.NET and what tooling support you have available.
Target Audience: This workshop is aimed at developers with no prior knowledge of C# but have some experience with other programming languages or would like a refresher on the modern C# language.
- Getting Started - Installing pre-requisites and getting .NET Core installed on your system
- Hello C# World - Learn the structure of a basic C# program
- C# Language Basics - Learn the basics of the C# language such as variables, expressions, control flow, loops, type system, inheritance, generics and more.
- Properties - Defining properties in C# classes
- Delegates and Lambda expressions - Understanding delegates and lambda expressions in C#
- LINQ - An introduction to Language Integrated Query (LINQ)
- Asynchronous Programming - How to use .NET's built in support for asynchronous programming
- ASP.NET - Building Web Applications with ASP.NET Core
For more information and additional tutorials related to learning C# on Linux see the following. Note that the
.NET team are currently moving from several command line tools (such as
dnx) to the
therefore some of the tutorials may be a little out of date at the time of writing.
- .NET Core Documentation
- Understanding the .NET Core Platform
- Learn C#
- Web Applications with ASP.NET Core
C# has many excellent books from many different authors. While .NET Core is still very new and has not yet released the 1.0 version there are not many books about it yet specifically but if you are an experienced developer wanting to learn C# the following books are excellent choices to learn more: