📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

📚 Interview question

What is platform engineering, and where does Backstage fit? Explain internal developer portals, the software catalog, golden paths and software templates, what it really costs to run Backstage for a .NET organisation, and how you would know whether it is working.

Covers platform engineering and internal developer platforms, Backstage's software catalog (catalog-info.yaml), Software Templates (scaffolder), TechDocs and plugins, golden paths for .NET services, the new backend and frontend systems, self-hosting versus managed offerings, and measuring adoption with DORA and developer-experience metrics.

Senior Theory Advanced backstage cloud-native developer-portal devex golden-paths platform-engineering

🎯 Key points

  • Platform engineering = a team building an internal platform as a product, reducing cognitive load for stream-aligned teams
  • Internal developer portal (IDP front door) vs the platform itself (pipelines, clusters, IaC, policies)
  • Backstage (from Spotify; CNCF incubating since March 2022, still incubating as of November 2026): software catalog from catalog-info.yaml, ownership and dependencies
  • Software Templates (scaffolder) create a repo, pipeline and infra from a golden path in minutes
  • TechDocs (docs as code with MkDocs) and plugins (Kubernetes, Azure DevOps, GitHub Actions, cost, security)
  • Backstage is a TypeScript/React framework you build and run; as of November 2026 the new backend system is stable and the new frontend system has been the default for new apps since v1.49 (March 2026)
  • Costs scale with org size: 1-3 engineers ongoing when self-hosted, frequent upgrades, catalog data quality; managed options (Roadie, Spotify Portal, Red Hat Developer Hub) trade subscription cost for effort
  • Measure: time to first deploy of a new service, template adoption share, catalog completeness, DORA metrics, developer surveys

⏱ 30-second answer

Platform engineering means a team treats the internal platform, pipelines, clusters, IaC, observability and security defaults, as a product for other developers, to cut their cognitive load. Backstage is a CNCF incubating open-source framework, created at Spotify, for building the internal developer portal that sits in front of that platform.

  • Software catalog: every service, API and resource with an owner, from catalog-info.yaml files.
  • Software Templates: golden paths that create a repo, pipeline and infrastructure for a new .NET service in minutes.
  • TechDocs and plugins for Kubernetes, CI, cost and security.

The trade-off: Backstage is a TypeScript/React framework you build, upgrade and staff, often 1-3 engineers ongoing. It only pays off when there are enough teams and services that discoverability and consistency hurt, and when the platform behind it is worth paving.

🗣 Full answer (senior)

How I would answer this in an interview

"Platform engineering is the idea that once you have more than a few product teams, every team rebuilding pipelines, Kubernetes manifests, logging set-up and security scanning is waste and risk. So a platform team builds those as a product: paved, self-service golden paths that are the easiest way to do the right thing, with a product owner, a roadmap and users who are the other engineers. The portal is just the front door to that platform; the value is in the paths behind it.

Backstage is the most common framework for that front door. Its core is the software catalog: each repo has a catalog-info.yaml that says what the component is, who owns it, which APIs it provides and consumes, and what it runs on, so during an incident you can find the owner of pricing-api in seconds. Software Templates are the golden paths: a developer fills in a form, and the scaffolder creates a repo from our .NET service template with service defaults, health checks, OpenTelemetry and a Dockerfile, registers it in the catalog, and wires up the pipeline and infrastructure. TechDocs renders Markdown docs from the repo, and plugins show Kubernetes status, pipeline runs, cost or vulnerability data on each entity page. For example, at [company] we [built a template for new .NET APIs] and the time from idea to first production deploy went from [two weeks] to [under a day].

The mistake I see is treating Backstage as a product you install. It is a framework: a Node.js and React app you fork, build, upgrade monthly and staff, and a .NET-heavy organisation may not have the TypeScript skills. The other mistake is launching a portal with an empty or stale catalog. If the data is wrong, nobody comes back. Start with the golden path that hurts most, keep the catalog generated from code, and measure adoption, not page views."


Platform vs portal

Internal developer platform Internal developer portal (Backstage)
What it is Pipelines, clusters, IaC modules, policies, observability defaults The UI and catalog in front of them
Built by Platform team with infra and security Platform team, often front-end skills
Value Paved, secure, consistent delivery Discoverability, self-service, ownership
Without the other Works but hard to discover A pretty page over nothing

Backstage building blocks

