< Summary

Information
Class: AspNetCoreGeneratedDocument.Pages_Index
Assembly: ProjectTemplate.Web
File(s): /home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Web/Pages/Index.cshtml
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 48
Line coverage: 100%
Branch coverage
100%
Covered branches: 4
Total branches: 4
Branch coverage: 100%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
ExecuteAsync()100%44100%

File(s)

/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Web/Pages/Index.cshtml

#LineLine coverage
 1@page
 2@{
 143    ViewData["Title"] = ".NET Core Application Template";
 4}
 5
 6<!DOCTYPE html>
 7<html lang="en">
 8<head>
 9    <meta charset="utf-8" />
 10    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 11    <title>@ViewData["Title"]</title>
 12    <link rel="stylesheet" href="/css/landing.css" />
 13</head>
 14<body>
 15    <main class="landing-shell">
 16        <section class="hero-card" aria-labelledby="landing-title">
 17            <p class="eyebrow">ASP.NET Core Baseline</p>
 18            <h1 id="landing-title">.NET Core Application Template</h1>
 19            <p class="hero-text">
 20                A reusable, production-oriented starting point for secure, maintainable,
 21                and extensible ASP.NET Core applications.
 22            </p>
 23
 24            <div class="feature-grid" aria-label="Template focus areas">
 25                <article class="feature-card">
 26                    <h2>Secure defaults</h2>
 27                    <p>Security headers, forwarded headers, rate limiting, and authentication-ready structure.</p>
 28                </article>
 29
 30                <article class="feature-card">
 31                    <h2>Operational clarity</h2>
 32                    <p>Structured logging, health checks, telemetry, centralized errors, and Problem Details.</p>
 33                </article>
 34
 35                <article class="feature-card">
 36                    <h2>Template ready</h2>
 37                    <p>Documented architecture, CI validation, EF Core patterns, and a path to template packaging.</p>
 38                </article>
 39            </div>
 40
 41            <div class="action-row" aria-label="Project links">
 42                <a class="primary-link" href="https://github.com/cdcavell/NetCoreApplicationTemplate">View Repository</a
 43                <a class="secondary-link" href="https://cdcavell.github.io/NetCoreApplicationTemplate/">Read Documentati
 44            </div>
 45        </section>
 46    </main>
 47</body>
 48</html>

Methods/Properties

ExecuteAsync()