js-ts-csharp
CliWrap
Our great sponsors
js-ts-csharp | CliWrap | |
---|---|---|
16 | 15 | |
122 | 4,075 | |
- | - | |
0.0 | 8.5 | |
almost 2 years ago | 2 months ago | |
C# | C# | |
- | 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.
js-ts-csharp
-
We migrated to SQL. Our biggest learning? Don't use Prisma
The thing is, if you're comfortable with TypeScript, it's really more or less just a small step to C#.
A small repo here: https://github.com/CharlieDigital/js-ts-csharp
And a practical example of a Playwright web scraper in C# and TypeScript: https://github.com/CharlieDigital/playwright-scrape-api
"Too many keywords" is the weirdest objection to a programming language versus actually using the language to build something practical.
-
Why isn’t dotnet core popular among startups?
[1] https://github.com/CharlieDigital/js-ts-csharp
-
Is it a bad idea to build a marketplace app using .Net core?
Modern C# isn't that big of a lift from TypeScript. If you can write TypeScript, you can write C#. Much easier transition than say Go or Rust. See also: https://github.com/CharlieDigital/js-ts-csharp
-
Ryujinx: Experimental Nintendo Switch Emulator written in C#
> ...this project is a nice showcase how versatile C# and .NET is
C# and .NET are highly underrated/underappreciated because of some early flops and the Microsoft branding.
It's converging with TypeScript in the best way possible[0] and has some really great language features that even TS is lacking (really powerful switch expressions, for example).
It seems like the natural option for teams that want to move from TypeScript to a compiled, multi-threaded, statically typed language but it seems that there's a lot of teams that would rather use Go or Rust; neither of which are as easy to step up to from TypeScript, IMO.
-
I'm on the JS/TS/Node stack is it worth learning another stack (C#)?
Should it be C#? I think the transition to C# is the easiest because of how similar TypeScript and C# are at some levels (small repo here showing the similarities: https://github.com/CharlieDigital/js-ts-csharp)
-
7 Reasons for Startups to Choose ASP.NET Over Node.js
For me, I use TypeScript and C# almost interchangeably now. Most of the patterns I would implement in C# I can also implement in TypeScript. It's very easy to move between them (exhibit A and exhibit B).
-
Ask HN: Examples of Top C# Code?
> C# is VERY different from even just what things were 2 years ago
C# and TypeScript are converging (both from Anders Hjelsberg).
Small repo here showing just how similar they are syntactically: https://github.com/CharlieDigital/js-ts-csharp
I'm surprised we don't see a bigger uptick in C# usage given the growth of TypeScript and how similar the two languages are. If you know C#, it's pretty easy to pick up TypeScript and vice versa.
-
.NET Myths Dispelled
.NET and C# as a platform are evolving extremely fast compared to many other runtimes and languages. In fact, it's kind of been converging with JavaScript and TypeScript. I have a small repo here that highlights this: https://github.com/CharlieDigital/js-ts-csharp
If you stopped working with .NET and C# around version 4, the language itself has transformed.
Local functions, pattern matching, records, and more!
-
25 Years of Friendship
A small repo highlighting some of the common constructs: https://github.com/CharlieDigital/js-ts-csharp
CliWrap
-
ModularPipelines - Strong-Typed, Parallel, C# Pipelines - Would appreciate feedback and thoughts
That being said, keep up the good work. I see a lot of potential in combo with libs like https://github.com/Tyrrrz/CliWrap
-
Why do Task.Wait and Task.Result even exist?
For example, using the great Cli.Wrap library:
-
Add persisted parameters to CLI applications in .NET
We can use Verify to perform snapshot testing and check for the correct output of the program. In order to make things easier and simplify working with process output capturing and invocation, I used CliWrap.
-
I Want Off Mr. Golang's Wild Ride
> You can take a look at System.Diagnostics.Process for one of the worst offenders.
Yeah, this is one of my least favourite APIs in all of .NET. My understanding is that the .NET team is planning to redo it in the next few years, but if you want something better right now I highly recommend the excellent CliWrap library: https://github.com/Tyrrrz/CliWrap
-
Call Console App from API
This is definitely the better solution if it's also .NET. Otherwise I generally recommend using CliWrap because it's the most straight forward to use in my opinion. https://github.com/Tyrrrz/CliWrap
- .NET Myths Dispelled
-
Building a Webpack alternative in F#
This shouldn't be that hard, I just needed a server that well... served the HTML/CSS/JS files right? I went to my desktop, created an F# script added a couple of libraries like Suave and CliWrap so I could call the dotnet fable command from my F# code and make it compile my Fable files.
- Console output window within a winform?
-
Intercepting a program on windows 10
Do you want gcc’s standard output? That’s easy enough. Just launch gcc yourself and hook into the stream. https://github.com/Tyrrrz/CliWrap makes this easier, but vanilla .NET won’t make this too hard either.
What are some alternatives?
Sieve - ⚗️ Clean & extensible Sorting, Filtering, and Pagination for ASP.NET Core
Command Line Parser - The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support
Fluent Command Line Parser - A simple, strongly typed .NET C# command line parser library using a fluent easy to use interface
spectre.console - A .NET library that makes it easier to create beautiful console applications.
CsConsoleFormat - .NET C# library for advanced formatting of console output [Apache]
SharpNetSH - A simple netsh library for C#
CliFx - Class-first framework for building command-line interfaces
UnionArgParser - A declarative CLI argument parser for F#
Typin - Declarative framework for interactive CLI applications
Gui.cs - Cross Platform Terminal UI toolkit for .NET
Bear - Bear is a tool that generates a compilation database for clang tooling.
Docopt - Port of docopt to .net