Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 1.13 KB

readme.md

File metadata and controls

11 lines (6 loc) · 1.13 KB

Sample .NET Interactive Extensions

The projects in this directory provide examples of how you can create and publish .NET Interactive kernel extensions.

The ClockExtension sample builds a standalone extension that adds a magic command and applies custom formatting in order to visualize System.DateTime using an SVG rendering of a clock. This example is fairly simple because it only works with types already referenced by .NET Interactive. You can see a walkthrough showing how to build and install the extension in this notebook.

The Library sample is more complex. This sample illustrates how you can augment your own libraries with notebook-specific enhancements that will be available when someone uses you library in .NET Interactive, but without adding a direct dependency from your library to .NET Interactive.

The RandomNumber extension shows how to build a script-based extension with no direct dependency on the Microsoft.DotNet.Interactive libraries. See README.md in that directory for more information.

You can read more about building extensions here.