I recently found this free online tool called dotnetfiddle. It was inspired by jsfiddle.
It allows you to write, test and share .NET code in your browser.
It's good for testing out code snippets. You could show your non programmer friends or family members and it could be enough to make them want to learn more.
You can save your fiddles as private or public and you can share the link to your public fiddles for others to see.
You can also embed your fiddles in web page like below.
I will definitely be using this tool for sharing code on my blog posts.
Have a play around with it and let me know what you think. https://dotnetfiddle.net/
This post is a reference to show you how to set up rewrite rules in your web.config file.Read Post