DEV Community

Cover image for Impart
William Olsen
William Olsen

Posted on

Impart

Impart is a library that I have been working on for a while now. The primary purpose is bypassing HTML/CSS/JS in creating a functional webpage. Impart allows the developer to create a full website in a single C# script - including hosting. Currently, I am working on events and researching ways of registering them smoothly. I however, am unable to finish this library of techno-wizardry alone. If you are as interested as I am in fighting web standards, consider opening up a request on the repo. If you are unable to contribute though, leaving a star doesn't hurt :)

(find the repo here)

Code Example:

using Impart;

public class Program
{
    static void Main(string[] args)
    {
        Website web = new Website(new Test());
        web.Start();
    }
}
class Test : WebPage
{
    public Test() : base()
    {
        AddText(new Text("Hello World!"));
    }
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)