Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Pglet for .NET - quickly build interactive web apps in C#, F# or VB.NET

License

Notifications You must be signed in to change notification settings

pglet/pglet-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pglet for .NET - quickly build interactive web apps in C#, F# or VB.NET

Pglet is a rich User Interface (UI) framework to quickly build interactive web apps in .NET without prior knowledge of web technologies like HTTP, HTML, CSS or JavaSscript. You build UI with controls which use Fluent UI React to ensure your programs look cool and professional.

Requirements

  • .NET Framework 4.6.1 or above
  • .NET Core 5 or above on Windows, Linux or macOS

Getting started

Create a new console application:

mkdir hello-world
cd hello-world
dotnet new console

Add Pglet package to your project:

dotnet add package Pglet

Update Program.cs with:

using Pglet;
var page = await PgletClient.ConnectPage();
await page.AddAsync(new Text { Value = "Hello, world!" });

Run the app:

dotnet run

A new browser window will popup:

Sample app in a browser

Here is a local page served by an instance of Pglet server started in the background on your computer.

Make it web

Add web: true parameter to ConnectPage() call:

using Pglet;
var page = await PgletClient.ConnectPage(web: true);
await page.AddAsync(new Text { Value = "Hello, world!" });

This time page will be created on Pglet hosted service.

About

Pglet for .NET - quickly build interactive web apps in C#, F# or VB.NET

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages