Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dotnet/csharp-notebooks

Get started learning C# with C# notebooks powered by .NET Interactive and VS Code.
https://github.com/dotnet/csharp-notebooks

Last synced: 27 days ago
JSON representation

Get started learning C# with C# notebooks powered by .NET Interactive and VS Code.

Awesome Lists containing this project

README

        

# .NET Interactive Notebooks for C#

Welcome to the home of .NET interactive notebooks for C#!

## How to Install

### VS Code
1. Download the .NET Coding Pack for VS Code for [Windows](https://aka.ms/dotnet-coding-pack-win) or [macOS](https://aka.ms/dotnet-coding-pack-mac).
2. Install the [Polyglot Notebooks](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-interactive-vscode) extension.

## C# 101

Download or clone this repo and open the `csharp-101` folder in VS Code to get started with the C# 101 notebooks. Or, if you want just tap on one of the Notebook links below and automatically have it open in VS Code!

| # | Topic | Notebook Link | Video Link | Documentation |
|---|-------------------------------|-----------------------|------------|---------------|
1 | Hello World | [01 Notebook](https://ntbk.io/csharp101-notebook01) | [01 Video](https://www.youtube.com/watch?v=KT2VR7m19So&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=2) | [Intro to C#](https://docs.microsoft.com/dotnet/csharp/tour-of-csharp/tutorials/hello-world?WT.mc_id=csharpnotebook-35129-website)
2 | The Basics of Strings | [02 Notebook](https://ntbk.io/csharp101-notebook02) | [02 Video](https://www.youtube.com/watch?v=JSpC7Cz64h0&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=3) | [Intro to C#](https://docs.microsoft.com/dotnet/csharp/tour-of-csharp/tutorials/hello-world?WT.mc_id=csharpnotebook-35129-website)
3 | Searching Strings | [03 Notebook](https://ntbk.io/csharp101-notebook03) | [03 Video](https://www.youtube.com/watch?v=JL30gSE3WaQ&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=4) | [Intro to C#](https://docs.microsoft.com/dotnet/csharp/tour-of-csharp/tutorials/hello-world?WT.mc_id=csharpnotebook-35129-website)
4 | Numbers and Integers Math | [04 Notebook](https://ntbk.io/csharp101-notebook04) | [04 Video](https://www.youtube.com/watch?v=jEE0pWTq54U&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=5) | [Numbers in C#](https://docs.microsoft.com/dotnet/csharp/tour-of-csharp/tutorials/numbers-in-csharp?WT.mc_id=csharpnotebook-35129-website)
5 | Numbers and Integer Precision | [05 Notebook](https://ntbk.io/csharp101-notebook05) | [05 Video](https://www.youtube.com/watch?v=31EmPADtv4w&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=6) | [Numbers in C#](https://docs.microsoft.com/dotnet/csharp/tour-of-csharp/tutorials/numbers-in-csharp?WT.mc_id=csharpnotebook-35129-website)
6 | Numbers and Decimals | [06 Notebook](https://ntbk.io/csharp101-notebook06) | [06 Video](https://www.youtube.com/watch?v=kdKcpF9roeU&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=7) | [Numbers in C#](https://docs.microsoft.com/dotnet/csharp/tour-of-csharp/tutorials/numbers-in-csharp?WT.mc_id=csharpnotebook-35129-website)
7 | Branches (if) | [07 Notebook](https://ntbk.io/csharp101-notebook07) | [07 Video](https://www.youtube.com/watch?v=y4OTe8LSokg&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=8) | [Branches and Loops in C#](https://docs.microsoft.com/dotnet/csharp/tour-of-csharp/tutorials/branches-and-loops-local?WT.mc_id=csharpnotebook-35129-website)
8 | What Are Loops? | [08 Notebook](https://ntbk.io/csharp101-notebook08) | [08 Video](https://www.youtube.com/watch?v=z31m5Up_gSQ&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=10) | [Branches and Loops in C#](https://docs.microsoft.com/dotnet/csharp/tour-of-csharp/tutorials/branches-and-loops-local?WT.mc_id=csharpnotebook-35129-website)
9 | Combining Branches and Loops | [09 Notebook](https://ntbk.io/csharp101-notebook09) | [09 Video](https://www.youtube.com/watch?v=qK7tUpaOXi8&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=11) | [Branches and Loops in C#](https://docs.microsoft.com/dotnet/csharp/tour-of-csharp/tutorials/branches-and-loops-local?WT.mc_id=csharpnotebook-35129-website)
10 | Arrays, Lists, and Collections| [10 Notebook](https://ntbk.io/csharp101-notebook10) | [10 Video](https://www.youtube.com/watch?v=qLeF_wpnVto&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=12) | [Arrays, Lists, and Collections in C#](https://docs.microsoft.com/dotnet/csharp/tour-of-csharp/tutorials/arrays-and-collections?WT.mc_id=csharpnotebook-35129-website)
11 | Search, Sort, and Index Lists | [11 Notebook](https://ntbk.io/csharp101-notebook11) | [11 Video](https://www.youtube.com/watch?v=NJ5ghiutzfY&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=13) | [Arrays, Lists, and Collections in C#](https://docs.microsoft.com/dotnet/csharp/tour-of-csharp/tutorials/arrays-and-collections?WT.mc_id=csharpnotebook-35129-website)
12 | Lists of Other Types | [12 Notebook](https://ntbk.io/csharp101-notebook12) | [12 Video](https://www.youtube.com/watch?v=oIQdb93xewE&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=14) | [Arrays, Lists, and Collections in C#](https://docs.microsoft.com/dotnet/csharp/tour-of-csharp/tutorials/arrays-and-collections?WT.mc_id=csharpnotebook-35129-website)
13 | Objects and Classes | [13 Notebook](https://ntbk.io/csharp101-notebook13)| [13 Video](https://www.youtube.com/watch?v=TzgxcAiHCWA&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=16) | [Object Oriented Coding in C#](https://docs.microsoft.com/dotnet/csharp/fundamentals/tutorials/classes?WT.mc_id=csharpnotebook-35129-website)
14 | Methods and Members | [14 Notebook](https://ntbk.io/csharp101-notebook14) | [14 Video](https://www.youtube.com/watch?v=xLhm3bEG__c&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=17) | [Object Oriented Coding in C#](https://docs.microsoft.com/dotnet/csharp/fundamentals/tutorials/classes?WT.mc_id=csharpnotebook-35129-website)
15 | Methods and Exceptions | [15 Notebook](https://ntbk.io/csharp101-notebook15) | [15 Video](https://www.youtube.com/watch?v=8YsoBBiVVzQ&list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN&index=18) | [Object Oriented Coding in C#](https://docs.microsoft.com/dotnet/csharp/fundamentals/tutorials/classes?WT.mc_id=csharpnotebook-35129-website)

## Machine Learning

Download or clone this repo and open the `machine-learning` folder to get started with the machine-learning notebooks.

### Getting Started Series

| # | Topic | Notebook Link |
|---|--------------------------------------------|------------------------------------------------|
| 1 | Intro to Machine Learning | [01 Notebook](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/01-Intro%20to%20Machine%20Learning.ipynb)
| 2 | Data Prep and Feature Engineering | [02 Notebook](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/02-Data%20Preparation%20and%20Feature%20Engineering.ipynb)
| 3 | Training and AutoML | [03 Notebook](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/03-Training%20and%20AutoML.ipynb)
| 4 | Model Evaluation | [04 Notebook](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/04-Model%20Evaluation.ipynb)
| 5 | AutoML Sweepable API | [05 Notebook](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/05%20-%20AutoML%20Sweepable%20API.ipynb)
| 6 | AutoML Tuners | [06 Notebook](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/06-AutoML%20HPO%20and%20tuner.ipynb)

### End to End (E2E) Notebooks - examples of the entire ML process.
| # | Topic | Github Link |
|---|--------------------------------------------|--------------|
E2E | Classification using AutoML (Iris Dataset) | [Iris E2E AutoML](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/E2E-Classification%20with%20Iris%20Dataset.ipynb)
E2E | Forecasting using Regression (Luna Dataset)| [Luna E2E Regression](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/E2E-Forecasting%20using%20Autoregressive%20with%20Luna%20Dataset.ipynb)
E2E | Forecasting using SSA (Luna Dataset) | [Luna E2E SSA](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/E2E-Forecasting%20using%20SSA%20with%20Luna%20Dataset.ipynb)
E2E | Regression using AutoML (Taxi Dataset) | [Taxi E2E AutoML](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/E2E-Regression%20with%20Taxi%20Dataset.ipynb)
E2E | Text Classification API (Yelp Dataset) | [Text Classification API](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/E2E-Text-Classification-API-with-Yelp-Dataset.ipynb)

### Reference Notebooks
| # | Topic | Github Link |
|---|--------------------------------------------|-------------|
REF | Data Processing with DataFrame | [Data Frame](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/REF-Data%20Processing%20with%20DataFrame.ipynb)
REF | Graphs and Visualizations | [Visualizations](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/REF-Graphs%20and%20Visualizations.ipynb)
REF | Kaggle Competitions (Titanic Dataset) | [Kaggle](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/REF-Kaggle%20with%20Titanic%20Dataset.ipynb)
REF | AutoML Search Space | [AutoML Search Space](https://github.com/dotnet/csharp-notebooks/blob/main/machine-learning/Parameter%20and%20SearchSpace.ipynb)

## .NET Foundation

.NET Interative Notebooks for C# is a [.NET Foundation](https://www.dotnetfoundation.org/projects) project.

There are many .NET related projects on GitHub.

- [.NET home repo](https://github.com/Microsoft/dotnet) - links to 100s of .NET projects, from Microsoft and the community.
- [ASP.NET Core home](https://docs.microsoft.com/aspnet/core/?view=aspnetcore-3.1) - the best place to start learning about ASP.NET Core.

This project has adopted the code of conduct defined by the [Contributor Covenant](http://contributor-covenant.org/) to clarify expected behavior in our community. For more information, see the [.NET Foundation Code of Conduct](http://www.dotnetfoundation.org/code-of-conduct).

## License

.NET (including the csharp-notebooks repo) is licensed under the [MIT](LICENSE) license.