Portekoi
Portekoi

Reputation: 1147

MVC and Sub or Sub Sub Folder

I have to migrate an Asp Intranet.

But, when i look for create an MVC Intranet, i realise that i can't do that :

For Example, in the Area "Folder 1"

/Folder1/Home (In Real : /Folder1/Controller/HomeController.vb) /Folder1/Application/Agency/Home (In Real : /Folder1/Controller/Agency/HomeController.vb) /Folder1/Application/Agency/Edition/MyAppEdition/Home (In Real : /Folder1/Controller/Agency/Edition/MyAppEdition/HomeController.vb)

is it possible to do that? Or in MVC, it's not recommanded and i have to create only to Sub Folder like "/Folder1/View/MyApp" ?

Thank'

Portekoi

Upvotes: 0

Views: 158

Answers (1)

Joe Ratzer
Joe Ratzer

Reputation: 18549

In MVC your URLS do not map to file or folder locations.

They are controlled by the specified routes.

You'd need to setup your routes to get the URLs you want.

Upvotes: 1

Related Questions