Individual skill
orchardcore-websockets
Skill for the CrestApps Orchard Core WebSockets infrastructure module. Covers the dependency-only CrestApps.OrchardCore.WebSockets feature that adds the ASP.NET Core WebSocket middleware to the tenant pipeline, the CrestApps WebSockets configuration section bound to WebSocketOptions (KeepAliveInterval, KeepAliveTimeout, AllowedOrigins), hosting raw WebSocket endpoints, the IWebSocketConnectionRegistry and WebSocketRendezvous contracts for provider callbacks that dial back, in-memory and Redis-backed registries, and host affinity across nodes. Use this skill when requests mention raw WebSockets in Orchard Core, refused WebSocket upgrades, UseWebSockets per tenant, provider media streams that connect back such as Telnyx, WebSocket keep-alive or allowed origins, or callbacks landing on the wrong node. Strong matches include CrestApps.OrchardCore.WebSockets, WebSocketsConstants, IWebSocketConnectionRegistry, WebSocketRendezvous, DistributedWebSocketConnectionRegistry, and WebSocketOptions.
src/CrestApps.AgentSkills/crestapps-orchardcore/orchardcore-websockets/SKILL.md
Source commit d86d04f234b1b2bd8145368a2544490f9d557596
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Instructions only
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 13
- Repository last updated
- Oct 21, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai Repository topic
- ai-agents-framework Repository topic
- dotnet Repository topic
- mcp Repository topic
- mcp-server Repository topic
- orchardcore Repository topic
- devops Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
Read excerpt
# Orchard Core WebSockets - Prompt Templates
## Host Raw WebSocket Endpoints
You are an Orchard Core expert. Generate accurate code and configuration for features that accept raw WebSocket upgrades (`HttpContext.WebSockets.AcceptWebSocketAsync()`) in a CrestApps Orchard Core tenant.
### Guidelines
- The Orchard Core host does not run `app.UseWebSockets()`. Without it a raw upgrade is refused. SignalR does not need it (see `orchardcore-signalr`).
- `CrestApps.OrchardCore.WebSockets` is the single place the middleware is added. It is `EnabledByDependencyOnly`, so it never shows as a toggle; declare it as a dependency of your feature instead of enabling it in a recipe.
- Depend on the contracts in `CrestApps.OrchardCore.WebSockets.Abstractions` (`IWebSocketConnectionRegistry`, `WebSocketRendezvous`), not on the module's host wiring.
- Use unguessable, single-use keys for every rendezvous, and remove the key when the starter times out.
- A live socket cannot move between nodes. Route provider callbacks back to the node that started them.
- Install third-party module packages in the web/startup project.