Файли
openidea/fixtures/aspnet-app/Views/Shared/_Layout.cshtml
T
Glitched Polygons GmbH 75ec6c51a3 feat(csharp): Razor / cshtml / ASP.NET Core MVC support (#7256)
Razor (.cshtml/.razor) gets syntax highlighting, Roslyn's built-in Razor support with the HTML parts projected to the HTML language server (ordered open/close, a reserved projection URI, scoped capability registrations), and MVC navigation between controller actions and their views, including explicit View("...") names, subfolders and areas.

Closes #615

Co-authored-by: GlitchedPolygons <[email protected]>
2026-12-02 16:32:46 +08:00

29 рядки
910 B
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>@ViewData["Title"] · Corner Stage</title>
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="~/Ticketing.styles.css" />
</head>
<body>
<header>
<nav>
<a asp-area="" asp-controller="Home" asp-action="Index" class="brand">Corner Stage</a>
<a asp-area="" asp-controller="Shows" asp-action="Index">Shows</a>
<a asp-area="" asp-page="/About">About</a>
<a asp-area="Admin" asp-controller="Dashboard" asp-action="Index">Admin</a>
</nav>
</header>
<main>
@RenderBody()
</main>
<footer>&copy; @DateTime.Now.Year Corner Stage</footer>
@await RenderSectionAsync("Scripts", required: false)
</body>
</html>