Distribution of credentials to new users of a system is often done in an insecure way, with passwords being sent over unsecure e-mail. With ASP.NET Identity, the password recovery functionality can be used to create a secure account activation mechanism. The scenario for ASP.NET Identity, in the default MVC template is to let users self… Continue reading Secure Account Activation with ASP.NET Identity
Category: C#
BurstFilter for log4net – How to Save Your Mailbox
This is a guest post by Albin Sunnanbo, introducing a burst filter preventing log4net from filling up a support mailbox. One Friday afternoon, just before leaving for the weekend, I glanced at our support mail inbox. The unread counter was literally spinning. Three mails a second. To make a long story short we had two… Continue reading BurstFilter for log4net – How to Save Your Mailbox
Pickup Mail Viewer
This is a guest post by Albin Sunnanbo introducing a great hack to work with mails in test environments. If you have a .NET application that sends emails, this is probably something for you. TL;DR; PickupMailViewer is a simple web viewer for emails saved by the specifiedPickupDirectory SMTP setting in a .NET application. Download the… Continue reading Pickup Mail Viewer
SAML2 for Thinktecture IdentityServer 3 with Kentor.AuthServices
Using the Kentor.AuthServices SAML2 Service Provider with Thinktecture IdentityServer 3 bridges the gap between SAML2 and OAuth2/OpenID Connect. Thinktecture IdentityServer 3 support clients using the modern OAuth2 and OpenID Connect protocols. It can either have a local account database through e.g. ASP.NET Identity, or use external authentication services. By registering Kentor.AuthServices with IdentityServer, IdentityServer can… Continue reading SAML2 for Thinktecture IdentityServer 3 with Kentor.AuthServices
Internal Classes and Members
What’s the use for the internal access modifier in C#? It’s not as common to use as public, protected or private. It wasn’t until I started some serious stand alone library work that I fully started to appreciate and use internal. All was fine and I was happy with my use of internal. Until I… Continue reading Internal Classes and Members