Skip to content

Deploy to azure, wwwroot inside wwwroot #1636

@bragma

Description

@bragma

I've build and deployed a default template ASP NET Core 1.0 Web API to an azure Web App and added some static html files inside my project's local wwwroot. After updating the online project, I ended up with the home/site/wwwroot folder containing another wwwroot. While this works, isn't it a bit weird? Is it expected?
In the past I've deployed the app executables to a custom "site/approot" folder and static files to "site/wwwroot" but this caused me a lot of pain with VSTS and other tools expecting to work with wwwroot, in particular with WebJobs.
What's the final expected directory layout of an ASP NET Core application when deployed to Azure?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions