Skip to content

HostingEnvironment.IsHosted and HostingEnvironment.SiteName #7400

@ritchxu

Description

@ritchxu

When migrating an app from .NET full framework to ASP.NET Core (still hosted in IIS with hosting bundle), HostingEnvironment is no longer available. I was wondering what could be the equivalent/replacement for
properties like IsHosted and SiteName?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-http-abstractions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions