English | 繁體中文
A modular .NET framework for building definition-driven business applications.
- Polhem: the framework.
FormSchemadefinitions drive the UI layout, the database schema and validation. A JSON-RPC 2.0 API connects Avalonia (desktop, iOS, Android, browser), Blazor Server and JavaScript clients to the server, on SQL Server, PostgreSQL, MySQL, Oracle or SQLite. The successor of Bee.NET. NuGet - Polhem.JsonRpc: JSON-RPC 2.0 for .NET on System.Text.Json, with a transport-independent server, an ASP.NET Core endpoint and a client, plus optional payload packages for codecs, compression and AES-CBC-HMAC encryption. Polhem builds its API on it, but it does not depend on Polhem. NuGet
- Polhem.OAuth2: lightweight OAuth2 sign-in for .NET, with Google, Facebook, LINE, Microsoft Entra ID, Auth0 and Okta. Desktop and console applications sign in through the system browser; ASP.NET Core and ASP.NET are supported too. The successor of Bee.OAuth2. NuGet
- Polhem.Markdown: Markdown viewers and source editors for Avalonia and Blazor. One Markdig-based package parses the text and applies the safety policy, so both viewers render the same text the same way; each UI package adds a reader with a table of contents and a source editor. NuGet
- Polhem.Chat: an AI chat control for Avalonia and a chat component for
Blazor, on top of any Microsoft.Extensions.AI
IChatClient: streamed replies rendered as Markdown, a live line that shows reasoning and tool calls, per-turn time and token usage, stop and copy. It depends on no model provider. NuGet
Named after Christopher Polhem (1661–1751), whose "mechanical alphabet" taught engineers to compose machines from standard mechanisms.
