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
Ymmärrän, että luultavasti kaikki ja hänen äitinsä tietävät tämän jo, mutta jos haluat kirjata ALL-virheet ASP.NET-sovellukseen, yksinkertaisin tapa, jolla olen löytänyt sen, on Global.asax.cs (tai mikä tahansa koodi, joka on takana) vain tehdä näin:
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);
}
Tässä tapauksessa poikkeusManager on Microsoft Expecion Manager -sovellusblokki...voit (ja todella pitäisi) käyttää tätä yhdessä CustomErrorin kanssa. Syy miksi teen sen täällä on se, että mieluummin teen virhesivuni tyhjäksi html... vain siltä varalta, että jotain todella pahaa on tapahtunut ja aktiivinen virhesivu aiheuttaisi virheen itse :-) Ajattelin vain, että lähetän koodin, missä sähköposteissa erehdyt EMAB:n...
© 2026 Scott Galloway — Unlicense — All content and source code on this site is free to use, copy, modify, and sell.