This is a viewer only at the moment see the article on how this works.
To update the preview hit Ctrl-Alt-R (or ⌘-Alt-R on Mac) or Enter to refresh. The Save icon lets you save the markdown file to disk
This is a preview from the server running through my markdig pipeline
Wednesday, 12 May 2004
Oké, ik realiseer me dat waarschijnlijk iedereen en zijn/haar moeder dit al weet, maar als je ALLE fouten wilt loggen in een ASP.NET applicatie, dan is de eenvoudigste manier die ik heb gevonden om het te doen in de Global.asax.cs (of welke code erachter zit)... gewoon dit doen:
protected void Application_OnError(object sender, EventArgs e)
{
Exception ex = Server.GetLastError();
if ( ex is HttpException )
{
if (((HttpException)ex).GetHttpCode() == 404)
return;
}
ExceptionManager.Publish(ex);
}
In dit geval is ExceptionManager de Microsoft Exception Manager toepassingsblok...je kunt (en moet echt) dit gebruiken in combinatie met CustomError. De reden dat ik het hier doe is dat ik liever mijn foutpagina platte html... gewoon in het geval er iets echt slecht is gebeurd en een actieve fout pagina zou een fout zelf veroorzaken:-) Ik dacht, ik zal een code posten die je fouten e-mailt met behulp van de EMAB...
© 2026 Scott Galloway — Unlicense — All content and source code on this site is free to use, copy, modify, and sell.