Top "Asp.net-core-routing" questions

Questions about routing within ASP.

How to add Web API controller to an existing ASP.NET Core MVC?

I created a project using the default ASP.NET Core MVC template. I would like to also create a RESTful …

c# asp.net-core asp.net-core-mvc asp.net-core-webapi asp.net-core-routing
Can't get HTTP PUT request to work in ASP.NET Core

I'm trying to update an entry in the game table. However, my PUT request in ASP.NET never seems to …

c# angular rest asp.net-core asp.net-core-routing
Asp.Net Core WEB API error 404 calling method

I'm trying create an additional Get method on a web api but the return is 404 ( method not found ). At my …

c# asp.net-core asp.net-core-webapi asp.net-core-routing
NETCORE MVC - How to work with nested, multi-parameterized routes

Looking for best practices when working with nested routes in .NET Core MVC. Let's say CampusController.cs works with a …

c# asp.net-core-mvc .net-core asp.net-core-routing
Get element based on string

I am creating a web api using mvc 6. now i am trying to get a element from my db. the …

c# asp.net-core asp.net-core-routing
ASP.NET Core Attribute routing

I am migrating a project to asp net core, but I could not configure these routes, i am using attributes …

c# asp.net-core asp.net-core-2.0 asp.net-core-routing
Routing in MVC 6

I have a super simple controller with 2 methods: public IActionResult Users(long id) { return Json(new { name = "Example User" }); } public …

c# asp.net-core asp.net-core-mvc asp.net-core-routing