Open Xyncgas opened 2 years ago
Imagine I give you a note book, you are greeted with pretty UI instead of a bunch of codes. You can click a button to see the code that's behind your beautiful application. Permissions can be set to sandbox what distributed codes can do, people can customize their app and sometimes even swap out different UI (framework) providers in the marketplace to customize their UI.
Imagine I am a gamer and you are a gamer, I shared a template to you that can run a minecraft server, but our enviornment is different so you are able to go into the code and change the values (ip, ports) yourself. Then maybe in the future add an entry point to the notebook and now it can be distributed as an app and can be compiled to run on the server. Maybe 1 entry for UI 1 entry point for server side behavior.
Sorry, I don't see how your title matches up to your description.
Do you want the output cells to rendered with like a notebook wide .css style? I ask because your description doesn't talk about css styling at all. I touches on being able to run notebooks as executables (on the roadmap already) and access interactive input (already on the roadmap for notebooks and compiled mode too).
And I just don't even know where permissions and swapping out framework fit in here. Can you please provide more detail on your specific feature request that you would like implemented?
it's ok, I am sorry for causing the confusions too.
In my opinion, currently blazor can let people render the web using c#, developing the interface and logics in one project, and if we can extend .NET interactive to blazor, we can distributed applications in a new way aside from blazor.
The difference to making websites with blazor would be that you are distributing the source code instead of a compiled version of it, and people can modify this source code aka script to modify the behavior of the application.
ps: this feature request's difference to what we have now is the ability to hide codes to behind the screen, essentially an interface that we can toggle to see the 'code behind' just like the experience we have today, and another mode for toggling to see an interface without the code but rendered by the code (of course it would be nice that we can import other notebooks aside from nuget packages)
I like the idea that Notebook can be distributed as an executable, and I do see that users would now get their applications through an installation file just like the old days but it's also possible that people can visit the website and then change its behavior by changing the source code that the website is generated and either store it in the server or in local store inside the browser (this requires at minimum only being able to use .NET interactive in the browser, for interpreting c# like it's javascript, the rest of the flow can be left to the developers)
Use cases for example are :
Also would be nice if we can have an experience, where people are browsing and downloading .ipynb notebooks from the web inside visual studio code, so it feels like a browser and you can play a game written in c# just by putting the game's github repository's url or just some url that serves the .ipynb or c sharp project file in visual studio code.
I like that you can write codes in the notebook and then run it as an executable
Now, we are using Plotly.NET
With this feature request,
We could use not only plotly.blazor but other blazor components created by c# developers to share through .NET interactive
So I can use the web with c# instead of javascript