Closed ralpholazo24 closed 4 years ago
There's are no special considerations when deploying the solution to Azure; it's a standard .NET Core solution.
Similar question was already asked and answered here: https://github.com/jasontaylordev/CleanArchitecture/issues/80#issuecomment-605941356
I did experiment with the deployment with the backend is MS SQL SaS to Azure from Visual Studio 2019 Community. Here are the steps
Issues I ran into
Disclaimer - The above instructions are for development proof of concept only.
For my updates, I can now deploy the app on Azure VM using IIS but I am experience error if I am trying to log in.
I have an error when calling the connect/token api.
Here are my parameters.
The form data looks right. 400 error is tricky as it could be on the client and server. Maybe clear cookie and also check the IIS server log.
Have you configured IdentityServer correctly for the environment? https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity-api-authorization?view=aspnetcore-3.1#deploy-to-production
You might have more luck on StackOverflow, which is the best forum for questions like this.
Hi @ralpholazo24 To share my experience, i've got the same issue on Azure and not locally. After some investigations i found that my Current Plan for the App Service (shared free instance) does not allow me to read my certificate file in order to sign the token. This is a limitation by Microsoft, one of the solutions is to upgrade to basic plan
https://github.com/dotnet/runtime/issues/30658#issuecomment-523987878
Regards
Closing (as covered in #80), but I promise to write a guide soon. ❤
Is there any tutorial on how to deploy this on microsoft azure?