dotnet-script
cs-script
Our great sponsors
dotnet-script | cs-script | |
---|---|---|
20 | 7 | |
2,585 | 1,539 | |
1.3% | - | |
6.6 | 8.6 | |
4 months ago | 15 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotnet-script
-
Google ZX – A tool for writing better scripts
Especially because these languages are only one package/install away and not two. I don‘t really get for which audience is targeted here. Usage in JS projects maybe, but then why not write it as npm tasks. ..
I‘m playing around with dotnet-scripts [1] at the moment (C# shop mainly) and this has the same issue imho. The reason why I looked into it was because we have developers not accustomed to bash etc. I still find it silly and would rather use ruby so…
[1] https://github.com/dotnet-script/dotnet-script
-
Simple PowerShell things allowing you to dig a bit deeper than usual
>making powershell actually enjoyable to use
My solution was to stop using it and instead use dotnet-script
https://github.com/dotnet-script/dotnet-script
Scripting with the full power of modern C# has been a huge win for me. And same/similar scripts will work on Windows/Linux/Mac. As my work language is C#, I don't have to context switch to another language for scripting.
-
REST API using C# .NET 7 with MySql
I usually create a container that has all database migrations and tool to execute those migrations. I name migrations as [yyyyMMdd-HHmm-migration-name.sql] but please feel free to use any naming scheme, keep in mind how the tool would order multiple files to run those migrations. I have also added a wait-for-db.csx file that I would use as the entry point for database migrations container. This is a dotnet-script file and would be run using dotnet-script. I have pinned the versions that are compatible with .net sdk 3.1 as this the version roundhouse is build against at the time of writing.
-
Is it possible to create executable from file instead of project, like java or go?
thanks, this is very good idea too, and with dotnet-script we can publish executable out of the script!
-
dotnet script script.cxs says no dotnet found
It sounds like this is feedback for the author of the dotnet script tool: https://github.com/dotnet-script/dotnet-script
- Administrative Scripting with Julia
-
C# vs Python
Yes, you can have single-file scripts too. There might be more options to achieve this, but the one that I use is running *.csx files via the dotnet-script (https://github.com/dotnet-script/dotnet-script).
-
Why Functional Programming Should Be the Future of Software
I do agree.
I think .Net has got it right. And dotnet-script [https://github.com/dotnet-script/dotnet-script] has been a game-changer for me with a REPL-like experience for unit testing and writing command-line utilities.
- Is PowerShell scripting worth learning?
- What is the/your current/popular choice for dotnet c# scripting ?
cs-script
-
What is the latest on scripting inside of C# (especially for Unity development)?
CS-Script
- [OC] Options for Runtime (Dynamic) Scripting for .NET [C#, Scripting, Modding]
- CSharp script?
-
Visual Studio Code: /bin/sh: line 1: scriptcs: command not found
:: Querying AUR... Repository : aur Name : cs-script Keywords : None Version : 3.28.4.0-1 Description : Run C# sources like scripts URL : https://github.com/oleg-shilo/cs-script AUR URL : https://aur.archlinux.org/packages/cs-script Groups : None Licenses : MIT Provides : None Depends On : mono Make Deps : None Check Deps : None Optional Deps : None Conflicts With : None Maintainer : clofresh Votes : 0 Popularity : 0.000000 First Submitted : Sat 12 Nov 2016 01:56:26 PM GMT Last Modified : Sat 09 Jun 2018 05:18:39 AM BST Out-of-date : No
-
Importing script dynamically in unity
I did something like that in a pure C# game engine using this tool: https://github.com/oleg-shilo/cs-script/wiki
-
Started my C# journey today on MacOS. How do people usually run C# from terminal?
That said, there are some projects like cs-script that provide tools that let you treat C# more like a scripting language and omit that infrastructure. It's just not as feasible or useful as you start to write more complicated application types.
-
C# 9 top-level programs and target-typed expressions
There are third party projects that support this: https://github.com/oleg-shilo/cs-script
What are some alternatives?
.NET-Obfuscator - Lists of .NET Obfuscator (Free, Freemium, Paid and Open Source )
ClearScript - A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).
ScriptCS - Write C# apps with a text editor, nuget and the power of Roslyn!
omnisharp-vim - Vim omnicompletion (intellisense) and more for C#
SSharp - S# is a weakly-typed dynamic language and runtime infrastructure to make your applications extendable, customizable and highly flexible. It allows introducing expressions and large code blocks evaluation within your applications in the similar way Microsoft Office deals with VBScript, gives you possibilities providing rich formula evaluation capabilities like it can be seen in MS Excel and other office applications.
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
ExpressionEvaluator - A Simple Math and Pseudo C# Expression Evaluator in One C# File. Can also execute small C# like scripts
Squirrel - An installation and update framework for Windows desktop apps
lizzie - A script language for .Net and the CLR
AutoUpdater.NET - AutoUpdater.NET is a class library that allows .NET developers to easily add auto update functionality to their classic desktop application projects.