Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/illinker-test-assets.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'wasm/HelloWorld/Program.cs')
-rw-r--r--wasm/HelloWorld/Program.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/wasm/HelloWorld/Program.cs b/wasm/HelloWorld/Program.cs
new file mode 100644
index 0000000..86aabb0
--- /dev/null
+++ b/wasm/HelloWorld/Program.cs
@@ -0,0 +1,16 @@
+using Microsoft.AspNetCore.Blazor.Hosting;
+
+namespace HelloWorld
+{
+ public class Program
+ {
+ public static void Main(string[] args)
+ {
+ CreateHostBuilder(args).Build().Run();
+ }
+
+ public static IWebAssemblyHostBuilder CreateHostBuilder(string[] args) =>
+ BlazorWebAssemblyHost.CreateDefaultBuilder()
+ .UseBlazorStartup<Startup>();
+ }
+}