Posts

Showing posts from August, 2021

Identity Scaffolding in ASP.Net Core

Todays Achievements:  Looked at Asp.Net Identity, Scaffolding and email sending from Identity   Also found  Duende Software , looks good, and I may be able to get it for free After looking at several options, I'm happier with Azure AD B2C, as it gives a UI to manage users. Authentication and Authorization in ASP.NET Core | Pluralsight  by  Roland Guijt https://4sh.nl/IdentityConfiguration Why:  Currently looking at Azure AD B2C and I'm concerned that it will burn me, wanted to look at other options Also wanted to look at a local authentication option for simpler apps that don't need a multi client authentication system  Gotcha's A SendGrid email I sent from the Auth system was blocked, outlook.com had blocked the ip address.  Seems that Identity Server does require a separate addin "AdminUI" in order to manage users and this is expensive. Questions  More to research about Duende, Identity Server, Azure AD B2C, and maybe even FireBase Aut...

ASP.Net Core on Linux

Image
 Todays Achievements:  Ran ASP.Net Core on Ubuntu Linux, with Identity Support  Why:  Potential for cost savings using Linux VM's over Windows VM's  Also allows for splitting the hosting, ie: SQL Server on one machine and ASP.Net on another, I can get 2 x Linux machine with same spec as a single Windows VM on AWS Lightsail 2 CPU's 4GB RAM 80 GB SSD  US$20 per month - Windows is $40 per month Gotcha's Needs apache to proxy the request to Kestrel Not sure about the proxy to https://localhost:5001 Not sure about the processor overhead of the proxy work.  Questions  Runtime Compilation - Does it slow the app down in production ? Does Reverse Proxy well deployed on Linux need https ? Answer: No, see  Enforce HTTPS in ASP.NET Core | Microsoft Docs In some backend service scenarios where connection security is handled at the public-facing edge of the network, configuring connection security at each node isn't required. Web apps that are generated fr...