Define your own session and add your custom field to it Then, you can inject MyAppSession and use it's new property in your project.
see:https://gist.github.com/ismcagdas/6f2a9a3b5d7b907cb8d94a72124d59a1
Server side log file (App_Data/Logs/Logs.txt) should contain a detailed error message, could you check that ?
I haven't actually used it, but I believe the principles are similar. You can check out this article.(Or there are a lot of help articles on google) https://itnext.io/easy-way-to-deploy-a-angular-5-application-to-azure-web-app-using-vsts-pipelines-4a288b9deae1
https://www.google.com/search?q=vsts+build+angular+cli&oq=vsts+build+angular+cli https://www.youtube.com/watch?v=rjkCjPhznvc
This approach seems uncommon, but you can give it a try.
Can you reproduce using the zero demo project? The main problem is that redis has nothing to do with other components.
Are you convenient to share your project source code, let us reproduce this problem?
@Leonardo.Willrich Does it always make this error when you publish it to a production environment?
You can use ci/cd tools, including vsts. The azure platform has good support for this.
There is a related document here: https://devops.com/deploying-into-azure-app-service-using-azure-devops-ci-cd-pipeline/
There is no db context in your PatientPortal.PatientStripePayment. IRepository will not be registered.
Module classes and service classes are best implemented separately.