Try
Try .NET provides developers and content authors with tools to create interactive experiences.
Install / Use
/learn @dotnet/TryREADME
After nearly 8 years and over 1 billion code executions, Try .NET is retiring on December 31st, 2025.
When we launched in 2017, GitHub Codespaces didn't exist yet, C# Dev Kit was years away, and AI-powered coding wasn't on the horizon. Try .NET gave developers something they needed: the ability to experiment with C# directly in their browser, no setup required.
We're incredibly proud of what Try .NET accomplished and grateful to everyone who used it, learned with it, and contributed to it. You helped shape what came next and the world has evolved. Today's developers have powerful local development tools that would have seemed like magic back then. It's time for us to focus our energy there.
Thank you for being part of the journey. Try .NET may be retiring, but the mission to make C# development delightful and accessible continues. Get started with modern C#: C# Dev Kit tutorial
Try .NET <img src ="https://user-images.githubusercontent.com/2546640/56708992-deee8780-66ec-11e9-9991-eb85abb1d10a.png" width="80px" alt="dotnet bot in space" align ="right">
Welcome to the Try .NET repo.
Try .NET provides developers and content authors with tools to create interactive experiences.
There are two different Try .NET interactive experiences:
- The web experience powered by Blazor (as seen on Microsoft Learn)
- Interactive documentation with Markdown for .NET Core with the dotnet try global tool.
Online, powered by Blazor
Microsoft Learn uses Try .NET to create interactive documentation. Users can run and edit code all in the browser.
Please Note: At the moment, the Try .NET online (trydotnet.js API) is currently only used internally at Microsoft as seen on Learn and .NET page.
Interactive .NET Core documentation with the dotnet try global tool
Try .NET enables .NET developers to create interactive markdown files.
To make your markdown files interactive, you will need the .NET Core 3.0 SDK, the dotnet try global tool and Visual Studio / VS Code (or any other editor of your choice).
Table of Contents
- Getting Started with Try .NET: Interactive documentation generator for .NET Core.
Contribution Guidelines
As we are still in the early stages of our development, we are unable to take any feature PRs at the moment, but we intend to do so in the future. If you find an issue or have a feature suggestion, please open an issue. And if you have any feature suggestions, please submit them using the "community suggestions" label.
Customers & Partners
Microsoft Learn
Microsoft Learn uses Try .NET to create interactive documentation. Users can run and edit .NET code in the browser.
Community Showcase
NCache Live by Alachisoft
NCache Live uses Try .NET to let the user experience NCache APIs with the help of executable and editable .NET code in the browser.
Related Skills
prose
339.3kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
Writing Hookify Rules
83.9kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
Command Development
83.9kThis skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
MCP Integration
83.9kThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context Protocol", "connect external service", mentions "${CLAUDE_PLUGIN_ROOT} with MCP", or discusses MCP server types (SSE, stdio, HTTP, WebSocket). Provides comprehensive guidance for integrating Model Context Protocol servers into Claude Code plugins for external tool and service integration.
