Dynamically generating robots.txt for ASP.NET Core sites based on environment

added by DotNetKicks
6/21/2019 5:39:20 AM

2 Kicks, 225 Views

I'm putting part of older WebForms portions of my site that still run on bare metal to ASP.NET Core and Azure App Services, and while I'm doing that I realized that I want to make sure my staging sites don't get indexed by Google/Bing.