Explains the customErrors element in web.config beyond the Yellow Screen of Death: toggling mode between Off and On, redirecting via defaultRedirect and the aspxerrorpath parameter, and how setting redirectMode to ResponseRewrite keeps the failing URL visible to users. ...
Elmah.io's issue tracker lets you assign log messages to a developer via a dropdown on the message details view; new instances of the same error auto-assign using elmah.io's grouping algorithm, and a My errors dashboard filters by the Assigned To field for building rules. ...
Compares Serilog and log4net for .NET logging, contrasting Serilog's structured logging and C# LoggerConfiguration().WriteTo.File setup with log4net's XML FileAppender and PatternLayout configuration, plus log4net's history as an Apache Foundation log4j port last released in 2017. ...
Third in the Debugging common .NET exceptions series, showing two distinct causes of System.IO.FileNotFoundException: a missing file caught via File.ReadAllText with a full WinIOError stack trace, versus Assembly.LoadFile failing with HRESULT 0x80070002 for a missing assembly. ...
Explains elmah.io country support: log messages get ISO 3166-1 alpha-2 country codes via an IP-to-country database lookup replacing the earlier HTTP-header approach, searchable with country:"US", filterable in Search, shown as flags on message details, and usable in rules. ...
Compares Serilog, created by Nicholas Blumhardt in 2013, with NLog, first released in 2006, covering configuration differences from Serilog's LoggerConfiguration().WriteTo.File to NLog's XML target/rules setup and its C# LoggingConfiguration with FileTarget alternative. ...
Details elmah.io for Startups, which replaced the discontinued Microsoft BizSpark program: eligible companies registered within the last 2 years with under $1M in funding or revenue get a 12-month elmah.io Business subscription for $49 total, a $539 discount, as new customers. ...
Explains ASP.NET Core User Secrets: secrets.json stores per-developer config outside the project at %AppData%\Roaming\Microsoft\UserSecrets\<UserSecretsId>, covers the dotnet user-secrets list/set/remove commands, and shows wiring it up manually via AddUserSecrets. ...
Second in the Debugging common .NET exceptions series, covering System.OutOfMemoryException's two MSDN causes (StringBuilder.MaxCapacity overflow and CLR contiguous-memory failure), then tracking memory with perfmon's # Total committed Bytes counter against a sample List<string> leak. ...