Skip to content

Replace the icsharp kernel with .NET Interactive - #11

Open
Thomas (zetomatoz) wants to merge 6 commits into
Azure-Samples:mainfrom
zetomatoz:add-dotnet-interactive
Open

Replace the icsharp kernel with .NET Interactive#11
Thomas (zetomatoz) wants to merge 6 commits into
Azure-Samples:mainfrom
zetomatoz:add-dotnet-interactive

Conversation

@zetomatoz

@zetomatoz Thomas (zetomatoz) commented Jul 22, 2025

Copy link
Copy Markdown

Purpose

  • The current C# BYOC sample is based on the archived ("dead") icsharp project.
  • This Pull Request introduces a C# Kernel based on .NET Interactive, which is actively maintained and is a fully supported Jupyter Kernel.
  • .NET Interactive supports asynchronous code execution, unlike icsharp

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

git clone https://github.com/zetomatoz/container-apps-dynamic-sessions-samples.git
cd container-apps-dynamic-sessions-samples
git checkout origin/add-dotnet-interactive

Test the code

  • The PR comes along with a self-contained Insomnia workspace that can be used to hit a locally running C# custom container or a remote one.
  • Once you have built the image from the new Dockerfile, follow the instructions in the ~/csharp/README.md file.

What to Check

Verify that the following are valid

  • All requests sent to your locally running container should return 200 OK or 202 Accepted responses

Other Information

  • You can adjust the base url and token environment variables in the yaml file or in Insomnia in order to test a remotely running container.

@zetomatoz

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@zetomatoz

Copy link
Copy Markdown
Author

#8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant