Home » FAQ » Blazor » General » How do I write warnings or information into a browser console in Blazor WebAssembly?
Warnings or other content can be written in a browser console by using the Console.WriteLine(“content”) method in Blazor WebAssembly.
@code { protected override void OnInitialized() { Console.WriteLine("Blazor is awesome!"); } }
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with