← Package directory
Available on winget

Install NetPad

A cross-platform C# editor and playground.

Install with winget
winget install --id TareqImbasher.NetPad
Upgrade
winget upgrade --id TareqImbasher.NetPad
Uninstall
winget uninstall --id TareqImbasher.NetPad

About NetPad

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# fe...

What's new in 0.12.0

If you like NetPad, please star the repo ⭐ and consider sponsoring FOSS! This release brings performance improvements, a major CLI update, new features for managing data connections, and a large number of bug fixes and stability improvements. 🎯 A special thanks to @antonkesy and @wuuer for their contributions in this release. What's New πŸš€ Database Server Connections You can now add a database server to the connections list and select one or more databases from that server. All databases under a server share the same connection and scaffolding options, so you only configure things once. Server connections are supported for SQL Server, PostgreSQL, MySQL, and MariaDB. Script Performance Improvements Script startup and re-run speed was improved: - Compilation results are cached so unchanged re-runs skip compilation entirely. - Nuget dependency graphs and script dependencies are cached so resolution only occurs when needed. - Framework assembly dependency cache is pre-warmed on a background thread at startup. - Other similar optimizations for quicker re-runs. .NET SDK Detection Improvements NetPad now discovers all valid .NET installations on your system (user settings, environment variables, user-level, system-level, PATH) and aggregates SDKs and runtimes from each. Previously, only the first valid installation was used. When running a script, the correct dotnet executable is resolved based on which installation contains the target framework's SDK. User Interface - Statusbar background color now changes to indicate script status (running, error, etc.), with unified status color...

Read release notes

Version history

Version Updated Notes
0.12.0 Unknown If you like NetPad, please star the repo ⭐ and consider sponsoring FOSS! This release brings performance improvements, a major CLI update, new features for managing data connections, and a large number of bug fixes and s...
0.11.0 Unknown 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...
0.10.0 Unknown If you like NetPad, please star the repo 🌟 and consider sponsoring FOSS! 🎯 A special thanks to @jesterret and @Jogai for contributing a number of new features and fixes in this release. [!NOTE] NetPad has a new Wiki: htt...
0.9.1 Unknown Fixes πŸ› - Fixes an error when running .NET 9 scripts targeting PostgreSQL and MySQL connections. - Failure to load database structure tree in sidebar in some cases. - Added missing .deb package . Full Changelog: https://...
0.9.0 Unknown Its been a while since the last release; war affects us all unfortunately. Until now, packaging binaries for every supported platform was done manually. It was slow, error-prone and just no fun at all. We now have automa...
0.8.0 Unknown If you like NetPad, please star the repo 🌟! What's New πŸš€ New Database Connection Providers You can now add MySQL and MariaDB connections in NetPad. Special thanks to @SimonNyvall! A Native Shell (vNext Preview) This upda...