I have a asp.net mvc5 application. I want to prevent search engines spider my site in .net mvc.
Is it enough to create robots.txt in my project (Guess it should not be in my solution) with the following code?
User-agent: * Disallow: /
Solution --Nuget --CompanyProject ----Controllers ----Models ----Views