aspnet / MetaPackages

[Archived] NuGet meta packages. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
211 stars 109 forks source link

Add HostFiltering to the default web host #261

Closed Tratcher closed 6 years ago

Tratcher commented 6 years ago

Damian didn't want this code in the template so we're putting it in the default builder instead. https://github.com/aspnet/templating/pull/374

It will be disabled by default, it only lights up if you define AllowedHosts as a semicolon separated list in config.

JunTaoLuo commented 6 years ago

@jkotalik tests were modified to check for host filtering as part of their test step.