Файли
openidea/fixtures/aspnet-app/Views/Shared/_ShowCard.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

8 рядки
309 B
Plaintext

@model Show
<article class="card @(Model.Genre == Genre.Comedy ? "card-comedy" : null)">
<h3><a asp-area="" asp-controller="Shows" asp-action="Details" asp-route-id="@Model.Slug">@Model.Title</a></h3>
<p>@Model.Date.ToString("d MMM") at @Model.Venue</p>
<vc:seats-left show="Model" />
</article>