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