In .NET Interactive Preview 2, we announced that in addition to Jupyter Notebook and Jupyter Lab, users could use nteract as well. In this preview, users can add VS Code Insiders to that list. With the VS Code Insiders experience, users can get started with .NET notebooks without needing to install Jupyter. The VS Code experience is still a work in progress, and is only available in VS Code Insiders. We look forward to your feedback.

Getting started

To get started with .NET notebooks, please install the following:

Creating a new .NET notebook

Once you have the requirements listed above installed, you are ready to start creating .NET Notebooks in VS Code Insiders.

To create a new notebook, open the Command Palette(Ctrl+Shift+P), and select Create new blank notebook. You can also create a new notebook with Ctrl+Shift+Alt+N key combination.

Every notebook has a default language. A new blank notebook starts with a C## cell, as noted in the lower right corner of the cell. If you click on C## (.NET Interactive), you can change the language of the cell. If you change the language of the cell, the next cell you create will continue with that language.

To add a cell, hover above or below an existing cell. Buttons appear allowing you to specify the type of cell to add, +Code or +Markdown. If you select +Code, you can change the language afterward.

Opening an existing .NET notebook

To open an existing .NET notebook, bring up the Command Palette and select Open notebook. Now, navigate to a local .ipynb file.

With .NET notebooks in VS Code, you can take advantage of rich coding experiences like IntelliSense, and you can use all of your favorite VS Code extensions.

#.net #.net core

.NET Interactive Preview 3: VS Code Insiders and .NET Polyglot Notebooks
2.30 GEEK