Go to this link: https://dotnet.microsoft.com/en-us/download
Download the .NET 9.0 version
Open VSCode
In command palette, type: .NET: New Project and click it
Select: ASP.NET Core Web App (Model-View-Controller)
Create a folder named wwwroot and add index.html or add the editor where you require
Inside the file add:
1<body>
2 <iframe
3 id="tetrons-iframe"
4 src="https://product.tetrons.com/embed"
5 style="width:100%; height:100vh; border:none;"
6 allow="clipboard-read; clipboard-write; microphone; camera"
7 ></iframe>
8</body>In Program.cs add the following:
1var builder = WebApplication.CreateBuilder(args);
2var app = builder.Build();
3
4app.UseDefaultFiles(); // Looks for the html file
5app.UseStaticFiles(); // Enables serving from wwwroot
6
7app.Run();Run: dotnet run, or
Using live server, or
Directly open the html file from file explorer
