Troubleshoots the ASP.NET Core "White Screen of Death" startup failure with concrete fixes: temporarily forcing UseDeveloperExceptionPage in production, then wiring ConfigureLogging with AddEventLog or an elmah.io sink to surface the real error. ...
Implements Slack's OAuth v2 flow in an ASP.NET Core MVC app: an AuthorizeSlack action redirecting with the incoming-webhook scope, a SlackCallback action exchanging the code via oauth.v2.access, and storing the returned webhook URL to post messages. ...
Resizes an uploaded IFormFile to 256x256 using only System.Drawing.Common's Image.FromStream and Bitmap classes - no ImageSharp needed - then saves the bytes to disk with a FileStream as a simple alternative for basic scenarios. ...
Shows a Gravatar avatar from just an email address using an MD5 hash extension method and the gravatar.com/avatar/HASH URL, including a robohash fallback for missing accounts, then calls Gravatar's JSON API from C# to fetch name and photo data server-side. ...
Announces elmah.io's new Breadcrumbs feature with launch-day support in Elmah.Io.AspNetCore, Elmah.Io.JavaScript, and Elmah.Io.Xamarin, showing manual AddBreadcrumb calls plus the TreatLoggingAsBreadcrumbs option for automatic Microsoft.Extensions.Logging capture. ...
Builds FART (File Association and Rename Tool), a sample CLI using System.CommandLine's RootCommand and nested rename Command with required --input/--output options, then layers in Spectre.Console for colored terminal output. ...
Adds reCAPTCHA v2 to an ASP.NET Core Identity ForgotPassword.cshtml page to block bots from mass-triggering reset emails: scaffolding the page, embedding the g-recaptcha widget with a site key, then verifying the token server-side through a wrapped HttpClient. ...
Turns an unformatted .NET stack trace in a pre/code block into pretty-printed, syntax-highlighted output using the jQuery-based netstack.js library and its st-type, st-method, and st-file CSS classes for custom styling. ...
Adds a newsletter checkbox to ASP.NET Core Identity's Register.cshtml, wiring the MailChimp.Net.V3 package's IMailChimpManager to call Members.AddOrUpdateAsync with Status.Subscribed or Pending for double opt-in, plus notes on handling API timeouts. ...