Skip to content

Newly created website is in Started state #34

@margani

Description

@margani

We realized that when we create a new service here, the created service is in stopped mode and we need to start it later on. We like this behaviour.

But for creating a website here, the created website is in Started state. We don't like this behaviour because our load balancer picks up the site whilst it is not ready resulting in errors.

Can we have the same behaviour for creating websites as we have for creating services (i.e. create them in a stopped state)?

We know that the Powershell command for creating an IIS site do not allow starting in a stopped state. However, we found a solution: We can stop the app pool, immediately after it is created, before then creating the web site (In this way).

This would be a breaking change, that may affect users who assume a new web site will start without a further command. Would you be happy to accept a pull request with such a breaking change?

@taliesins do you have an opinion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions