Serilog Dependency Injection and Easy IP Logging
We demonstrate how to inject references to Serilog, the wildly popular .NET logging framework, and we show how to inject an IP-logging variation for website ...
We demonstrate how to inject references to Serilog, the wildly popular .NET logging framework, and we show how to inject an IP-logging variation for website ...
Azure Functions don’t have a clearly-defined lifecycle, so it appears difficult to safely cache and release objects that are expensive to create but require ...
We show how to turn an Azure Function dependency injection experiment into a reusable library for any Azure Function V1 project.
Adding dependency injection to class libraries in .NET Core 2.0 is almost as easy as DI in ASP.NET, but class libraries may require a few extra tricks that a...
There are many interesting and tricky concerns surrounding user login, logout, and identity management. We’ll take a look at common and uncommon scenarios an...
Handling sign-out correctly can be complicated, and the behavior of ASP.NET Core’s SignOutAsync method is not always obvious. We’ll examine one common scenar...
Users expect a persistent login to “just work” as soon as they reach the website, and landing pages rely on user authentication to vary what the user sees (“...
This article demonstrates storing and retrieving X.509 certificates to Azure Key Vault. This is useful for ASP.NET Core’s Data Protection feature, as well as...
This post will examine how to enable SSL for localhost and how to use it with IdentityServer4 and an ASP.NET Core 2 client.
Production sites should always require SSL, and developing those sites is easier if localhost supports it – ideally without those annoying browser warnings. ...