Tuesday, 29 October 2019
.net core & cookies & accessing the username
add auth to the services
tell the app to use auth
create a claim for the entered username
access the username in services by using the IHttpContextAccessor
setting up elmah email notifications & error logging in .net core
Add the elmahcore package
Configure elmah with appropriate options (where logs live, where email goes etc)
tell the app to use elmah
Subscribe to:
Posts (Atom)