0
Hello, I’m developing a project with .NET Core Razor
, and I have a file structure like this:
When in the browser I go to the Menuprincipal page, the URL looks like this:
I would like, to be more organized, my URL to appear as follows:
If anyone knows if there’s any way to do that, could you give me a hand? Thanks.
Ah, one more thing related... I have the link of a url of a page that I will still create. The Link is this: (I’m not the one who defines this link, I just get it from another file)
https://localhost:44390/Menu/Binaries/Searches/searchersSp1Psearch
This URL for me is cool, but is there any way I can create this file, with this url, without having to create a structure like the one that is indicating the URL? Or I need to create all the same structure is in the URL?
Using (or intending to use) MVC?
– Ronaldo Araújo Alves
@Ronaldoaraújoalves. I am not using or intend to use.
– user153240
Change the file name in the Menuprincipal Menu folder to Index
– Alisson Marqui
it wouldn’t look good, I’ll need to do it not only with this file, but with others as well. I won’t create a folder for each and put all files with Index name. @Alissonmarqui
– user153240