Relative Content

Tag Archive for c#razorroutesasp.net-core-8

ASP.NET Core 8 Razor Pages Routing with Parameter conflicting PageModels

I’m working with ASP.NET Core 8.0.8. I have various models that represent different tables in a connected database. I have a Table.cshtml razor page that will take the name of a table as a parameter (see below) and display all the relevant information from the database associated with the provided table, which works great.