No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

13 líneas
419B

  1. import { dotnet } from './dotnet.js'
  2. const is_browser = typeof window != "undefined";
  3. if (!is_browser) throw new Error(`Expected to be running in a browser`);
  4. const dotnetRuntime = await dotnet
  5. .withDiagnosticTracing(false)
  6. .withApplicationArgumentsFromQuery()
  7. .create();
  8. const config = dotnetRuntime.getConfig();
  9. await dotnetRuntime.runMainAndExit(config.mainAssemblyName, [window.location.search]);