NetPad vNext

Tareq Imbasher · TareqImbasher.NetPad.vNext

A cross-platform C# editor and playground.

NetPad is a C# playground that lets you run C# code instantly, without the hassle of creating and managing projects. Open NetPad, start coding, hit Run, and see your output immediately. It's that simple. - Prototyping and Testing: Quickly prototype and test code snippets before incorporating them into your projects. - Data Visualization: Visualize data interactively for better insights and analysis. - Database Queries: Query databases using LINQ or SQL effortlessly. - Learn and Experiment: Experiment with new C# features or start learning C# in an intuitive and accessible environment. - Utility Scripts: Create and save your own utility or administration scripts for repeated use.

winget install --id TareqImbasher.NetPad.vNext --exact --source winget

Latest 0.11.0

Release Notes

If you like NetPad, please star the repo 🌟 and consider sponsoring FOSS! This release adds .NET 10 support, some new features, and a new CLI tool! All feedback is welcome. 🎯 A special thanks to Andrea Bondanini (@sbundaz) for contributing a number of new features in this release. What's New 🚀 .NET 10 Support .NET 10 SDK is now supported. New scripts will automatically target .NET 10 if you have it installed. Oracle Data Connections You can now create Oracle database connections. Thanks to Andrea Bondanini (@sbundaz) for the contribution. IL Viewer NetPad now has an IL Viewer. You can find it by opening the Code pane located at the bottom left, and then swithcing from Syntax Viewer to IL Viewer. Thanks to Andrea Bondanini (@sbundaz) for helping with this. User Secrets Manager A User Secrets management pane was added to the bottom pane ribbon. Secrets can be accessed in your code using Util.Secrets: string value = Util.Secrets.Get("secretkey"); You can also list/add/update/remove secrets directly from code using these methods on Util.Secrets: void Save("secretkey", "value"); UserSecret[] List(); UserSecret? GetSecret(string key); bool Delete(string key); void Delete(Func<UserSecret, bool> filter); Wiki page NetPad CLI (npad) npad is a new CLI tool that brings NetPad to the terminal. You can use it to execute scripts, standalone C# files, and even code you type on the command prompt directly. It can be installed as a dotnet tool: dotnet tool install -g netpad.cli See the wiki page for usage and examples. The following is planned for npad:

  1. Faster script execution. The first time you run a script it is built and cached. Subsequent runs are much faster. The goal is to speed up that initial run.
  2. Ability to pass arguments to your scripts.
  3. Build a script into an executable. npad will have a different release cycle than NetPad (GUI), and will see some frequent updates in the near future with CLI-specific features and enhancements. [!TIP] Join the Discord server to collaborate, ask questions and get the latest announcements! Other Updates
  • New Data Protection methods were added to Util that you can use to protect/unprotect data. See Util.Protect() and Util.Unprotect() methods and thier overrides.
  • UI Updates:
    • A small refresh to tabs and panes.
    • App status messages in the statusbar can be dismissed by right-clicking the message.
    • Better UI for errors in the output pane for better readability.
    • Changed the formatting of how long a script took to run on the bottom left.
    • Swap the order of the Settings and Pin Window icons in the titlebar.
  • Update OmniSharp to v1.39.15. Fixes 🐛
  • Fix OmniSharp doesn't perform 2nd Quick Fix suggestion (#365).
  • Fix bug that caused script output to no show after manually stopping a script.
  • Fix Optimize dropdown not show actual selected value. Installers NetPad has 2 release channels:
  • Stable: The Electron version of NetPad. Installers that start with netpad
  • vNext: Uses a native Rust-based shell. Installers that start with netpad_vnext Both channels have the same feature set and are equally maintained. The native vNext version is lighter on system resources and planned to become the main package. At which point, the Electron version might be deprecated. See wiki for more info. Support ❤️ If you're enjoying NetPad and would like to support open-source, please consider sponsoring the project, it really helps! Also don't forget to star the repo if you haven't already, thank you! A special thanks to all my sponsors. Your support is greatly appreciated and helps keep this project growing!

New Contributors

Installer types: nullsoft , wix

Architecture Scope Type Download SHA256
x64 user nullsoft Download 1AB058E9FE0D54396A202F874C5B17F74C75BBDDDDF62FAF6A717DD350FC36C2
x64 machine wix Download 673C914401703ED96025DEABCBFC1F10E0C77E73A597E314B6EAB9414217E701

Details

Homepage
https://github.com/tareqimbasher/NetPad
License
MIT
Publisher
Tareq Imbasher
Support
https://github.com/tareqimbasher/NetPad/issues
Copyright
Copyright (c) 2025 Tareq Imbasher

Tags

.netc#codecodingcsharpdevelopdevelopmentdotneteditorplaygroundprogramming

Older versions (4)

0.10.0
Architecture Scope Type Download SHA256
x64 user nullsoft Download BE93752331B454BCBC238816609B34452C46F494E32461C735D0EDBFF8F1AA8D
x64 machine wix Download F7AF5E2585354EB6BEDAD558522D39BEFA9A4A75DD299D244415B78F7C53555E
0.9.1
Architecture Scope Type Download SHA256
x64 user nullsoft Download A73E753DEB2982E4E9EC89F36CA4F67175D7E16D0DCC951BE2A13879FC65A563
x64 machine wix Download 382144E5C355EDAB989F0E5BB79AEFBE92DAE414BC578A344E5F128D3190F68F
0.9.0
Architecture Scope Type Download SHA256
x64 user nullsoft Download 4C0EEA33EE3D9DDC676A40BE491EA4ECE7141B6373B2DB7A53DFD14543ED4D99
x64 machine wix Download AACEB772901242248B64ED6A186D922EDB60BB0A9AAF3A705C6E8CED9F6EA68C
0.8.0
Architecture Scope Type Download SHA256
x64 user nullsoft Download C93125CC992D3DE10603AB9761883A21E6EA49D62A8D483833E216E9F70B9AAD
x64 machine wix Download BA4E3B5E105BDEB50E2FB7C73520C4C1B0A6249488AE1D163FBA3E03A470437A