-
Notifications
You must be signed in to change notification settings - Fork 257
Wiki Review Part 2 #261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
PS: Let me know whether and when I shall delete |
Thank you Matthias,
Excellent review. Not sure how you managed to do so much work. :)
Will absolutely process it all. It will take time but I will definitely do
it.
txs.
|
Yepp, took me a while. Compared to the time you spent on CS-Script and the Wiki though almost nothing. Thanks for that! |
PS: Have you ever taken a closer look to my profile's picture I recently changed? Was almost a year ago, in the meantime winter is here again at my side of the globe. |
Looked at your avatar... I envy you. :) BTW I have completely processed the PR so will be closing this issue. Thank you for your help. |
Sorry, just realized that I only processed the PR but not your notes yet. |
I decided to keep your very first post as is and use the list below for tracking the progress and the resolution status: General
Home.md
CS-Script-Overview.md
Hosted-Script-Execution.md
CLI-Script-Execution.md
CLI---User-Guide.md
CS-Script---Command-Line-Interface.md
Choosing-Compiler-Engine.md
Broader questions related to hosting:
Script-Syntax.md
CS-Script-Runtime-Environment-(script-reflection).md
IDE-and-OS-integration
Roadmap.md[Oleg: the very first sentence on the page explains that the roadmap has been achieved already and the page is only kept as a historical record. But I made it now even more clear by changing the title to "Transition from .NET Framework to .NET"]
_Sidebar.md
Still in the repo but no longer in the Wiki?[Oleg: all of thame are no longer needed. Now removed.]
|
Done!!! Finally, I managed to process your feedback. The most obvious problem was the excessive fragmentation of the content as the result of frequent but less systematic updates of Wiki. Now I have merged quite a few articles and created a more consistent documentation structure that most likely will be more helpful compared to the old documentation, which is btw still available on "https://github.com/oleg-shilo/cs-script.net-framework" Really appreciate your help. Without it would be close to impossible to achieve that much improvement. Now I can focus on the release for .NET6. It's ready for the last ~3 days. Was delaying the release until I fix the documentation. |
Wow! I did fly over your comments and the wiki, well-done! And I feel honored to get this done before such major release! Please go ahead with the release. After, let's talk again about...
...as I do not understand why there is no equal comparison for hosting, i.e. why the hosting table...
Why am I insisting?
This may be true for most users of CS-Script. But from all the information I now have not for me (= the mentioned "you"). Because my hosting application heavily relys on multi-module scripting and namespaces. So Roslyn unfortunately still looks like a non-option. Resulting in the fact that my hosting application will have to deploy the SDK in the future (after moving away from FX). I fully understand that moving away from FX is the future of anything on .NET. And I fully understand that CS-Script could not chose the set of features and restrictions of Roslyn. But please also understand that, in case of my hosting application, the impacts of moving away from FX are not neglectable unfortunately. So far, there is no defined end date for FX support by Microsoft. So I play with the idea of continuing on FX for the next few years, at the cost of not being able to move further than C# 5. As always, there's no free lunch ;) |
Because criteria like NuGet, WinForm or WPF scripting are not really applicable for hosted scripting scenarios. Though since you are asking this question I have matched both tables layout and indicated non applicable cells.
I am not sure we are on the same page here. Thus it is important to note that there are some limitations associated with the compiling engines and there are some other limitations associated with the scenarios these engines are used in. To truly summarise it I have put a summary table before describing the engines in the CLI and Hosted ssections. |
Very good, the summary table was what I initially proposed to give an overview of the engine's capabilities. The hosted scenarios though may be quite different:
Give me another year and you'll see that they actually are in my hosted scenario (users can write their own scripts, including simple to medium UIs that pop up when running the script or integrate into the hosting application (that's where the The information I now have is sufficient for the moment. I will now focus on finalizing the hosted scenario and making it open-source. I can then later decide on how to move towards .NET 5/6/... I think integrating the SDK (in order to support csc instead of Roslyn) should be achievable. I might provide separate installers, with and without the SDK, i.e. with and without scripting capabilities. There is just one minor thing I noted in the wiki:
Then I think this issues can be closed :-) |
Of course. Txs. Done 😄 |
Hi Oleg,
Continuing from review started in #254, I have created
branches/maettu_this_review_2
to be reviewed and merged. In general, the Wiki looks very good! I did find some places with room for improvement, and some minors/nice-to-haves which I nevertheless propose to fix. After all, many people likely read the Wiki.Sum
/Product
toAdd
/Multiply
(as methods should be named with verbs rather than nouns).Feel free to revert if you dislike the change.
You could even further simplify to always use
Add
and the very same args.In addition to the proposed changes in markdown, several things where you will have to decide upon best/right/wrong:
General
Home
andOverview
. Maybe either could be reduced, or they could be merged.Home
, top ofOverview
,... Hosted: Sidebar, bottom ofoverview
,... Proposing to always use CLI then hosted.; // IE ICalc implementation
vs.; //clear all ref assemblies
, i.e. with/without space after//
and lower/upper case.Home.md
Not exactly true, these topics are not in the Wiki, rather the project's Github page.
CS-Script-Overview.md
What do you mean by "top-level"?
Or even better, merge and eliminate? e.g. https://www.cs-script.net/integration is empty.
Something wrong here.
Hosted-Script-Execution.md
Statement seems related to the
string[]
topic but example is not, somehow confusing.<ul style=...
inline html, proposing to use markdown instead.css_include
the preferred way to import other code now? When to better usecss_import
?css_...
? I guess this should be answered by https://github.com/oleg-shilo/cs-script/wiki/Choosing-Compiler-Engine but doesn't do so yet (also see Script merger for hosted scripts #254). Remember the various past issues related to multi-module scripting (Change request to support relative paths for css_reference #26, Issue with multiple indirect relative paths #71, Recursive //css_import #83,...).css_*
related errors.CLI-Script-Execution.md
csws.dll
- Windows application assembly. Available on Windows only. You may want to use it when executing the scripts that run as a Windows application without console attached.Is this WinForms? Or Win32 native?
CLI---User-Guide.md
CLI-Script-Execution.md
and what inCLI---User-Guide.md
. I think the first should be an overview and all details in the user guide. But this means, the user guide must not refer to the overview, e.g. for "Deployment > Automated".CS-Script---Command-Line-Interface.md
.CS-Script---Command-Line-Interface.md
Is this WinForms? Or Win32 native?
Choosing-Compiler-Engine.md
Roadmap.md
.css_reference
directives? If so, "multi-module" scripting is better suited I think.css_include
/css_import
directives?Broader questions related to hosting:
Is there any suggested procedure for deploying the SDK with a hosting application? Consider my case, where the hosting application allows end-users to write and run the own scripts. So far, there is no need to install the SDK on the end-users machine, the .NET runtime is sufficient. But if the SDK is required, how can this easily be achieved? The 136 MB will blow up the size of the application's installer quite significantly...
Script-Syntax.md
CS-Script-Runtime-Environment-(script-reflection).md
IDE-and-OS-integration
####
.Roadmap.md
_Sidebar.md
Still in the repo but no longer in the Wiki?
C#-6-support.md
Hosting-control.md
which answers the STA/MTA topic mentioned earlier.NuGet-support.md
Roslyn-Integration.md
Using-custom-version-of-Roslyn.md
Uff, that's it, up to you on how to proceed. Let me know in case you'd like me to look at certain content again.
Best regards,
Matthias
The text was updated successfully, but these errors were encountered: