csharp-notebook is a community maintained Jupyter Docker Stack image. It makes i possible to try C# in Jupyter Notebooks.
Try the Jupyter Notebooks online with this link. No installation is needed.
(It can take up to 5 min to prepare the image).
mybinder.org/v2/gh/tlinnet/csharp-notebook/master
Additional material is more than welcome! Please add by sending a GitHub Pull Requests.
The sample code has been converted to more than 200 Jupyter Notebooks.
- Sample code at github.com/ExamRef70-483/Sample-Code
- Microsoft Exam 70-483: Programming in C#.
- Book: "Exam Ref 70-483 Programming in C#, 2nd Edition" by Rob Miles
- Docker Hub hub.docker.com/r/tlinnet/csharp-notebook
Docker Pull Command for Docker image with C# kernel installed and example Notebooks.
docker pull tlinnet/csharp-notebook:notebooks
Docker Pull Command for Docker image with C# kernel installed with no Notebooks.
docker pull tlinnet/csharp-notebook
Git Pull Command, manual Docker build and run on Windows 10.
git clone https://github.com/tlinnet/csharp-notebook.git
cd csharp-notebook
.\notebooks_build.cmd
.\notebooks_run.cmd
This Dockerfile is made possible by the work of https://github.com/zabirauf/icsharp
Install guides from
- https://github.com/zabirauf/icsharp/wiki/Install-on-Unix-(Debian-7.8)
- https://github.com/3Dcube/docker-jupyter-icsharp/blob/master/Dockerfile
This project is developed with the helpful guide of Jupyter Docker Stacks. The base container is jupyter/minimal-notebook and this Community Stack is setup via the guide.
The setup has been slightly modified from the standard cookiecutter settings.
-
- Builds -> Configure Automated Builds
- AUTOTEST : Off
- REPOSITORY LINKS : Enable for Base Image
- Build rules:
- Source: master
- Docker Tag: latest
- Dockerfile location : Dockerfile_build
- Build Context : /travis-ci
- Autobuild : On
- Build Caching: On
- Uses /travis-ci/hooks/post_push (See setting for Build Context location)
- Builds -> Configure Automated Builds
-
- General
- Build pushed branches : On
- Build pushed pull requests : On
- Limit concurrent jobs : Off
- Auto cancellation
- Auto cancel branch builds : Off
- Auto cancel pull request builds : Off
- General
- Main() is not called automatically. Has to be called manual. Remember 'public' in the function definition.
- Console.ReadKey() should not be used.
- using static System.Math; When importing Math, static has to included in the using command