DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 970,177 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
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)

Update Your DEV Experience Level:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. πŸ›