Skip to content

Add unbranded C# emitter to the website playground - #6063

Merged
JoshLove-msft merged 3 commits into
Azure:mainfrom
JoshLove-msft:joshlove-msft-unbranded-playground-emitter
Nov 11, 2026
Merged

JoshLove-msft merged 3 commits into
Azure:mainfrom
JoshLove-msft:joshlove-msft-unbranded-playground-emitter

Conversation

@JoshLove-msft

@JoshLove-msft JoshLove-msft commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Adds the unbranded @typespec/http-client-csharp emitter to the Azure website playground's additional packages, following up on #6060.

Like the Azure C# emitters, its import map is loaded only for the latest compiler version. It is listed last so it appears at the bottom of the emitter dropdown; all of these packages map the shared @typespec/http-client peer to the same version (0.17.0).

Validation

Tested in a browser against a local website on http://localhost:3000:

  • Both the unbranded and Azure C# emitters generate clients, and the unbranded output contains no Azure references.
  • Historical versions (0.73.x) do not show the additional C# emitters.
  • If the unbranded import map is missing, the playground and the Azure emitter still work.

Note: the C# generation server's CORS allowlist does not include the default dev origin 127.0.0.1:4321, so local C# emission only works from an allowed origin such as localhost:3000. Production (azure.github.io) is allowed.

--generated by Copilot

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@azure-sdk-automation

Copy link
Copy Markdown
Contributor

You can try these changes here

🛝 Playground 🌐 Website

@JoshLove-msft
JoshLove-msft added this pull request to the merge queue Nov 11, 2026
Merged via the queue into Azure:main with commit 371fcab Nov 11, 2026
30 checks passed
@JoshLove-msft
JoshLove-msft deleted the joshlove-msft-unbranded-playground-emitter branch November 11, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

meta:website TypeSpec.io updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants