Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Use Razor Pages in MVC area #6926

@marcuslindblom

Description

@marcuslindblom

I'm trying to mix Razor Pages with MVC and by that I mean running a Razor Pages "app" inside an MVC area. So if I run the app below I would like http://localhost:500 to return the standard MVC HomeController Index action. And if I add the area like this http://localhost:5000/app I would like the Razor Pages app to respond. Is this possible?

  • Areas
    • App
      • _Layout.cshtml
      • _ViewImports.cshtml
      • _ViewStart.cshtml
      • Index.cshtml
      • Index.cshtml.cs
  • Controllers
  • Models
  • Views
  • wwwroot
  • Program.cs
  • Startup.cs

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions