title: .gitignore for asp.net razor project
body: <p>I'm learning asp.net core 2.0 and I've created a new project with the command <code>dotnet new razor -o myworkingdir</code>.</p>
  
  <p>I want to put this project into a git repository, and I'd like to know what I have to write into the <code>.gitignore</code> file in order to avoid to commit useless things.</p>
  
  <p>What's an example of a <code>.gitignore</code> file for a new asp.net Razor project?</p>