AppSurface Search
API Reference

TagHelpers

Type

AppSurfacePwaHeadTagHelper

Source

Emits AppSurface-managed PWA head metadata for MVC and Razor layouts.

Remarks

Render <appsurface:pwa-head /> inside the document <head> after enabling PwaOptions. The helper emits install metadata only when PwaOptions.Enabled is enabled, emits inert worker path/scope metadata for active worker capabilities, and loads the inert registration helper only when push is enabled. It never registers a worker, displays an install prompt, requests notification permission, or creates a push subscription; the application invokes registration deliberately.

Property

ViewContext

ViewContext ViewContext { get; set; } Source

Gets or sets the view context supplied by MVC.