projects

dotnet-html-gen

var doc = document(

โญ Canonical โ€” this is the single source of truth for this project.

Overview

Field Value
Name dotnet-html-gen
Tier ๐Ÿ“š Learning & Experiments
Description var doc = document(
Visibility ๐Ÿ”’ Private
Fork No
Last activity ย 
Status โœ… Archived
Original source Github
Original owner guneysus
Language C#
Type Library (.NET)
Size Small
Idea HTML generation library for .NET with fluent API
Idea score 70
Impl score 55
Rating 64

๐Ÿ’ก Core Idea

var doc = document(

๐Ÿ” Code Snippet

var doc = document(
    doctype(

    ),

    head(
        title()
    ),
    body (
      h1(

      ),
      p(

      ),
      a().href().text(),
      
      a(href="", text=""),
      
      a(
          img(

          )
      )
    )
);

public class HtmlDocument {

}

public static class html {
    public static HtmlDocument document();
}

Archive Origins


โ† dotnet-how-to-debug-source-generator-vs2022 extension-methods โ†’

Generated by scripts/generate.py ยท Back to index