Feature What it does .NET example
Software catalog Components, APIs, resources, systems, owners orders-api owned by team-checkout, provides orders-v2 OpenAPI
Software Templates Parameterised scaffolding with actions New ASP.NET Core API with Aspire service defaults, Bicep and a pipeline
TechDocs Docs as code, rendered per component Runbook and ADRs next to the code
Search Across catalog, docs, plugins Find who owns an Azure resource
Plugins Integrations on entity pages Kubernetes pods, Azure DevOps or GitHub Actions runs, cost

Production example

A [200]-engineer organisation with [150] .NET services adopted Backstage with a managed provider. After [six] months, [80%] of new services came from the template, catalog ownership coverage reached [95%], and median time to first production deploy for a new service fell from [9 days] to [1 day].

🔍 What the interviewer is checking

Checks whether the candidate understands platform engineering as a product discipline and can judge Backstage's cost against the value it delivers.

Green flags

  • Separates the platform (golden paths, infra) from the portal
  • Explains the catalog, templates and TechDocs concretely, with ownership data
  • Knows Backstage is a framework that needs staffing and TypeScript skills, and mentions managed options
  • Proposes outcome metrics such as time to first deploy and DORA

Red flags

  • "Install Backstage and developer experience is solved"
  • Mandatory golden paths with no escape hatch
  • Measures success in page views

📚 Learn in depth

1. Why platform engineering exists

without a platform                          with a platform
team A: pipeline, k8s, logging, scans       team A --\
team B: pipeline, k8s, logging, scans       team B ---+--> golden paths (template, pipeline, IaC, defaults)
team C: pipeline, k8s, logging, scans       team C --/          owned by the platform team
=> drift, duplicated effort, gaps           => consistency, faster start, fewer gaps

The idea comes from Team Topologies: stream-aligned teams deliver features, and a platform team reduces their cognitive load with self-service capabilities. Golden paths are opinionated but optional: teams can leave them, but then they own the consequences.

2. The software catalog

Entities are described in YAML stored with the code:

Component (orders-api) --ownedBy--> Group (team-checkout)
      |--providesApi--> API (orders-v2, OpenAPI)
      |--consumesApi--> API (pricing-v1)
      |--dependsOn----> Resource (sql-orders, Azure SQL)
      '--partOf-------> System (checkout)

Entity providers discover these files from GitHub or Azure DevOps and can also ingest from Entra ID (groups and users) and cloud resources. The catalog's value depends on accuracy, so generate as much as possible and validate in CI.

3. Software Templates

A template is YAML with parameters (a JSON Schema form) and steps (actions). Built-in and plugin actions fetch a skeleton, render it with Nunjucks, publish a repository, register it in the catalog, and can trigger pipelines or open pull requests against an IaC repo. Templates are code: version them, test them, and avoid one-off forks per team.

4. Architecture and versions

Backstage is a monorepo app: a React frontend and Node.js backend plugins, with a PostgreSQL database in production. The new backend system (stable since 2024-25) uses dependency-injected services and modules; the new frontend system became the default for newly created apps in v1.49 (March 2026), with existing apps migrating gradually. Releases come roughly monthly, and staying current is real work.

5. Build, buy or something else

Option Notes
Self-hosted Backstage Full control, cost is people (often 1-3 engineers) and TypeScript skills
Managed Backstage (Roadie, Spotify Portal for Backstage) Hosting and upgrades handled; subscription cost
Red Hat Developer Hub Supported Backstage distribution with dynamic plugins
SaaS portals (Port, Cortex and others) Faster start, less customisation, not Backstage
No portal, just templates and docs Fine for a few teams: dotnet new templates, a wiki and a good README

6. Measuring it

  • Time to first production deploy of a new service.
  • Template adoption: share of new services created from golden paths.
  • Catalog quality: share of components with an owner, on-call link and docs.
  • DORA metrics (deployment frequency, lead time, change failure rate, time to restore) for teams on versus off the paths.
  • Developer surveys (for example SPACE or DX-style questions) every quarter.

Try it yourself

  1. Run npx @backstage/create-app@latest, start it, and register a catalog-info.yaml from one of your repos.
  2. Write a template that scaffolds an ASP.NET Core API from dotnet new webapi output with health checks and a Dockerfile.
  3. Add TechDocs to the component and render a runbook.
  4. Install the Kubernetes plugin against a kind cluster and see pod status on the entity page.
  5. Draft the three metrics you would report to leadership after three months.

💻 Code

A catalog entry for a .NET service and a Software Template that scaffolds a new ASP.NET Core API on the golden path. The skeleton's Program.cs shows what the path bakes in.

