Перейти к содержимому

SkyNet - Build "Hello World" from scratch in under 5 minutes.

TheSkyLite

0:00 / 0:00

SkyNet - Build "Hello World" from scratch in under 5 minutes.

12 просмотров · 2 нед. назад
TheSkyLite
15 подписчиков
12 просмотров · 2 нед. назад
Build your first SkyNet page from scratch, hand-coded, in under 5 minutes. SkyNet is a server-driven framework for ASP.NET Core / .NET 10. A page is four files with one name: a C# class, its HTML, its JavaScript and its CSS. You click a button, the server answers with an ApiResponse, and the page updates in place without a reload. In this video: SkyNet project folders in Visual Studio application.cfg folder names (app.folders / user.folders) Program.cs: SkyNet as ASP.NET Core middleware Four files, one name: HelloWorld.cs / .html / .js / .css The .cs file can live in any folder under codes (page class names must be unique) How the browser and server talk: page load (GET) and button click (POST) Run it: click → $ApiRequest → SayHi() → ApiResponse → DOM updated Chapters 0:00 Intro 0:03 SkyNet project folders 0:49 application.cfg folder names 1:03 Program.cs – SkyNet as middleware 1:20 Four files, one name 1:37 Any folder under codes 1:57 HelloWorld.html 2:07 HelloWorld.css 2:25 HelloWorld.js 2:45 HelloWorld.cs 3:22 Browser ↔ Server (GET & POST) 4:02 Run it 4:22 Recap 4:28 Project template on GitHub Project template (GitHub): https://github.com/hkim6000/ASPNETCor... Full life cycle: see the previous video, "How SkyNet Works". SkyNet Framework https://www.theskylite.com