.net how to print to console in con troller code example Example: mvc write to console Debug.WriteLine("My debug string here");