# catalog-info.yaml (in the orders-api repo)
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: orders-api
  description: Accepts and tracks customer orders
  annotations:
    dev.azure.com/project-repo: shop/orders-api
    backstage.io/techdocs-ref: dir:.
    backstage.io/kubernetes-id: orders-api
spec:
  type: service
  lifecycle: production
  owner: group:team-checkout
  system: checkout
  providesApis: [orders-v2]
  consumesApis: [pricing-v1]
  dependsOn: [resource:sql-orders]
# template.yaml: golden path for a new .NET API
apiVersion: scaffolder.backstage.io/v1beta3
kind: Template
metadata:
  name: dotnet-api
  title: ASP.NET Core API (.NET 10)
spec:
  owner: group:platform
  type: service
  parameters:
    - title: Service details
      required: [name, owner]
      properties:
        name: { type: string, pattern: '^[a-z0-9-]+$' }
        owner: { type: string, ui:field: OwnerPicker }
  steps:
    - id: fetch
      action: fetch:template
      input: { url: ./skeleton, values: { name: '${{ parameters.name }}', owner: '${{ parameters.owner }}' } }
    - id: publish
      action: publish:azure
      input: { repoUrl: 'dev.azure.com?organization=contoso&project=shop&repo=${{ parameters.name }}' }
    - id: register
      action: catalog:register
      input: { repoContentsUrl: '${{ steps.publish.output.repoContentsUrl }}', catalogInfoPath: /catalog-info.yaml }
// skeleton/src/Program.cs: what every service on the golden path starts with
var builder = WebApplication.CreateBuilder(args);
builder.AddServiceDefaults();          // OpenTelemetry, health checks, resilience, service discovery
builder.Services.AddProblemDetails();

var app = builder.Build();
app.UseExceptionHandler();
app.MapDefaultEndpoints();             // /health and /alive for probes
app.MapGet("/", () => Results.Ok(new { service = "${{ values.name }}" }));
app.Run();

⚠ Common mistakes

  • Mistake: Treating Backstage as a product you install and forget. Why it is wrong: It is a framework you build and upgrade roughly monthly; unmaintained portals rot. Instead: Staff it as a product, or pay for a managed offering.
  • Mistake: Building the portal before the platform. Why it is wrong: A UI over inconsistent pipelines and hand-made infrastructure adds a page, not value. Instead: Pave the most painful golden path first, then expose it through the portal.
  • Mistake: Launching with a manually maintained, half-empty catalog. Why it is wrong: Wrong ownership data during an incident destroys trust, and people stop using it. Instead: Generate entries from repos, sync groups from Entra ID, and validate catalog-info.yaml in CI.
  • Mistake: Making golden paths mandatory with no escape hatch. Why it is wrong: Teams with real edge cases work around the platform and resent it. Instead: Make the path the easiest option, allow documented deviations, and learn from them.
  • Mistake: Ignoring the skills mismatch in a .NET organisation. Why it is wrong: Backstage plugins are TypeScript and React; nobody can extend or debug it. Instead: Budget for those skills, choose a managed distribution, or pick a SaaS portal.
  • Mistake: Measuring success by portal page views. Why it is wrong: Visits do not show that delivery got faster or safer. Instead: Track time to first deploy, template adoption, catalog completeness and DORA metrics.
  • Mistake: Letting templates fork per team. Why it is wrong: Fixes to the golden path no longer reach existing services. Instead: Version templates centrally and ship updates to existing repos through automated pull requests.

🏛 Senior insight: trade-offs

The senior answer separates the platform from the portal and starts from pain, not tooling. If engineers cannot find who owns a service, a catalog helps. If new services take two weeks to reach production and each one is configured differently, a golden path helps. Backstage is one way to deliver those, and it is a significant engineering investment; for an organisation with five teams, dotnet new templates, a shared pipeline template and a well-kept wiki may give 80% of the value.

The cost does not scale linearly with benefit. A self-hosted Backstage needs roughly the same core effort (build, upgrades, auth, plugins) whether 30 or 300 engineers use it, so for a [40]-engineer company 1-2 engineers is a large share of capacity, while for a [400]-engineer company it is a rounding error against the time saved. Small organisations should buy (managed Backstage or a SaaS portal) or wait; large ones usually justify self-hosting and custom plugins. For a .NET organisation, the practices that make it work are: keep the golden path itself in .NET terms (a dotnet new template package with Aspire service defaults, health endpoints, OpenTelemetry and analysers, published to an internal NuGet feed, which the Backstage template wraps rather than duplicates); generate catalog-info.yaml and OpenAPI-based API entities from the build so providesApis stays true; sync owners from Entra ID groups; and ship template updates to existing repos with automated pull requests so services do not drift.

Option When it fits Cost When not to
Self-hosted Backstage 20+ teams, platform team with TypeScript skills, heavy customisation 1-3 engineers ongoing, monthly upgrades Small orgs, no front-end skills
Managed Backstage or Red Hat Developer Hub Want Backstage's ecosystem without running it Subscription, some limits on customisation Strict self-hosting requirements
SaaS portal (Port, Cortex) Want catalog and scorecards quickly Subscription, less extensible, data leaves your tenancy Need deep custom plugins
Templates + wiki, no portal Few teams and services Low Discoverability and ownership already hurt

Measure before and after: time to first production deploy, template adoption, catalog ownership coverage, DORA metrics, and a quarterly developer-experience survey. If those do not move within two or three quarters, the problem is the platform behind the portal.

🔗 Follow-ups the interviewer may ask

  1. When: Candidate mentions golden paths or service templates Why: Checks they can define what a golden path for .NET services should enforce.
    How to answer

    My checklist has seven areas: stateless and disposable (any replica can be killed), health (startup, readiness and liveness probes with distinct jobs, plus graceful shutdown that fits the grace period), telemetry (OpenTelemetry logs, metrics and traces, an SLO and alerts), resilience (a timeout on every outbound call, the standard resilience handler, idempotent message handlers), configuration and secrets (validated options, managed identity, Key Vault), security (non-root chiseled images, scanning, least-privilege identity, private networking) and operability (resource requests, an autoscale rule, an owner and a runbook).

    I enforce it with a paved road, not a document: a service template and shared service-defaults package that make the right thing the default, plus a few automated gates in the pipeline and Azure Policy. The trade-off is standardisation versus team autonomy, so I gate only what protects production.

  2. When: Candidate mentions a platform team owning the developer experience Why: Checks how they fit developer tooling choices like Aspire into an existing platform team's offering.
    How to answer

    I'd split Aspire into four parts that can be adopted separately: local orchestration (AppHost), service defaults, integration testing with the testing builder, and deployment (publish/deploy).

    On a platform-owned Kubernetes cluster, the platform's Helm and GitOps stay the source of truth, so the usual answer is: adopt Aspire for the inner loop, service defaults and tests, align telemetry with the platform's OpenTelemetry Collector, and don't let Aspire deploy to the cluster. Its generated Helm chart is a reference at most.

    Run-time lock-in is low because services read plain IConfiguration and send OTLP. The real costs are the learning curve, keeping up with releases, and a second topology model that can drift from production manifests. I'd decide with a time-boxed pilot, measured on onboarding time and local failures, and record it in an ADR.

🛠 Real-world problems: how you handle them

A portal nobody used because the catalog was wrong
Situation
A [120]-engineer organisation with [90] .NET services launched a self-hosted Backstage portal after [four] months of work; catalog entries were created by hand in a spreadsheet import.
Signals
Weekly active users fell from [70] in launch week to [8] after two months; during two incidents the listed owners were wrong; teams kept creating services by copying old repos.
Investigation
Interviewed [ten] engineers and checked portal analytics; compared catalog owners against Entra ID groups and on-call rotations and found [35%] mismatches; found the template produced a service missing the current pipeline and health checks, so teams avoided it.
Resolution
Immediate: removed stale manual entries and generated catalog files into every repo through automated pull requests, synced groups from Entra ID. Real fix: rebuilt the .NET API template on the current golden path (service defaults, pipeline, Bicep), and made it the fastest way to production.
Prevention
CI validation of `catalog-info.yaml`, a scorecard of ownership and docs coverage, template tests in the pipeline, and quarterly developer surveys plus time-to-first-deploy as the portal's success metrics.

How to tell it (STAR)

**S:** We launched a developer portal and within two months almost nobody used it; the owners it showed were wrong in [a third] of cases. **T:** I was asked to decide whether to rescue it or shut it down. **A:** I talked to engineers and checked the data: the catalog was hand-maintained and the template was out of date, so it was slower than copying an old repo. I generated catalog files from repos, synced ownership from Entra ID, rebuilt the .NET template on our current pipeline and defaults, and set adoption metrics instead of page views. **R:** Within [two] quarters [75%] of new services came from the template, ownership was [98%] accurate, and time to first deploy dropped from [eight days] to [one].

More in Optional Advanced Tools

Last updated 23 Nov 2026.

🌐 Sangam's Webring

⏪ Previous 🏠 Main Next ⏩
💬 Chat with me