In this article, I am introducing one such .Net editor or compiler which works on any web browser where you can not only run your .Net code; rather, you can collaborate and share the code to any of your team, social platform, or into your blogs. The .NET Fiddle is a very advanced online compiler or ready coding environment that allows you to create, run and share the code online without installing anything locally.
The .NET Fiddle offers unique features that are not supported in any online compilers specific to .Net.
- The .NET Fiddle is restricted to run only .Net family programming languages such as C#, VB.NET and F#
- It allows to run Scripts, Console based applications, MVC and Nancy project types. It supports NET45 and Roslyn compilers.
- It supports Database Templates such as SQL Server, SQL Compact, Entity Framework, Northwind Schema, W3Schools Schema.
- A dedicated sandbox (limit 20MB) provided to demonstrate System.IO file read/write operations.
- Provided Header directive to inform the compiler on specific configuration. For example, if you want to include NuGet package into your Fiddle, then you must specify @nuget: header directive followed by name of the NuGet package.
- Supported MVC project type and allowed access to modify the Model, View and Controller that is visible in split windows.
- It supported NuGet packages import and us the package libraries into your code snippet.
- Code conversion feature enabled where you are allowed to convert your code from C# to VB.NET or VB.NET to C#. Also you can view IL code.
- You can share your code on social media such as Facebook, Twitter. Also you can share your code via Email.
- You can also embed the code into your blog, sites like stackoverflow where you can post your questions along with code snippets by pasting the “iframe” script. This is one of the great features, so that we can present the code and allow others to modify and run the code. After sharing the code, the output windows look like below.
– Article ends here –