interactive
dotnet-script
Our great sponsors
interactive | dotnet-script | |
---|---|---|
48 | 20 | |
2,732 | 2,580 | |
1.9% | 1.1% | |
9.6 | 6.6 | |
7 days ago | 4 months ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
interactive
-
Exploratory Data Analysis with F#, Plotly.NET, and ML.NET DataFrames
All of this will be accomplished inside of a single Polyglot Notebook. If you're not familiar with Polyglot Notebooks, they're a technology built on top of Jupyter Notebooks that allow you to use additional language kernels, including a F# Kernel. This lets you run interactive data science experiments in a single notebook as shown here in VS Code:
-
.NET 8 Standalone 50% Smaller On Linux
I use .NET on Linux and the experience with Rider has been great. The workflow transfers really well between Mac, Windows, and Linux, and everything works the way you expect. The only problems I run into are that there are still things that are Windows focused. For example MAUI does not run on Linux which is a shame because we could use another cross platform GUI.
There are still bugs, for example I ran into one with Polyglot Notebooks not working on Manjaro or Pop!_OS https://github.com/dotnet/interactive/issues/3159
-
Importing Code in Polyglot Notebooks
First of all, if you have a small amount of code that lives in an individual C# file and you wanted to reference it in your notebook, you can do this via the #!import magic command as shown below:
-
How can I authenticate against Azure Artifacts from Jetbrains Rider?
My 2 cents: use a Personal Access Token instead of a password, it is much safer (even though not 100% safe). Some references: https://github.com/dotnet/interactive/discussions/1340 https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate
-
Announcing Polyglot Notebooks! Multi-language notebooks in Visual Studio Code - .NET Blog
See also https://github.com/dotnet/interactive
-
Getting work done with PowerShell on Linux
U have Powershell notebooks https://github.com/dotnet/interactive
-
Argue in comments 💅
Or Rider or simply install dotnet by itself (very easy) and code in a notepad or VSCode. .NET interactive is another awesome way to start: https://github.com/dotnet/interactive/blob/main/docs/display-output-csharp.md
-
Jupyterlab Desktop
Hi! My name is Claudia and I am a PM at Microsoft (opinions are my own) working on Polyglot Notebooks in VS Code. Polyglot Notebooks are exactly what you are describing! They are notebooks where you can use multiple languages AND share variables between them to ensure a continuous workflow. Not only that, but each language has language server support. Polyglot Notebooks currently supports C#, F#, PowerShell, JavaScript, HTML, SQL, KQL, and Mermaid.
We have just added support for Python and R integration and I am actually in search of external testers! If you are willing to sign an NDA to try out our Python and R integration and give us feedback please drop your email in the form below and I will reach out with instructions for you to try it out!
https://forms.office.com/r/UQchfQSGa5
If you'd like to start trying it out today you can install the extension from the marketplace here: https://marketplace.visualstudio.com/items?itemName=ms-dotne...
-
Does anyone have any experience using ML.NET for forecasting?
I've been excited about a lot of the work being done in .NET Interactive and Polyglot Notebooks, particuarly with ML with F#. I don't know too much about ML, so I thought I'd check out ML.NET.
- Run C# Straight from Command line! (C# REPL)
dotnet-script
-
Google ZX – A tool for writing better scripts
Especially because these languages are only one package/install away and not two. I don‘t really get for which audience is targeted here. Usage in JS projects maybe, but then why not write it as npm tasks. ..
I‘m playing around with dotnet-scripts [1] at the moment (C# shop mainly) and this has the same issue imho. The reason why I looked into it was because we have developers not accustomed to bash etc. I still find it silly and would rather use ruby so…
-
Simple PowerShell things allowing you to dig a bit deeper than usual
>making powershell actually enjoyable to use
My solution was to stop using it and instead use dotnet-script
https://github.com/dotnet-script/dotnet-script
Scripting with the full power of modern C# has been a huge win for me. And same/similar scripts will work on Windows/Linux/Mac. As my work language is C#, I don't have to context switch to another language for scripting.
-
REST API using C# .NET 7 with MySql
I usually create a container that has all database migrations and tool to execute those migrations. I name migrations as [yyyyMMdd-HHmm-migration-name.sql] but please feel free to use any naming scheme, keep in mind how the tool would order multiple files to run those migrations. I have also added a wait-for-db.csx file that I would use as the entry point for database migrations container. This is a dotnet-script file and would be run using dotnet-script. I have pinned the versions that are compatible with .net sdk 3.1 as this the version roundhouse is build against at the time of writing.
-
Is it possible to create executable from file instead of project, like java or go?
thanks, this is very good idea too, and with dotnet-script we can publish executable out of the script!
-
dotnet script script.cxs says no dotnet found
It sounds like this is feedback for the author of the dotnet script tool: https://github.com/dotnet-script/dotnet-script
- Administrative Scripting with Julia
-
C# vs Python
Yes, you can have single-file scripts too. There might be more options to achieve this, but the one that I use is running *.csx files via the dotnet-script (https://github.com/dotnet-script/dotnet-script).
-
Why Functional Programming Should Be the Future of Software
I do agree.
I think .Net has got it right. And dotnet-script [https://github.com/dotnet-script/dotnet-script] has been a game-changer for me with a REPL-like experience for unit testing and writing command-line utilities.
- Is PowerShell scripting worth learning?
- What is the/your current/popular choice for dotnet c# scripting ?
What are some alternatives?
Plotly.NET - interactive graphing library for .NET programming languages :chart_with_upwards_trend:
.NET-Obfuscator - Lists of .NET Obfuscator (Free, Freemium, Paid and Open Source )
spectre.console - A .NET library that makes it easier to create beautiful console applications.
cs-script - C# scripting platform
obsidian-jupyter
ScriptCS - Write C# apps with a text editor, nuget and the power of Roslyn!
SharpLab - .NET language playground
omnisharp-vim - Vim omnicompletion (intellisense) and more for C#
jupyter - An interface to communicate with Jupyter kernels.
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
livebook - Automate code & data workflows with interactive Elixir notebooks
Squirrel - An installation and update framework for Windows desktop apps