bUnit icon indicating copy to clipboard operation
bUnit copied to clipboard

Create TRY.NET Sample to embed into Docs

Open razfriman opened this issue 4 years ago • 4 comments

Is your feature request related to a problem? Please describe. Reading docs is not as intuitive as a working example where you can tinker and see how a library works

Describe the solution you'd like A TRY.NET sample with a test component and a bUnit test. The test could show an assertion being made and include a “TEST” button that runs the rest.

razfriman avatar Jun 06 '20 22:06 razfriman

https://try.dot.net/

razfriman avatar Jun 06 '20 22:06 razfriman

Thats a good idea @razfriman. Do you have any experience setting that up and integrating it into DocFx?

egil avatar Jun 06 '20 22:06 egil

I actually don’t exactly how to set this up, but I was doing some reading on the subject after I had the thought. That reading led me to these samples of using the tool:

https://github.com/dotnet/try-samples

Perhaps one of these samples might be extended

razfriman avatar Jun 06 '20 22:06 razfriman

Yeah, it should be possible. More info here: https://devblogs.microsoft.com/dotnet/creating-interactive-net-documentation/

egil avatar Jun 06 '20 22:06 egil