Skip to content

Latest commit

 

History

History

Hosting

Hosting

Hosting provides the entry point for configuring and running your application.

Documentation for Hosting can be found in the ASP.NET Core Web Host and .NET Generic Host in ASP.NET Core docs.

Description

The following contains a description of the sub-directories.

  • Abstractions: Contains the main Hosting and Startup interfaces.
  • Hosting: Contains the default implementations for GenericHost, WebHost, and Startup.
  • Server.Abstractions: Contains the interfaces for Server implementations.
  • Server.IntegrationTesting: Contains classes to help deploy servers for testing across the repo.
  • TestHost: Contains a server implementation for in-memory testing against a server.
  • WindowsServices: Contains methods to run an application as a Windows service.
  • samples: Contains a few sample apps that show examples of using hosting.

Development Setup

Build

To build this specific project from source, follow the instructions on building the project.

Test

To run the tests for this project, run the tests on the command line in this directory.

More Information

For more information, see the ASP.NET Core README.