Skip to content

Unable to access created Subfolder or razor page under page in ASP.NETCore #42540

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work]
I can't seem to access any newly created razor page in my Pages folder of the ASP.NET CORE project I am currently working on. The project runs okay with the index showing, but when i added a new folder(Categories) under the pages and added a razor page(Index) under the Categories I can't locate the index page under the Categories even after replacing the privacy under the _layout to be <a class="nav-link text-dark">Categories</a>, clicking the categories just refreshes homepage. I created a "view" razor page directly under the pages folder and I still can't access the view too even after directly trying to access it using "https://localhost:7113/View" it gives me a "This localhost page can’t be found No webpage was found for the web address: https://localhost:7113/View"


Original Comments

Feedback Bot on 6/19/2022, 08:29 PM:

(private comment, text removed)


Original Solutions

(no solutions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Author: Migration Bot 🤖The issue was created by a issue mover bot. The author may not be the actual author.Needs: Author FeedbackThe author of this issue needs to respond in order for us to continue investigating this issue.Status: No Recent Activityarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions