Community

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

(Scott Hanselman) 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.