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

Create IHostingEnvironment and implementation #71

@glennc

Description

@glennc
using System;

namespace Microsoft.AspNet.Hosting
{
    [AssemblyNeutral]
    public interface IHostingEnvironment 
    {
        string EnvironmentName { get; }
        string WebRoot { get; }
    }
}

This interface is the moral equivalent of the IApplicationEnvironment but for web applications. The environment name is the name of the currently running environment and the WebRoot is where the web sever is rooted.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions