© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•8mo ago•
2 replies
Pyro Cyclone

✅ ASP.NET page help

I have a page under Pages/Servers/Details.cshtml, and this is the code:
@page "{id}"
@model Namespace.Pages.Servers.DetailsModel
@{
    ViewData["Title"] = Model.Server.Name;
}
@page "{id}"
@model Namespace.Pages.Servers.DetailsModel
@{
    ViewData["Title"] = Model.Server.Name;
}
However, when I try to go to /servers/{id}, it can't find the page. What am I doing wrong? (.net8.0)
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ ASP.NET page help (again, ik)
C#CC# / help
8mo ago
✅ Asp.Net Help
C#CC# / help
3y ago
ASP.NET EF help
C#CC# / help
2y ago
Help with asp.net
C#CC# / help
3y ago