Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

125
Views
¿Cómo usar WebAssembly para ejecutar un programa C# CLI del lado del cliente con archivos?

Quiero ejecutar ac # cli con argumentos de línea de comando del lado del cliente a través de una página web. He mirado algunas otras implementaciones como WebAssembly ffmpeg. Como ejemplo, quiero poder hacer algo como esto:

JavaScript del lado del cliente:

 const program = createCSharpCLI(); await program.load(); await program.run("first line ", " second line"); const file = program.FS("readFile", "file.txt") console.log(file.readAsText()) // output: "first line \n second line"

Programa.cs:

 using System.IO; using System.Threading.Tasks; class TestClass { static void Main(string[] args) { // Write a file containing arguments. await File.WriteAllLinesAsync("file.txt", args); } }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!