Skip to content

Add some additional guides on how to do conditional property values in file-based apps #51017

@jaimewukb

Description

@jaimewukb

Type of issue

Missing information

Description

Add information about conditional property values in file-based apps.

The docs on property declarative does not explain how we can do conditional properties.

This can be useful for things that takes value from environment variables and if missing we can do a sensible default.

Page URL

https://learn.microsoft.com/en-us/dotnet/core/sdk/file-based-apps

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/sdk/file-based-apps.md

Document Version Independent Id

d03da876-f782-a111-02b5-b87b2cedad11

Platform Id

bd9ae45e-1b55-0e01-0514-29c5f6c34d94

Article author

@meaghanlewis

Metadata

  • ID: 61a961dc-3ebf-2a96-a6eb-2e0b62ab909f
  • PlatformId: cc69165e-7f9b-8c59-0b79-2ba09c791e8e
  • Service: dotnet-fundamentals

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions