Manage your ASP.NET Template Assets efficiently with our structured workflow, covering requirements identification to deployment and post-deployment adjustments.
1
Define template asset outcome
2
Capture functional and quality requirements
3
Select supported framework baseline
4
Assess legacy platform constraints
5
Design reusable solution architecture
6
Approval: Solution architecture
7
Bootstrap reproducible source repository
8
Implement minimal template foundation
9
Configure environments and secret handling
10
Apply secure application defaults
11
Execute automated test suite
12
Verify dependencies and release integrity
13
Complete independent code review
14
Package documented release candidate
15
Deploy candidate to staging
16
Validate staging operability and rollback
17
Approval: Production release
18
Deploy verified production release
19
Close release and ownership handoff
Define template asset outcome
Establish the business outcome, intended consumers, and accountable owner before technical work begins. Confirm that a reusable template is the right deliverable, link the source repository, and set a release target. Avoid embedding customer data or credentials in the brief; record constraints and assumptions explicitly so later reviewers can challenge them.
1
Windows IIS
2
Linux service
3
Container platform
4
Azure App Service
5
Other managed platform
Capture functional and quality requirements
Translate the outcome into testable acceptance criteria. Separate required template behavior from optional examples, and record security, performance, accessibility, observability, and portability expectations. Use the compatibility table for concrete consumer environments. Reject vague statements such as "fast" or "secure" unless they include a measurable condition.
Select supported framework baseline
Choose a currently supported runtime baseline and document why it fits the maintenance horizon. Microsoft requires supported .NET releases to remain current on servicing patches; prefer an LTS baseline when consumers need a longer support window. Do not reuse the obsolete 5.0 choice from the original template. If a .NET Framework baseline is unavoidable, record the compatibility constraint and complete the legacy assessment that appears next.
1
.NET 10 LTS
2
.NET 11 STS
3
.NET Framework 4.8.1
4
.NET Framework 4.8
5
Other supported baseline
Assess legacy platform constraints
For a .NET Framework target, document the Windows-only dependencies, hosting requirements, and the reason ASP.NET Core is not yet viable. Define a migration trigger so the exception does not become permanent by default. Validate every dependency against the supported operating system and framework combination. Escalate unsupported components instead of silently accepting them.
Design reusable solution architecture
Design the template as a minimal, composable starting point rather than a sample application packed with optional technology. Define project boundaries, extension points, configuration ownership, data access, authentication, authorization, and observability. Keep infrastructure-specific code behind clear interfaces and make safe defaults obvious. Upload an architecture artifact that a reviewer can evaluate without opening the implementation.
Approval: Solution architecture
Will be submitted for approval:
Define template asset outcome
Will be submitted
Capture functional and quality requirements
Will be submitted
Select supported framework baseline
Will be submitted
Design reusable solution architecture
Will be submitted
Bootstrap reproducible source repository
Create or prepare the repository with deterministic build instructions, dependency locking, branch protection, and a clean separation between source, tests, build assets, and documentation. Pin the SDK with an appropriate global configuration when reproducibility requires it. Confirm that a fresh workstation or clean build agent can restore and compile without undocumented local state.
Implement minimal template foundation
Implement the smallest production-credible template that satisfies the approved requirements. Keep example features removable, make extension points discoverable, and ensure generated projects build without hand edits. Do not commit secrets, machine-specific paths, generated binaries, or customer identifiers. Link the immutable commit or pull request used for verification. For a .NET CLI template, define .template.config/template.json and test installation and generation from a clean environment. See https://learn.microsoft.com/en-us/dotnet/core/tools/custom-templates.
Configure environments and secret handling
Separate defaults from environment-specific settings and keep credentials outside the repository. Microsoft guidance says not to place passwords or sensitive values in code or plain-text configuration; use development secret storage locally and a managed secret provider in production. Demonstrate configuration precedence and fail clearly when required settings are missing. Store only sanitized evidence here.
1
Azure Key Vault
2
Cloud managed secret store
3
Container orchestrator secret
4
Operating system protected store
5
Organization approved external vault
1
No findings
2
Findings remediated
3
Approved test fixtures only
4
Exception under review
5
Blocked pending remediation
Apply secure application defaults
Implement secure defaults that consumers inherit: least-privilege authorization, safe error handling, input validation, transport protection, anti-forgery controls where applicable, restricted diagnostics, and dependency hygiene. Map the verification checklist to the applicable OWASP ASVS areas and NIST SSDF practices. Any exception needs an owner, risk statement, compensating control, and expiry. Review static-file roots: expose only intended public assets, keep secrets and configuration outside served directories, and disable production directory browsing. See https://learn.microsoft.com/aspnet/core/fundamentals/static-files.
Execute automated test suite
Run unit and integration tests from a clean environment. ASP.NET Core integration testing should exercise the application through a test host and validate dependencies such as databases, file systems, or network boundaries when they are part of the template. Record failures, eliminate flaky behavior, and keep the exact build and test evidence attached to the candidate commit.
Verify dependencies and release integrity
Inventory direct and transitive dependencies, scan them for known vulnerabilities and license constraints, and produce a software bill of materials when the release process supports it. NIST SSDF recommends mechanisms that let consumers verify release integrity. Create a reproducible artifact, capture its cryptographic digest, and document signing or attestation status. Do not approve unresolved critical findings.
1
Signed and verified
2
Attested and verified
3
Checksum published
4
Exception formally approved
5
Blocked pending integrity evidence
Complete independent code review
Have a reviewer who did not author the change inspect architecture alignment, security-sensitive paths, tests, generated output, and upgrade behavior. Resolve blocking comments and link the final review state. A superficial approval is not sufficient: the reviewer should instantiate the template, build it cleanly, and confirm that documented extension points behave as described.
1
No blocking findings
2
All findings resolved
3
Minor follow-up scheduled
4
Exception formally approved
5
Blocked pending remediation
Package documented release candidate
Package the exact reviewed commit with versioning, change notes, support policy, upgrade guidance, and consumer instructions. Confirm that documentation describes prerequisites, local setup, configuration, testing, deployment, observability, and removal of optional examples. The package identity must remain stable through staging so approval applies to the same artifact later deployed. When distributing through the .NET template engine, package the template as a NuGet template package and test install, generation and uninstall. See https://learn.microsoft.com/dotnet/core/tutorials/cli-templates-create-template-package.
Deploy candidate to staging
Deploy the immutable release candidate to a production-like staging environment using the documented method. Capture deployment logs, configuration validation, database migration behavior if applicable, and the rollback command. Do not promote a locally rebuilt artifact. Verify that staging runs the digest recorded during release-integrity checks.
Validate staging operability and rollback
Exercise consumer setup, core journeys, failure paths, monitoring, and rollback in staging. ASP.NET Core health checks can validate the app and dependencies and inform load balancers or orchestrators during deployment. Record actual evidence for liveness, readiness, logs, metrics, alerts, and recovery. A health endpoint that only returns a static success response does not prove dependency readiness.
1
Completed successfully
2
Completed with follow-up
3
Tabletop validation approved
4
Exception formally approved
5
Blocked by failed rehearsal
Approval: Production release
Will be submitted for approval:
Apply secure application defaults
Will be submitted
Execute automated test suite
Will be submitted
Verify dependencies and release integrity
Will be submitted
Complete independent code review
Will be submitted
Package documented release candidate
Will be submitted
Deploy candidate to staging
Will be submitted
Validate staging operability and rollback
Will be submitted
Deploy verified production release
Promote the exact approved artifact and digest using the controlled production deployment path. Monitor the deployment, confirm health checks, and keep rollback authority available until the observation window closes. If the artifact, configuration, or risk state differs from staging, stop and return for approval rather than treating the change as incidental.
1
Successful and stable
2
Successful with follow-up
3
Rolled back successfully
4
Exception under observation
5
Failed and escalated
Close release and ownership handoff
Complete the observation window, verify consumer documentation and support ownership, and capture follow-up work without leaving ambiguous release debt. Schedule the next runtime and dependency review before support or maintenance deadlines. Close only after the published artifact, repository tag, documentation, and production digest all identify the same release.
Optional cookies and similar technologies support analytics, advertising and visitor identification, and embedded content. Change or withdraw consent in Cookie settings. Cookie policy.