.NET Fiddle Ideas

  1. Enable Vim key bindings.

    Please enable vim key bindings. VsVim is one of the most downloaded Visual Studio extension, which is an indication of Vim key binding's popularity among .net devs.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  2. Expression Bodied Properties

    The following paste is an example of code that compiles in visual studio that does not appear to be supported by dotnetfiddle: https://dotnetfiddle.net/224Hvk

    I was just making a quick draft to make sure I understood the way this kind of assignment behaved to find it wouldn't compile on dotnetfiddle

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  3. 3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  4. Keep Nuget Packages

    When you add a nuget reference save it in the fiddle so when you open the fiddle again, either on the same machine or a different one, the packages are still there and you don't have to search for them again

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  5. Support null check operators

    Allow the compilation of null check operators i.e. DataSet?.Tables.Count. Currently the "?" screws up everything and a compilation error is received:

    Code:
    System.Data.DataSet ds = null;

        if (ds?.Tables.Count == 0 || ds?.Tables[0]?.Rows.Count == 0)
    
    {
    Console.WriteLine("True");
    }
    else
    {
    Console.WriteLine("False");
    }

    Errors:
    Compilation error (line 8, col 10): Invalid expression term '.'
    Compilation error (line 8, col 11): Syntax error, ':' expected
    Compilation error (line 8, col 35): Invalid expression term '.'
    Compilation error (line 8, col 36): Syntax error, ':' expected
    Compilation error (line 8, col 46): Invalid expression term '.'
    Compilation error (line 8, col 47): Syntax error,…

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  6. work on projects as a whole and being able to download them after

    Allow you to work on whole projects instead of a single at a time. Having the tree listed on the side allowing you to jump from page to page and looking more like a whole project. Also being able to download your project when it's completed

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  7. Update NuGet

    When trying to install System.Xml.XPath from NuGet (any version listed in the menu), installation is not allowed and this message is included at the end of the description of the package: "When using NuGet 3.x this package requires at least version 3.4". I think that updating NuGet is an important and urgent step for the functionality of this site. Gracias!

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  8. Allow inclusion of other exiting fiddles

    For example: I define a class Person in a fiddle named PersonClass.
    Then I base a new fiddle PersonUseExample on existing fiddle PersonClass, so I don't need to declare the class again, just démonstrate how I can use it.

    The idea is probably easier to implementis but similar to the exiting request: https://dotnetfiddle.uservoice.com/forums/228764--net-fiddle-ideas/suggestions/6056568-allow-multiple-files-for-console-projects

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  9. Be able to include import a Github repository

    This would really help to make samples of bugs / issues in a repository. One could import all the files of a repository, then write a "Test" that fails and the owner of the repository could then check out why it fails easily.

    See for example me manually uploading the files in a competitors product:
    https://repl.it/@devedse/ErrorWhenLoadingJpgWithExif

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  10. Flush the Console Buffer after run

    I'm creating some samples for a project, and when using Console.WriteLine inside Tasks, the messages usually won't appear in the log window.

    I'm currently required to add a "Thread.Sleep(1000)" or "Task.Delay(1000)" to allow the console buffer to appear.

    It would be much better for everyone if this was handled by .NET Fiddle by default.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  11. Automatically save the fiddle

    Please add this, at least as an option. Otherwise we can lose work. Thank you!

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  12. 3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  13. Elvis operator

    Hi it would be extremely useful if we had the Elvis operator.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  14. Solution/Project Explorer

    I would like to be able to create projects that contain multiple files so that I can create tutorials to teach student.
    The MVC project type for example allows for multiple files. but they are all together on screen and I can't close one down to focus on say the controller.

    VS Code uses Theia https://www.theia-ide.org/index.html - Perhaps you could also use this in your UI?

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  15. ForegroundColor

    Change the text color with Console.ForegroundColor

    That the code can be used:
    Console.ForegroundColor = ConsoleColor.DarkBlue;

    Console.Write ("Hello");

    Console.ForegroundColor = ConsoleColor.DarkRed;

    Console.WriteLine ("World");

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  16. Allow private main

    The .net compiler for real stuff doesn’t require the class Main() is in to be public nor Main() itself to be public. In fact, there’s no reason to write any access specifier in code since it doesn’t need to be public and is just extra noise, so I normally don’t in my one-off programs. Even [the VS templates for simple console apps](https://gist.github.com/binki/1f8ed17ed87cf4e78d3771d6f77cd0f9) uses private (by allowing the default access by omitting the keyword).

    Because .net fiddle doesn’t support this, it is impossible to copy/paste simple programs from VS into it to share with others with all the output,…

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  17. Allow at least 2 views for MVC examples

    It would be nice to see form submits pass through a controller method to another view. Currently I'm just throwing an exception to see passed values (https://dotnetfiddle.net/jZQKsM).

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  18. Support Classroom Structure

    Allow for a teacher/student structure whereby a teacher can have access to students' files and create tutorials on .NET Academy visible to only students.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  19. Add System.Windows.Forms

    Some of my code uses System.Windows.Forms.BindingContext (i.e. non UI code) and I want to reference it dotnetfiddle.net

    Unfortunately I can't write using System.Windows.Forms; as I get the error Compilation error (line 2, col 22): The type or namespace name 'Forms' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  20. Improve Tidy Up functionality

    As far my experience goes using dotnetfiddle.net, the "Tidy Up" functionality only remove unnecessary lines reducing code readability

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

.NET Fiddle Ideas

Categories

Feedback and Knowledge Base