Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
48 views

I have an ASP.NET MVC application (on .NET 4.8). Currently, the DevOps team has set up Nginx to handle requests with: location: / and this works fine. Now they want to change the setup so the ...
0 votes
1 answer
41 views

I have a tree structure of nodes, where each node has 0-n subnodes. Each node has a set of properties. I would like to expose that structure in a webservice. let's say my route template for accessing ...
0 votes
1 answer
61 views

I'm using .NET 8.0 and I've added this line of code so that when the url is not found it can go back to the homepage but it's not working. Got several non-informative errors. I might be getting a ...
0 votes
2 answers
211 views

I have the following setup created: app.MapControllerRoute( name: "Product", pattern: "product/{*url}", defaults: new { controller = "Product", action = "...
0 votes
0 answers
72 views

Given one or more controllers (within Areas), named for example CustomerController and OrderController, I would like to be able to route to them using either of the following at interchangeably... /...
0 votes
0 answers
44 views

I am implementing the routing in .net Core 8.0 project. First goal is to redirect any .aspx page request to the latest common page. I have placed these combinations to address all possibilities. it is ...
0 votes
1 answer
65 views

I hope you are doing OK, I have a project that I am updating and streamlining. BTW I am also learning .NET I have the next problem, when I change this: app.UseEndpoints(endpoints => { endpoints....
0 votes
0 answers
44 views

I have a .Net 8.0 MVC project and in my Program.cs file I have the following route set up: app.MapControllerRoute( name: "ArticlePage", pattern: "/{landingSlug}/{articleSlug}", ...
2 votes
2 answers
84 views

I have the action method defined like below: [Route("example-page")] public ActionResult MyAction() { // I want to use "example-page" in here, like a query parameter. ...
0 votes
1 answer
47 views

I am very new to routing in ASP.NET Core. The system I am prototyping has strings with associated names like: /dev/accounting/people = "people string" /test/it/documents = "some it ...
0 votes
1 answer
59 views

In my ASP.NET MVC project, I have areas that have a certain name like Admin but I'd like my route to use iAdmin. For that I use the RegisterArea where I can specify my route, and it work well : ...
0 votes
1 answer
34 views

I have asp.net core app which has admin, Identity and public (non-area) and I have also implemented culture in routes as first parameter app.UseEndpoints(endpoints => { endpoints....
-1 votes
2 answers
492 views

I have project with areas and normal controller in it. But Area routing is working but normal controller is not working. Working, but Areas routing is returning 404 : app.MapControllerRoute( name: ...
1 vote
1 answer
34 views

In Program.cs how do I write app.MapControllerRoute to take / to my HomeController.cs public IActionResult Index() and /CategoryNameHere to my CategoryController.cs public IActionResult Index(string ...
4 votes
0 answers
145 views

I want to write some API with single URL and want to route based on body type like below [HttpPost] [Route("{input: OverloadModelA}")] public IActionResult OverloadInsert([...

15 30 50 per page
1
2 3 4 5
...
277

AltStyle によって変換されたページ (->オリジナル) /