TheSkyLite.SkyNet 1.0.10

dotnet add package TheSkyLite.SkyNet --version 1.0.10
                    
NuGet\Install-Package TheSkyLite.SkyNet -Version 1.0.10
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TheSkyLite.SkyNet" Version="1.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TheSkyLite.SkyNet" Version="1.0.10" />
                    
Directory.Packages.props
<PackageReference Include="TheSkyLite.SkyNet" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TheSkyLite.SkyNet --version 1.0.10
                    
#r "nuget: TheSkyLite.SkyNet, 1.0.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TheSkyLite.SkyNet@1.0.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TheSkyLite.SkyNet&version=1.0.10
                    
Install as a Cake Addin
#tool nuget:?package=TheSkyLite.SkyNet&version=1.0.10
                    
Install as a Cake Tool

SkyNet Framework

Server-driven web framework for ASP.NET Core / .NET 10.

Write each page as a C# class plus its HTML, CSS and plain JavaScript. The browser posts to your C# method, the method returns an ApiResponse, and the page updates in place without a reload. No SPA, no front-end build.

Install

Install-Package TheSkyLite.SkyNet

or

dotnet add package TheSkyLite.SkyNet

Microsoft.Data.SqlClient and System.Drawing.Common are installed automatically.

Quick start

The easiest way to start is the project template, which already has the folders and Program.cs set up:

https://github.com/hkim6000/ASPNETCoreEmpty.SkyNet

Manual setup

  1. Create an empty ASP.NET Core web project (.NET 10).
  2. Install the package.
  3. Disable hot reload in Properties/launchSettings.json ("hotReloadEnabled": false in your profile).
  4. Add the folders: appConfig, codes, htmls, scripts, styles, images, data, logs, temp.
  5. Add appConfig/application.cfg with the folder names.
  6. Set up Program.cs:
using SkyNet;

var builder = WebApplication.CreateBuilder(args);
builder.Services.AddHttpContextAccessor();

var app = builder.Build();
app.UseMiddleware<IHandler>();

app.UseStaticHttpCurrent();

app.Run();

Hello World

A page is four files with the same name.

codes/HelloWorld.cs

using SkyNet;

public class HelloWorld : WebPage
{
    public override async Task OnInitialized()
    {
        HtmlDoc.SetTitle("Hello World");
        await Task.CompletedTask;
    }

    public ApiResponse SayHi()
    {
        ApiResponse response = new ApiResponse();
        string name = GetDataValue("name");
        response.SetElementContents("hw-text", "Hello World, Hi " + HtmlEncode(name) + ".");
        return response;
    }
}

htmls/HelloWorld.html

<div class="hw-wrap">
    <h1 class="hw-text" id="hw-text">Hello World</h1>
    <button class="hw-btn" onclick="HelloWorldJs.sayHi()">Say Hi</button>
</div>

scripts/HelloWorld.js

var HelloWorldJs = (function () {
    function sayHi() {
        $ApiRequest('HelloWorld/SayHi', JSON.stringify([{ key: 'name', vlu: 'Tom' }]));
    }
    return { sayHi: function () { sayHi(); } };
})();

styles/HelloWorld.css holds the page styles.

Run the app, open /HelloWorld (for example localhost:5000/HelloWorld) and click Say Hi.

License

Proprietary. Free for individuals and organizations with under USD 10,000,000 in annual revenue, including in commercial applications. Others may evaluate it free for 90 days and need a commercial license to use it in production; contact https://www.theskylite.com. Modifying, decompiling or redistributing the framework on its own is not permitted. See LICENSE.txt in the package.

Versions 1.0.7 and earlier keep the license they were released with.

© 2026 HC Kim. All rights reserved.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.10 100 10/31/2026
1.0.9 108 10/24/2026

License updated: the free license now covers individuals and organizations with under USD 10M annual revenue. Others may evaluate the framework free for 90 days and need a commercial license for production use. Versions 1.0.7 and earlier keep their original license.