2 min read

At Microsoft Ignite 2019, Microsoft announced that Jupyter Notebooks will now allow users to run .NET code with the new .NET Jupyter Notebooks. Try .NET has grown to support more interactive experiences across the web with runnable code snippets, interactive documentation generator for .NET Core with dotnet try global tool. The same codebase is taken to the next level by announcing C# and F# in Jupyter notebooks.

What’s new in .NET Jupyter Notebook

By default, the .NET notebook experience enables users to display useful information about an object in table format. .NET notebooks also by default, ship with several helper methods for writing HTML; from basic helpers that enable users to write out a string as HTML or output Javascript to more complex HTML with PocketView.

.NET Notebooks are a perfect match for ML .NET

.NET notebooks bring interesting options for ML.NET, like exploring and documenting model training experiments, data distribution exploration, data cleaning, plotting data charts, and learning.

To leverage ML.NET in Jupyter notebooks, users can check out the blog post Using ML.NET in Jupyter notebooks with several online samples.

Create charts using Xplot

Charts are rendered using Xplot.Plotly. As soon as users import XPlot.Plotly namespace into their notebooks(using Xplot.Ploty;), they can begin creating rich data visualizations in .NET.

Source: Microsoft.com

.NET for Apache Spark

With .NET for Apache Spark, .NET developers have two options for running .NET for Apache Spark queries in notebooks: Azure Synapse Analytics Notebooks and Azure HDInsight Spark + Jupyter Notebooks.

Both the experiences allow developers to write and run quick ad-hoc queries in addition to developing complete, end-to-end big data scenarios, such as reading in data, transforming it, and visualizing it.

To learn how to get started with .NET for Apache Spark, visit the GitHub repo.

Many users are excited to try out the new .NET Jupyter Notebooks.

A user on Hacker News commented, “This is great news. Jupyter has become my default tool for prototyping code. I keep trying other platforms that should theoretically have the same features, but I just find Jupyter much more pleasant to use.

Another user commented, “I love .NET and I love Jupyter. I don’t know how well they will combine though. I feel like the lack of Pandas and flexible typing of Python will make it a lot less useful.”

To know more about this announcement in detail, Scott Hanselman’s post on his website.

Read Next

Introducing Voila that turns your Jupyter notebooks to standalone web applications

JupyterHub 1.0 releases with named servers, support for TLS encryption and more

.NET Framework API Porting Project concludes with .NET Core 3.0

A Data science fanatic. Loves to be updated with the tech happenings around the globe. Loves singing and composing songs. Believes in putting the art in smart.