Extension points
Shape requests, pages and startup.
Veva core · Veva.Web
builder.BuildVeva() gives you the host. Modules load themselves, pages route by wildcard, and the editor, the admin API and an MCP endpoint come with it. Everything else is a package.
What it does
BuildVeva() sets up routing, sign-in, static assets and the setup wizard, on SQL Server or PostgreSQL.
A module is a class that implements IModule. It registers services, components, hooks and endpoints.
EditorBrowsable properties become settings, AgentHint tells AI agents what a component is for.
A theme sets the layout, breakpoints, CSS classes and colour palettes. Templates hold its settings.
Bind {_PageTitle}, a query string value or a document field into any text, in every render mode.
An MCP endpoint at /mcp gives AI agents the editor's tools, with the same permissions.
How a request is served
01
Every path outside /_, /veva, /api and /library is a page address.
02
The page is found, then routing rules run for redirects and other addresses.
IRoutingRule03
Page request hooks and the theme add the layout, scripts and meta tags.
IPageRequestHook04
The layout renders the template's areas. Each component runs through its render hooks.
IContentRenderHook05
HTML in the page's render mode: prerendered, interactive, or static for bots.
ComponentRenderModeFor developers
BuildVeva() replaces the Blazor boilerplate. Your own code goes in modules, which Veva finds and loads at startup.
Shape requests, pages and startup.
using Veva.Web; var builder = WebApplication.CreateBuilder(args); var app = builder.BuildVeva(); app.Run(); // A module of your own, found and loaded at startup public class MyThemeModule : IModule { public string Name => "My Theme"; public int Priority => (int)ModulePriorityEnum.Default; public void ConfigureServices(IServiceCollection services, IConfiguration configuration) { services.AddNamed<ITheme, MyTheme>(Name); } }
Keep reading
The unit every feature of Veva is built from.
Read the guideLayouts, breakpoints and CSS classes.
Read the guideThe widths the designer previews.
Read the guideMore of Veva
Each one is a package. Reference it, restart, and its components are in the editor.
Compose pages from components, then preview and publish
OpenStructured content you list, filter and serve anywhere
OpenOne media library, with images sized on request
OpenCrawl, index and search the whole site
OpenData sources, sign-in, mail, analytics and media
Open