Try .NET with Azure
Build your .NET apps with your Azure account and get 12 months of free services

Try .NET

Runnable .NET code on your site

Join the conversation on GitHub

Snippets

Light up your developer documentation with code your customers can run and edit in the browser.

Tutorials

Enable your customers to learn about your product's features and APIs in the browser.

Playgrounds

Allow your visitors to experiment and test code in the browser.

Try .NET in the browser

Try .NET is an embeddable code runner that enables you to explore .NET in the browser. Use Try .NET to light up your online learning experiences and documentation.

Code editor is loading...

Simple to embed

Go beyond copy and paste samples to live snippets. Our private preview customers can embed live .NET code into blogs and documentation.


<h2>Fibonacci Generator</h2>
<p>Here is my example of a Fibonacci generator implemented in C#.</p>

<iframe src="https://try.dot.net/?fromGist=df44833326fcc575e8169fccb9d41fc7">
</iframe>

Integrate with GitHub

Try .NET integrates with the dev tools you already use. Embed and run your GitHub Gists right in your browser, powered by the Try .NET experience.

Get involved

Join us on GitHub to contribute ideas, report bugs, and help make Try .NET amazing.

Join the conversation on GitHub

Powerful features

Build the user experience you want, with features to integrate Try .NET seamlessly into your site.

  • Custom themes
  • JavaScript programmability
  • GitHub integration
  • and more...

Learn about Try .NET features

See what people are creating with Try .NET

Members of our private preview are building online .NET experiences.