Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Problems with creation of correct routes

$
0
0

Hello everybody!

I have some problem. Hope for your help, because I didn't find good information in Internet.

For example, I have page with general sections; every section has subsections; every subsection has its sections; every section has details (for example, only text)

What I want: to see in address line URL like "site/Sections/nameOfSection/nameOfSubsection/nameOfLastSection".

In additional, I can create general sections, subsections and just sections, i.e. I have Create action methods for every Controller. I can generate SLUG for any section.

I don't know, how to organize controllers and to get such URL. I read many posts, but I didn't find solution or this.

Maybe, It's really impossible in ASP. NET Mvc or Core.

Beforehand, Thanks a lot!


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>