Skip to Content
TAdminOverview and modules

TAdmin

On this page

TAdmin is an administration module for applications that own their host. It supplies users, roles, menus, button permissions, authentication sessions, external identity and auditing. The backend uses TouchSocket WebApi; the Vue source module supplies shared pages. Your application owns the network service, application router and credential persistence.

Start with the standalone sample

Get the source from the TAdmin repository  and run from its root. The complete sample requires Windows, the .NET 10 SDK and Node.js 22.12+. Its first build installs and compiles the frontend dependencies.

dotnet run --project samples/TAdmin.Sample/TAdmin.Sample.csproj -f net10.0

Sample address and account · Backend registration · Vue integration · API reference

Packages and responsibilities

Package / projectPurpose
TAdminEntities, services, controllers, authentication, authorization, seeds and administration realms
TWebApiUnified results, validation, anonymous / unwrapped attributes, log projections and DI bridging
TWebApi.GeneratorCompile-time WebApi type collection, JSON metadata and route-related generation
Frontend source web/Shared administration, identity, log and account security pages with host adapters
TAdmin.SampleA complete, independently runnable frontend and backend host

The backend depends on TUtility.App, TORM and TExcel. The frontend uses Vue 3 and Element Plus; see peerDependencies in web/package.json and Vue source integration.

Host boundary

The host owns the HTTP listener, controller registration and frontend routes. Connect authentication plugins, filters, the RPC store and administration services to one container. Supply request, permission, translation and login-scope adapters on the frontend.

Reading path

TaskGuide
Configure databases and a bootstrap accountConfiguration
Implement login, refresh and logoutAuthentication and sessions
Add an API, menu and pageModule example
Extend permissions, modules or realmsHost extensions
Integrate an identity providerOAuth2 / OIDC
Batch administration settings through XLSXConfiguration workbooks
Integrate auditing and log queriesLogging
Use result envelopes and validation filters independentlyTWebApi