---
title: Register style bundles
summary: Build and register the common and Kendo style bundles the consuming application serves.
status: draft
owner: SAIF Documentation
last_reviewed: 2026-09-17
library: SAIF.Framework.Web.Mvc
reference_type: package
operation_id: OP-25
trigger: Consuming application's bundle registration at startup*
---

# Register style bundles

Build and register the common and Kendo style bundles the consuming application serves. Trigger: Consuming application's bundle registration at startup*.

| Field | Value |
| --- | --- |
| **Operation ID** | OP-25 |
| **Trigger** | Consuming application's bundle registration at startup* |
| **Inputs** | `BundleCollection`, virtual path, Kendo version string |
| **Outputs** | `StyleBundle` added to the collection and returned |
| **Primary components** | `BundleExtensions.RegisterCommonStyles`, `RegisterKendoStyles`, `IncludeMany` |
| **Entry point** | `src/Web.Mvc/Extensions/BundleTableExtensions.cs` |

## Steps

1. `RegisterCommonStyles` builds a `StyleBundle` at the supplied virtual path including `~/Resources/Mvc/BusinessOnline/Css/toolbar.css`, adds it to the collection, and returns it ([BR-57](../business-rules.md#br-57-common-style-bundle-always-includes-the-toolbar-stylesheet)).
2. `RegisterKendoStyles` builds a bundle including `~/Resources/Mvc/BusinessOnline/Css/kendo/{version}/kendo.common.min.css` and `kendo.default.min.css`, adds it, and returns it ([BR-58](../business-rules.md#br-58-kendo-styles-are-version-scoped-and-always-include-common%2Fdefault)).
3. `IncludeMany` appends `{baseUrl}/{file}.css` for every supplied file name; the `.css` extension is always added by the helper ([BR-59](../business-rules.md#br-59-bundle-file-names-get-.css-appended-automatically)).

## Process flow

The following diagram visualizes this operation's control flow.

```mermaid
flowchart TD
	Start([Bundle registration at startup])
	Common[RegisterCommonStyles adds toolbar.css]
	Kendo[RegisterKendoStyles adds versioned kendo css]
	Many[IncludeMany appends .css files]
	EndOk([Bundles added to collection])
	Start --> Common
	Common --> Kendo
	Kendo --> Many
	Many --> EndOk
```

## Failure and edge-case behavior

- No unexpected failure paths beyond argument-guard exceptions and delegated dependency behavior were identified for this operation.

## Related documentation
- [Operations and processes](../operations-processes.md)
- [Business rules](../business-rules.md)

> **Note:** Statements marked with `*` were inferred from code structure, naming
> conventions, or contextual evidence where direct confirmation was not available
> in source artifacts. Statements marked with `**` could not be confirmed; treat
> as unknown until verified.


## Sources
- `src/Web.Mvc/Extensions/BundleTableExtensions.cs`
