Skip to content

Add alternative way to specify mvc/rcl area #59515

Open
@iw-stefro

Description

@iw-stefro

We're using the areas functionality in a large project and it seems as in ASP.NET Core we need to have the areas folder structure in place on disk in each library to make it work.

In earlier MVC/Razor version I think this was a publish/deploy task to get the different libraries in the correct structure but now we must have the folder structure 'Areas/Area/Views' for all projects on disk.

To me the additional 'Areas/Area' folders add unneccesary complexity and makes code browsing/searching harder

Suggestion:

(I've tried to do something like this with the @namespace directive but I get AspNetCoreGeneratedDocument.* names which don't work..)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesuntriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions