-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
21 lines (18 loc) · 775 Bytes
/
Program.cs
File metadata and controls
21 lines (18 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.Net.Http;
using System.Runtime.InteropServices.JavaScript;
namespace Client.Library;
public partial class Program
{
public static void Main(string[] args)
{
Console.WriteLine(".NET Main method entered.");
// You can put any startup logic here like any other .NET application
// alternatively you could expose a class that embodies your app and treat the .NET code as a library.
// For this demo we'll go with the latter, PeopleApp will be constructed from the JS side.
Console.WriteLine($"{nameof(PeopleApp)} will be constructed from the JS side in this demo.");
}
}